How to Reset a Forgotten Windows User Password

Techie     January 2022

Introduction

It’s rather uncommon to forget your windows login password but sometimes you may find yourself in that situation. If you ever find yourself locked out of your own computer, then worry not because you can actually hack into it and reset the password.


Procedure

1 . Power up your computer and at the first appearance of the logo, force it to shutdown by pressing and holding the power button.


2 . Incessantly repeat step 1 above until system restore starts. You will see the message “Diagnosing your PC” followed by “Preparing automatic repair”


3 . Click on “Advanced options”


4 . Next click on “Troubleshoot”


5 . Next click on “Advanced Options”


6 . Next click on “Command Prompt”


7 . On the command prompt type “regedit” and press the enter key to open the Registry Editor.


8 . In the Registry Editor, click on the directory “HKEY_LOCAL_MACHINE” to make it the current selection and then click on “File” on the top left corner.


9 . Click on “load hive”


10 . Find System32 Directory


11 . Find the file “SYSTEM” in config directory and double click on it.


12 . Type a key name in the load hive prompt. This will be the name of a folder that we’re going to use in the next step. Click “Ok”


13 . Open the folder we’ve just created, find the sub-folder “Setup”, click on it and find the file “CmdLine” on the right section of the window.


14 . Double click on the file “CmdLine” and in the window that opens type “cmd.exe” in the value data input field and click “Ok”


15 . Double click on the file “SetupType” and in the window that opens type “2” in the value data input field and click “Ok”


16 . Click on the directory we created (1234) to make it the current selection and then click on “File” on the top left corner and click “Unload Hive” followed by “Yes”.


17 . Close all the windows including the command line.


18 . Click on “Continue”. The system will automatically restart.

19 . Upon restarting, the command line will open. Type “net user” and press enter to list the user accounts on your machine. Then type “net user [the_account_name] * “. (NB: If your account name contains several separate words, enclose the account name in quotation marks)

20 . Follow the password reset prompts and either leave it blank or input a new password then close the command prompt by typing “exit” followed by pressing the enter key. The system will restart and now you are able to login.


Thanks for reading, see you in the next one!