Resetting windows server 2012 R2 local administrator or any local user passwords

  • Boot the server with the original windows media (You can obtain original media directly from MS for free as a 180 days free Evaluation: https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2 )
  • Click “Next” on the first setup screenwin2012R2_setup_screen
  • Then click “Repair your computer”win2012R2_setup_screen2
  • Then click “Troubleshoot”win2012R2_Troubleshoot
  • And “Command Prompt”win2012R2_Troubleshoot_Screen
  • Then in Command Prompt enter the following commands (In most cases the drive should be C and not D like in the example):win2012R2_CMD
  • Eject the windows media and reboot the server back to the lock screen
  • From the lock screen you can either click WIN + U in the keyboard or just click the “Ease of access” button in the welcome screen, This will try to open the ease of access executable (Utilman.exe) which is actually right now cmd.exe and will run it with highest privlages:win2012R2_Welcom_Screen
  • From that cmd window you can just use: “net user administrator NEWPASSWORD”, but in case the administrator name was changed you can also do what I showed in the screenshot to first find the administrator name:win2012R2_cmd_Reset_Pass
  • Don’t forget to reinsert the media, boot into Troubleshooting again and do the following in CMD (Otherwise you will not have “Ease of access” anymore):win2012R2_CMD_renBack
  • Good Luck!
This entry was posted in Windows, Windows servers. Bookmark the permalink.

Leave a Reply