Link to home
Start Free TrialLog in
Avatar of Geigerkd
GeigerkdFlag for United States of America

asked on

Change administrative password on multiple machines

I am trying to use the pspasswd tool.   I am not good at Syntax and I am having a difficult time trying to change the Admin password on domain computers.  Please Help
Avatar of Shift-3
Shift-3
Flag of United States of America image

Enter all of the target computernames into a text file, one per line.  Save it as c:\computers.txt for this example.  Log into your machine under a domain account which has administrator rights on the computers.  Then go to the command line and run the following:
pspasswd @c:\computers.txt administrator <newpassword>

Alternatively you could use this vbscript to change the local administrator password on all domain computers:
http://www.microsoft.com/technet/scriptcenter/resources/qanda/jul07/hey0703.mspx
Avatar of Geigerkd

ASKER

I get: 'pspassed' is not recognized as an intermal or external command, operaple program or a batch file??  I typed it exactly as you stated.  Any Ideas?
Well for one it's pspasswd, not pspassed.  For another you'll need to be in the same directory as pspasswd.exe if it's not in the path.

It might be simplest to copy pspasswd.exe into C:\Windows first.
Excuse me, I did type in correctly in the cmd.  I will try the copy to windows - thanks
Alright, I have copied the pspasswd.exe into windows and I have extracted the files.  I still get that the pspasswd.exe is not recognized as a command.
ASKER CERTIFIED SOLUTION
Avatar of Shift-3
Shift-3
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial