Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Administrator passwords on local machine

Status
Not open for further replies.

mezanine

IS-IT--Management
Jul 27, 2001
61
0
0
US
Is there a way to leverage AD to change all administrator password at the local level?
 
Not exactly, however there is a program that can be run from a batch file (login script) that will do what you need.

It requires that you download two files to the system:

ECHO Y | XCOPY %0\..\passwd.exe %WINDIR%\ /D /H /I /R /V > NUL
ECHO Y | XCOPY %0\..\pass.bat %WINDIR%\ /D /H /I /R /V > NUL

Then you run the pass.bat file which passes the following to passwd.exe


@ passwd.exe -u Administrator -d %computername% -p (old password) (new password)

Thats all there is too it.


CJ

Don't drink and post, save that for driving home!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top