Win XP systems in a domain - changing local administrator password globally

I am in charge of a Windows 2003 R2 server domain with Windows XP clients.  The desktop engineer recently resigned, so I am reverse engineering some of his work.  Is there a way to globally change the local administrator password on all the Windows XP clients?

As a bonus item, I would like to be able to change the local administrator name too.  He had already changed it to something other than Administrator.  I would like to change it again if possible.
Who is Participating?
Ahmed Abdel SalamConnect With a Mentor Ph.D. CandidateCommented:
to change the local administrator name,
you can create a group policy with the following.
computer configuration
windows settings
security settings
security option
raname administrator account

to reset passwiord for local administrator.
create a startup script as the following
copy the following to notpad, save file as .cmd
net user youruser newpassword

ad the file to startup scripts in computer configuration

Pete LongTechnical ConsultantCommented:
Change All Local Admin Passwords

Change Local Administrator Password Remotely
 Download the utility 'cryptpwd' from :

Now just create a text file containing all your server and client names
(e.g. serverlist.txt) and then create a batch file with the following line :

FOR /F %%x in (serverlist.txt) do cryptpwd -m \\%%x -P newpassword

(where newpassword is the password you want to set as the
local administrator password on the servers.)

(You obviously need to have admin. rights to the servers in order
to change the password.)
This method changes the password immediately.
For a VB Solution see

For a WMI Solution see http:Q_21098121.html#11852516

Also see
Program: ResetPW.EXE: Remote Password Change Utility

All Courses

From novice to tech pro — start learning today.