Solved

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

Posted on 2007-11-19
2
841 Views
Last Modified: 2008-11-12
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.
0
Comment
Question by:DilbertW01
2 Comments
 
LVL 57

Expert Comment

by:Pete Long
ID: 20313490
Change All Local Admin Passwords


Change Local Administrator Password Remotely
 Download the utility 'cryptpwd' from :
http://www.jsiinc.com/dl/cryptpwd.zip

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.
From http://infocenter.cramsession.com/TechLibrary/GetHtml.asp?ID=1373&CatID=267
-------------------------------------------------------------------------------------------------------------------------------------------------------------
For a VB Solution see http://www.experts-exchange.com/Security/Win_Security/Q_20946526.html
http://www.microsoft.com/technet/community/scriptcenter/user/scrug74.mspx

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

Also see
Program: ResetPW.EXE: Remote Password Change Utility
http://wettberg.home.texas.net/resetpw.htm

Pspasswd
http://www.sysinternals.com/ntw2k/freeware/pspasswd.shtml
0
 
LVL 6

Accepted Solution

by:
Ahmed Abdel Salam earned 500 total points
ID: 20314232
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

HTH
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now