Solved

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

Posted on 2007-11-19
2
844 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

Suggested Solutions

If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

734 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