We help IT Professionals succeed at work.

Reset local admin passwd

patron
patron asked
on
Need to understand if any how we can reset  Local Admin Password with min efforts on win 2003,2008 and 2012 ?

this is case when we have forgot the single local Admin password on Win 2003 Server.

So how can we get this reset..and can we use same method  for win 2008 and win 2012
Comment
Watch Question

Sebastian TalmonSystem Engineer Datacenter Solutions
Commented:
You could use the Passwort reset tools included in the Microsoft Diagnostic and Recovery Toolset (http://www.microsoft.com/de-de/windows/enterprise/products-and-technologies/mdop/dart.aspx) - they are included in Software Assurance benefits, but you should also find trial versions on the Internet if you do not have software assurance
Top Expert 2016
Commented:
in a domain using a domain admin account on that machine
net user administrator newpassword#1

not on a domain,and not encrypted drives i.e. bitlocker
use pogostick http://pogostick.net/~pnh/ntpasswd/ or any other bootable media, boot into the media. at the command prompt go to the windows\system32 directory of the machine in question and execute the following commands
ren utilman.exe utilman.exe.bak
copy cmd.exe utilman.exe
Remove the DVD and reboot the system.

Once the computer boots up normally, press the key combination Windows Key + U and you should get a Command Prompt. If the Command Prompt doesn't appear, press Alt+Tab as the Command Prompt may appear behind the Logon screen. From here, you can run many (if not all) of the commands you can normally use in Command Prompt.
Resetting an Existing Users Password

WARNING: If you reset a users account password. This will permanently lose access to the users encrypted files. Be sure to back these up.

To reset an existing users password, we need type the text below. In this example, we will be changing JohnDoe’s password to “hunter2″.
net user JohnDoe hunter2
You should be able to log in with this new password straight away.
If you dont know what the username on the system actually is, you can see a list of the users by typing:
net user
Creating a New User Account
To create a new user account in the Command Prompt (Username: NewGuy. Password: abc123), and add them to the Administrators usergroup type:
net user NewGuy abc123 /add
net localgroup Administrators NewGuy /add
Again, you should be able to login straight away with this new account.
Reverting Changes
To restore utilman.exe, in the Command Prompt type in:
C:
cd windows\system32
del utilman.exe
ren utilman.exe.bak utilman.exe
Then reboot the system.
To remove the new user account you just created earlier, type in:
net user NewGuy /delete

http://bit.ly/1D1RUXw
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
I would use popgostick as recommended by @David Johnson.
patronTechnical consultant

Author

Commented:
Thanks.