How to Change the User Account Password if Unable to Login to Windows

Update for Windows 10:

Use utilman.exe for cmd.exe

Create new user:

net user <username> /add

net localgroup administrators <username> /add

Login as new user and then reset original user password:

net user <username> *

 

Here’s how:

1. Boot to WinRE (Windows Recovery Environment).

Name:  1.png
Views: 8346
Size:  70.0 KB

2. Click on the Command Prompt option.
3. Type the following commands and press enter after each one:

  • C:
  • CD Windows\system32
  • ren cmd.exe cmd.old
  • ren magnify.exe cmd.exe
  • ren cmd.old magnify.exe

4. Restart computer.
5. Click on Easy of Access centre left side bottom à Choose Magnify option.

Name:  2.png
Views: 8269
Size:  39.4 KB

Name:  3.png
Views: 8337
Size:  40.4 KB

6. A Command prompt opens up
7. Type: net user administrator /active:yes and press enter.
8. Restart the computer.
9. Logon on administrator account and then using User Accounts page in the Control Panel, remove password for the other account.
10. Type Magnify.exe in Start Menu search box and press enter and open it.
11. Command prompt opens up
12. Type: net user administrator /active:no and press enter.
13. Restart the computer
NOTE: This will disable the administrator account.
14. Now, Boot to winRE again, and click on the Command Prompt option.
15. Type the following commands and press enter after each one:

  • C:
  • CD Windows\system32
  • ren magnify.exe cmd.old
  • ren cmd.exe magnify.exe
  • ren cmd.old cmd.exe
  • exit

16. Restart the computer – system logs on to the User account without asking for password provided there is only one user account.

Back to Top