Command line utility to remotely grant local admin to specific domain users
Posted on 2003-11-14
We have around 200 PCs. Almost all running W2K. Some still NT 4.0 sp 6
For a reason which is too long to explain here, we need on each of these PCs to add a specific user say U1 from a specific trusted domain says D1 (this is not the domain's PC) in the local administrators group of the PC.
"Manually" it is not very difficult to do, running tool like usrmgr.exe, selecting the PC etc etc... and doing that remotetly of course.
But you imagine ? 200 PCs to do !
I was thinking of doing it still remotely but with a command line utility where I could specify the machine name etc...
I know some tools that works but NOT remotely, locally. Placing this in the login script was a first idea, but only few people are themselves local admin so the tool will not work...
Any idea ?