We are going to look at a solution to reset the password on a local Windows account, this will not work for Microsoft account (use the Microsoft password reset form) or an Active Directory account (contact your network administrator).

Enter your PC BIOS and set the computer to boot from CDROM (or usb key) and insert a bootable Windows Installation Media.

At the Windows Setup screen press Shift+F10 to bring up a command prompt.

We are going to replace the Ease of access utility from the login screen with the cmd.exe command prompt and then reboot the machine.

x:\>move d:\windows\system32\utilman.exe d:\windows\system32\utilman.exe.bak  
        1 file(s) moved.

x:\>copy d:\windows\system32\cmd.exe d:\windows\system32\utilman.exe  
        1 file(s) copied.

x:\> wpeutil reboot  

Once Windows has rebooted and you are at the login screen click the Ease of access button (highlighted below), which should bring up a command prompt.

We will use this administrative prompt to create a new "neonrecovery" user and give them administrative permissions, followed by another reboot.

C:\Windows\System32> net user neonrecovery /add  
The command completed successfully.

C:\Windows\System32> net localgroup administrators neonrecovery /add  
The command completed successfully.

C:\Windows\System32>  

Next reboot the computer by clicking the Power button in the bottom right of the login screen, and selecting restart. Once you click through to the login screen you should now see the new user account that we created in the previous steps.

Select the recovery account, it should let you straight in with no password. As we have given the account administrative permissions you should be able to follow the standard method of resetting the passwords.

Start > Control Panel > User Accounts > User Accounts > Manage another account > select the account > Change Password

If you wish to keep the recovery account then you should set a password for it.

You will want to perform the steps described at the start of this document in reverse to replace C:\Windows\System32\utilman.exe with C:\Windows\System32\utilman.exe.bak once your password has been recovered.