• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 279
  • Last Modified:

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
0
Geigerkd
Asked:
Geigerkd
  • 3
  • 3
1 Solution
 
Shift-3Commented:
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
0
 
GeigerkdAuthor Commented:
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?
0
 
Shift-3Commented:
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.
0
 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

 
GeigerkdAuthor Commented:
Excuse me, I did type in correctly in the cmd.  I will try the copy to windows - thanks
0
 
GeigerkdAuthor Commented:
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.
0
 
Shift-3Commented:
If you're having trouble running the command, drag the icon for the file pspasswd.exe onto the black command prompt window.  This will fill in its full path and filename.
0

Featured Post

A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now