The method below will work on most Windows computers, assuming you have not disabled Sticky Keys. However, it will block your access to all encrypted files and saved passwords on your computer. Consider these OS-specific methods first:  Windows XP Vista Windows 7  Windows 8. Insert your Windows install disc, then restart your computer. You may need to wait a short time. " You may need to select your language first and click Next.  This is on the list of recovery tools. Sticky Keys is an accessibility mode enabled when you press Shift five times. Enter this code in the Command Prompt line to rewrite this shortcut for another purpose:  Type copy c:\windows\system32\sethc.exe c:\ and press enter, replacing the "c" with the letter of the drive wherever "c:" appears. Enter copy /y c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe, again using the correct drive letter. Wait for the login screen to load. This will trigger Sticky Keys — except, because of your adjustment, it should open Command Prompt instead. In the Command Prompt window, enter net user followed by your username, then a new password. Type a space in between "user" and your username, and between your username and password. You should be able to log in to that user account with the password you just set.
Check for other options first. Boot your computer from a Windows install disc. Click "Repair your computer. Select the operating system to repair, Make a note of the drive the operating system is installed on (usually C or D). Open Command Prompt. Enter the code to overwrite the Sticky Keys shortcut. Exit command prompt and reboot the computer. Tap Shift five times. Alter your password. Log in.