Forum Discussion
How to reset Windows 10 password when locked out?
Once, I forgot Windows 10 password and it felt like the end of the world. I tried all possible passwords but none of them worked, and I became more and more anxious. However, I suddenly remembered that a friend once told me about a way to reset Windows 10 password using the command prompt. I didn't pay much attention to it at the time because it seemed too complicated, but now it has become a lifesaver.
So, I decided to give this method a try. First, I needed a Windows installation disk or a bootable USB drive. Fortunately, I had an old Windows installation disk at home, so I immediately found it, inserted it into the computer, and restarted to enter the installation interface.
Step 1. Insert the Windows installation disk or USB drive and restart your computer.
Step 2. Select "Repair your computer" -> "Troubleshoot" -> "Advanced options" -> "Command Prompt".
Step 3. Back up and replace utilman.exe: Then exit diskpart, back up and replace the utilman.exe file:
exit
d:
cd \windows\system32
ren utilman.exe utilman.exe.bak
copy cmd.exe utilman.exe
Step 4. Restart your computer: Close the Command Prompt and restart your computer to return to the login screen.
Step 5. Open the Command Prompt: At the login screen, click the "Accessibility" icon (usually a small circle icon) in the lower right corner. Now, the Command Prompt should open instead of Accessibility.
Step 6. Reset your password: In the Command Prompt, enter the following command to reset your password to your desired password:
Step 7. Restore utilman.exe: Enter the command prompt in repair mode again and restore utilman.exe to its original state:
d:
cd \windows\system32
del utilman.exe
ren utilman.exe.bak utilman.exe
Step 8. Restart and log in: Restart the computer and log in with the newly set password.
Although this method sounds a bit complicated, it is actually quite smooth to follow the steps. After the operation, I successfully logged in to the computer with the new password, and the big stone in my heart finally fell. I really recommend that if you are also locked out, you can try this method, but you must be careful in operation, after all, it involves modifying system files.