Step 1: Boot from installation CD.
Step 2: Go to Command Prompt.
1. Computer displays the Install Windows window. Click on Next.
2. Select Repair your computer.
3. Windows 7 will be listed on the System Recovery Options dialog. Click Next.
4. Select Command Prompt.
Step 3: Run commands.
1. Type copy c:\windows\system32\sethc.exe c:\f and then hit Enter. It will display 1 files(s) copied.
2. Type copy /y c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe and then hit Enter. It displays 1 file(s) copied again.
3. Type exit and hit Enter to close the Command Prompt dialog.
4. Take out the installation CD and reboot your computer.
Step 4: Reset Windows 7 administrator password.
1. Now your Windows 7 will start normally. When you come to the log-on screen, press Shift key 5 times to bring up the sethc.exe dialog.
2. Type net user and then hit Enter. It displays “The command completed successfully.” which means you have successfully reset your password.
Take the picture shown as an example, the password for the administrator named Fuzi has been set as 1220.
1. If you are not sure your username, just type net user and hit Enter. It will display all user accounts on your Windows 7.
2. After password reset, do not forget to put the original sethc.exe file back. Just reboot your computer from the installation CD again and follow the same steps above to open Command Prompt. Then run the command copy /y c:\sethc.exe c:\windows\system32\sethc.exe.