Wednesday, 30 March 2016

How to Reset Your Forgotten Domain Admin Password on Server 2008 R2

How to Reset Your Forgotten Domain Admin Password on Server 2008 R2

image
Forgetting your password is always a pain, but luckily there’s an easy way to reset your Domain Administrator password. All you need is a copy of the Windows Server 2008 R2 installation disk and one simple command line trick.

Replacing Utilman.exe

Boot off the Windows disk and select the “Repair your computer” option from the lower left-hand corner.
image
Follow through until you get to the option to open the Command Prompt, which you’ll want to select.
image
First you’ll want to type in the following command to backup the utilman.exe file:
MOVE C:\Windows\System32\Utilman.exe C:\Windows\System32\Utilman.exe.bak
image
Now you will need to copy cmd.exe and rename it Utilman.exe:
COPY C:\Windows\System32\cmd.exe C:\Windows\System32\Utilman.exe
image
Now you can go ahead and reboot your machine. When its done booting up again and you are at the Logon screen click on the Ease of access icon.
image
I bet you weren’t expecting that open a command prompt  Smile To change the password type:
net user administrator *
Once you press enter you will asked to set a new password and then confirm it, when entering your new password don’t worry if you can’t see them as you type, they are invisible, they are however being remembered.
image
Once you’re logged in again don’t forget to delete Utilman.exe and then rename Utilman.exe.bak back to plain old Utilman.exe.

Resetting Administrator Password in Windows 2012

  1. Boot from the Micrsoft Windows Server 2012 DVD
  2. From the Windows Setup menu, click “Next”.
  3. Select “Repair your computer”
  4. Under Choose and option, click on “Troubleshoot”.
  5. Under Advanced options, click “Command Prompt”.
  6. At the command prompt, run the following commands: d:
    cd windows\system32
    ren Utilman.exe Utilman.exe.old
    copy cmd.exe Utilman.exe
  7. Close the command prompt and then click “Continue”.
  8. The server should now boot and present the logon screen. Here click Windows Key + U.
  9. At the prompt you can now change the password, by typing the following command: net user administrator Password123 This will set the password for the Administrator user to be Password123 (case sensitive).
  10. Closing the command prompt, you should now be able to log back onto the server using the password you have provided in the last step.