Reseting Windows Password via CMD
This “guide” requires a ISO of a Windows Version equal or greater then the one being fixed. (eg.: For Windows Server 2008, you need a Windows Server 2008 OR newer).
- Boot the device with the ISO
- Click on “Computer Repair Options”
- Click Next (if you get an error, ignore)
- Click on “Elevated Command Prompt”
The plan now is to replace the “utilman.exe” with “cmd.exe” so once we reboot we can click on the “Accessibility Options” in the login screen to get an elevated command prompt.
copy D:\Windows\System32\Utilman.exe D:\Windows\System32\Utilman.exe.bak copy D:\Windows\System32\cmd.exe D:\Windows\System32\Utilman.exe
Reboot the system and wait until the login screen appears. Click on the “Accessibility Options” to get your elevated command prompt then reset the local account password with:
net user Administrator *
You can now try to login.
Don't forget to reboot with the ISO one last time, as to replace “Utilman.exe” with “Utilman.exe.bak”
copy D:\Windows\System32\Utilman.exe.bak D:\Windows\System32\Utilman.exe