Today in this article we will teach you how to reset window 7 login password. It may happen sometimes you forgot your window password or you might help some of your friends how to get rid of this trouble.
Forgetting your password makes your day very hectic and also might ruin your valuable time.
How to reset window 7 login password
This file is the original sticky keys file. Lets create a backup of the file first. Then we are going to make an update, we would need to place it in a right folder after the work is done.
open command prompt bye hitting
window key + R and type the below code inside your command prompt.
copy c:\windows\system32\sethc.exe c:\
The above code is performing a copy action of
sethc.exe from the system32 folder to the root directory of c drive.
After that you would need to replace the
cmd.exe. To do this type the following command code into your command promt screen.
copy c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe
Above code is performing an action of replacing
sethc.exe file with
Now lets restart the system.
Reset window 7 login password via command line
Just to reset the password, type the below code into your command prompt. Try replacing “Santosh” and “MyNewPassword” with your own desire.
net user Santosh MyNewPassword
Here you go. Now you can login with the username and password you have set up for.
hat’s all there is to it. Now you can login.
Optional: Don’t forget to do this.
As told earlier, when the work is done you would need to place the
sethc.exe in its actual directory. In order to keep the file in its own directory, you can do by rebooting into the installation CD, opening the command prompt and copying the
sethc.exe back to its own folder.
c:\sethc.exe file back to c:\windows\system32\sethc.exe
Thank you for reading this article. 🙂