Changing local Administrator account password

R

Richard

All,

How can I change the local "Administrator" password on some 500+
workstations without having to visit each machine. Is there a script or
batch file that can be created and run via GPO in active directory? Or
third party tool? Your response is greatly appreciated.
 
P

Pegasus \(MVP\)

Richard said:
All,

How can I change the local "Administrator" password on some 500+
workstations without having to visit each machine. Is there a script or
batch file that can be created and run via GPO in active directory? Or
third party tool? Your response is greatly appreciated.

If the file c:\PCs.txt contains a list of every PC then
you can run this command from your own PC:

for /F %a in (c:\PCs.txt) do psexec \\%a net user admin NewPassword

psexec.exe is available from www.sysinternals.com.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top