28 February, 2012

Reset Your Forgotten Windows Password

** copied verbatim from my good friend Mark Dan's excellent blog http://blog.callageek.com.au **


Forgetting your password is never any fun, but luckily there’s a really easy way to reset the password.
All you need is a copy of the Windows installation disk and one simple command line trick.
Resetting Your Forgotten Windows Password
Boot off the Windows disk and select the “Repair your computer” option from the lower left-hand corner.
image
Follow through until you get to the option to open the Command Prompt, which you’ll want to select.
image
First you’ll want to type in the following command to backup the original sticky keys file:
copy c:\windows\system32\sethc.exe c:\
Then you’ll copy the command prompt executable (cmd.exe) over top of the sticky keys executable:
copy c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe
image
Now you can reboot the PC.

Resetting the Password
Once you get to the login screen, hit the Shift key 5 times, and you’ll see an administrator mode command prompt.
image
Now to reset the password just type the following command, replacing the username and password with the combination you want:
net user Mark NewPassword
image
Now you can login with your new password.