Archive

Archive for the ‘Windows’ Category

How to Change Multiple ‘Administrator’ Passwords ?

July 9th, 2006 No comments

In a NetAdmin’s life, one of the recurring headache is to change the Local Administrator password on all the machines in the Domain; I had to do it and this is how I did,

Very Simple;

Go to http://www.sysinternals.com/Utilities/PsPasswd.html and get the pspasswd utility.

The above link won’t work since Microsoft acquired them, so the link would be http://www.microsoft.com/technet/sysinternals/miscellaneous

Then just run it this way;

Make a text file, lets call it ‘file’ and put in your machine names one by one into it.

pspasswd @file Administrator <newpassword>

Run it with domain administrator privilege and you are done. Just create a batch file and keep it for future.

Batch File:

pspasswd @file Administrator %1

Save the above into ‘change.bat’ and invoke it as ‘change.bat <newpassword>’

Categories: Windows Tags: