diskpart exitYou will see a list of your disk partitions, from which you can easily find your Windows installation partition. Usually it is the C drive but if it is a different one, make sure to use that throughout the rest of the tutorial. Enter this command to exit the DiskPart tool:
Next enter these command one by one (make sure to replace C in the first command to the appropriate drive letter for your Windows partition, if it’s different in your case):
net userThe name of your account will be different from what’s shown below. It will generally be any account other than Administrator and Guest. We will be using the exact name of your user account in the next commands, so note it carefully
Enter this command, replacing WAQAx with the name of your user account, as shown above:
net user WAQAx *
You will now be asked to enter your new password. When you type the password, the curser will not move and no characters will appear, which means you won’t see the password being typed. Rest assured though that it is there, so make sure you enter the letters carefully. After you enter it, you will be asked to confirm it again; simply type the same password again.
Enter this command to exit the Command Prompt window:
exitYou should now be able to login to your PC with the new password.
Don’t go away yet – you still need to revert the changes you made to cmd.exe and Utilman.exe files. Boot into the Repair disk again using the same process and bring up the Command Prompt window as before. Then enter the following commands one by one, replacing ‘C’ with the drive letter of your Windows partition:
ren Utilman.exe.original Utilman.exe
ren cmd.exe.original cmd.exe
shutdown -r -t 00