Reset Windows 7 admin Password

This post is for those who forget their administrator password for windows 7 OS

1.) Boot the pc to a usb live cd ( i use ubuntu)

2.) go to windows>system32> folder. Search for a file named Sethc.exe and rename it to Sethc_bkp.exe

3.) Copy the file named cmd.exe from the same directory system32 to an external folder(for example to desktop).

4.) Rename the copied file (here in desktop) from cmd.exe to Sethc.exe

5.) Copy and paste the renamed file Sethc.exe (from desktop) to the system32 folder.

6.)Restart PC and boot to windows normaly.

7.) When the login screen appears, click 5 times the "shift" key. A new cmd window will appear.

8.) type "net user username *"  without appostraphe on that command line. Here you need to replace "username" with the name administrator user account of your PC.
for example if the administrator user name is "bucolic"  the command will be
net user bucolic *

9.) click "enter" key and you will be asked to type the new password. Confirm the password by typing it again.

Thats it. Now you can login to your administator account with the new password.

Comments

Popular posts from this blog

CDbConnection failed to open the DB connection mysql 8

/bin/sh^M: bad interpreter: No such file or directory Linux

Send mail from Oracle Solaris OS with attached files