Have you forgotten your PC password??? It happens quite seldom but there are many ways to recover it. I will now explain a method that would be used by a professional hacker to get access to your PC. The method is straightforward and you will need your Windows 7 disc. Windows 7 disc has all the tools your will need to get log into your PC and change your password.
The method that I will use here contains a real life hack. The Sticky Keys executable will be replaced by a command prompt. In this way we will be able to open the command prompt without logging in.
Steps for password recovery:
Boot from a windows 7 DVD:
In order your Windows user account password, firstly boot your computer form the Windows 7 disc. When you will turn on your PC, you will be given and option to boot form DVD. At that time press any key form your keyboard to boot form DVD. After loading the installation files, Windows will show you language setup page. Form here; select your country to set up your keyboard.
The next thing you will have to do is to click on ‘repair your computer’. The repair software will examine the hard disk’s boot table to check the current Windows 7 to repair and will show it you. Then click on the ‘next’ for continuing the recovery process.
Replace the sticky keys with the command prompt:
Enter these commands in the command prompt. C: copy c:\windows\system32\sethc.exe c:\ and copy c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe. After entering these commands, if you are prompted, then you have to confirm the second command and type yes. The first command I wrote, backs up a file while the second one replaces that file with the command prompt.
Reset your password:
After doing this all remove the disc and reboot your PC. When the login screen appears, press the “shift key” five times in a row. The command prompt will appear. Now enter this command Net user <name> <new password>. Now replace the account’s name to reset and type a suitable password and close the command prompt. Now enter the new password to login.
Restore the sticky keys.exe file:
The final step of the password recovery is to restore the “sethc.exe file” which we overwrote previously. For doing this, go into the start menu and then into accessories. Right click on the command prompt and select ‘run as administrator’. Then go into the start menu and then in to the accessories. Then right-click on “command prompt” and select the option “run as administrator”. Then enter this command in the command prompt Copy c:\sethc.exe c:\windows\system32\sethc.exe.