Here I am just creating one scenario by using the Hyper-V to create one virtual machine with Windows server 2012 R2 and have set a password for the local administrator And just consider I have forgot my password and I could not login using my administrator credentials
So, we no need to download or purchase the password recovery tool to reset the user password, by default Microsoft has been given the password reset option in the windows OS itself, just we need to use the repair option from your operating system installer.we just require the .iso format OS file.
On below image, you can see that I have mentioned that Boot from the CD and I have mapped the .iso file
Now I am just booting my machine and installing the new Operating systemJust click the next button on the OS installer
Below you can see the option to Repair your computer, just click it and it will take you to the new window called options- Rename the Utilman.exe to Utilman.exe.old by using the “ren” command. Ren is nothing but rename
- Then copy the Utilman.exe to the command prompt to execute the password reset command
Once the machine has successfully rebooted it will take you to the authentication windows, here just click Window + U to open the command prompt and Just type net user, this command will help you to identify who are all having the profile on this system
On below you can see, I have Administrator, Guest and krbtgt profiles And type net user Administrator ************ ( here Welcome@123 is my new password)
Conclusion
We just enabled the command prompt at the login window to reset the administrator password, you can do the same in the user's desktop by opening cmd prompt.
No comments:
Post a Comment