You will get back into a Windows PC when the local account password is lost, using the recovery environment and Command Prompt. It suits home users who can reach the sign-in screen and use a local account, not a Microsoft account. Keep your BitLocker recovery key handy.
YouTube video: How to Reset Forgotten Windows Password Without Data Loss! 💻🔓
Caption availability is unknown. Check the CC control in the YouTube player.
- Video length
- 1 min 19 s
- Time to do it
- 20 minutes
- Difficulty
- Medium
- Steps
- 10
What you need
Steps
At the sign-in screen, hold Shift and click Power, then Restart. If you cannot reach that screen, start the PC and hold the power button during boot three times to trigger recovery.
In the recovery menu, choose Troubleshoot, then Advanced options, then Command Prompt.
Type diskpart and press Enter, then list volume. Note the letter of the drive that holds your Windows folder, often D: or E: in recovery, then type exit.
Back up the accessibility tool by typing copy d:\windows\system32\utilman.exe d:\windows\system32\utilman.exe.bak and pressing Enter. Change the drive letter if yours is different.
Replace the tool with Command Prompt: copy d:\windows\system32\cmd.exe d:\windows\system32\utilman.exe then press Enter and type Y to confirm the overwrite.
Close the Command Prompt window and choose Continue to start Windows normally.
At the sign-in screen, click the Accessibility icon in the corner. A Command Prompt window opens.
Type net user and press Enter to list the account names. Then type net user YourName NewPassword, using the real account name and your new password.
Close the window and sign in with the new password.
Boot into recovery again, open Command Prompt and restore the original file with copy d:\windows\system32\utilman.exe.bak d:\windows\system32\utilman.exe then restart.
Tips and common mistakes
Only do this on a PC you own, because it bypasses the login screen.
This method works on local accounts. A Microsoft account needs an online password reset instead.
If BitLocker is on, Windows asks for the recovery key before the recovery menu appears.
Always restore utilman.exe afterwards, or anyone can open Command Prompt from the lock screen.
Questions
Will I lose my files?
No. The method changes a system file and the account password, so your documents and photos stay where they are.
Does it work on Windows 11 and Windows 10?
Yes. Both versions have the same recovery environment, Advanced options and Command Prompt.
What if the net user command says access denied?
You likely typed the wrong account name or drive letter. Run net user again to check the exact name, and confirm the Windows drive letter in diskpart.
The notes are drafted automatically from video details and general task knowledge. How the guide was prepared
Report a correction


