Don’t know how to reset Windows Administrator password from Hyper-V? We can help you.
Forgetting the password can frustrate us that too when we forget the administrator login. The administrator account has the privileges to manage other accounts on the server.
As part of our Server Management Services, we assist our customers with several Windows queries.
Today, we’ll see how our Support Engineers reset the Windows Administrator password for them.
Requirement before resetting the administrator password
In order to begin, our Support Techs suggest the requirement of an ISO image.
ISO image is a disk image of an optical disc. It is the archive file that contains information that is written to an optical disc.
An iso of a windows OS needs to be present in the server host of the Virtual Machine. We can download the ISO file from the internet.
How to reset Windows Administrator login
Before proceeding, we shut down the VM from the Hyper-V manager.
From the setting, we attach the ISO file from “CD/DVD drive”. We go to the “Firmware” option and move “DVD Drive” to the top.
After making the changes our Support Engineers turn on the Virtual Machine.
Here, we click on Next -> Repair your computer.
After that, we click on troubleshoot. Within it, we select the Advanced option.
Then we click on the command prompt.
When the command prompt opens up, we move to the location where the Windows installation is present.
It is likely to use the C drive for Windows installation. This may not always be c:\ because the local disk may mount at a different drive by the Boot Disk used to install windows.
Once we determine the drive, we use the below command to move to the system32 folder.
cd windows\system32
There are two files that can open the Ease of Access option. The file names are osk.exe and utilman.exe. Then we determine the file and take a copy of the file using the command:
copy /v osk.exe osk.exe-BAK
OR
copy /v utilman.exe utilman.exe-BAK
After that, we change cmd.exe to osk.exe or utilman.exe as appropriate. In order to do that, we run:
copy /v cmd.exe osk.exe
OR
copy cmd.exe utilman.exe
Now we reboot the server to the regular OS.
Once the server is up, we find the Ease of Access button on the Windows login screen.
Here, we select the On-Screen Keyboard from the options. This will open the command console instead, where we run:
net user Admnistrator Newpassword
Finally, we will receive a successful message. Then we exit the command prompt and login into the server using the new password.
Once logged in, we open a command prompt and we revert back the changes made.
[Need assistance to reset the password? We’ll help you.]
Conclusion
To conclude, today we saw how our Support Engineers reset the forgotten Windows Administrator password from Hyper-V using an ISO file.
0 Comments