By Sophia | Last Updated
If you forgot the Windows 11 password but want to reset it, it is fast and convenient to reset it using CMD (Command Prompt) without any other software. You can also reset Windows 11 forgotten password without logging in using cmd. How to do that? You can get specific tutorial in this article.
If you forgot the Windows 11 password but you can still log into the computer with PIN or other sign-in options, you can directly run command prompt to reset the forgotten password for your local account. You can not only reset the password for you current log in account, but also other user account on your Windows 11 computer.
Step 1: Search Command Prompt on your Windows 11 search box and then choose to Run as administrator.
Step 2: The command prompt launches and then you can enter the command line: net user to check all users on your computer. Press Enter to execute the command.
Step 3: Execute net user “username” password to reset the Windows 11 password. You can instead the username text with your account name which you are going to reset the password. As for the password, you should enter the new password for the selected account. Once the command completed successfully, the password for the selected Windows 11 account will be reset.
When you forgot Windows 11 password and cannot find any sign-in option, you can reset Windows 11 password using CMD without logging in. During this whole process, you do not need any disk or USB to boot Windows 11 system.
1. In your Windows 11 login interface, press Enter to go to the password input interface.
2. Click the Power button on the bottom right and then choose Restart option while keep pressing the Shift key on your keyboard. Instantly, your computer will restart and boot into Winre environment.
3. Choose Troubleshoot to see advanced options.
4. Click Advanced options to go ahead.
5. After that, click Command Prompt to run cmd.
1. In command prompt, input diskpart and press Enter to run diskpart utility.
2. Input list volume and press Enter to check all volume details. You should keep the letter of your Windows 11 system in mind.
3. Input Exit and press Enter to close diskpart utility.
4. Input dir E:\ and press Enter to check whether the E drive is the system drive (You should instead letter E of your system drive letter when inputting the command).
1. Input the command: move E:\windows\system32\utilman.exe E:\ and press Enter to backup utilman.exe.
2. Input the command: copy E:\windows\system32\cmd.exe E:\windows\system32\utilman.exe to copy cmd program and rename it as utilman.exe.
3. Input the command: wpeutil reboot and press Eneter to restart Windows 11 computer.
1. On Windows 11 login password input interface, click the Accessibility icon on the bottom right corner.
2. As this program has been replaced by cmd.exe, you will get cmd program opened instantly.
3. Input the command: net user and press Enter to view all user accounts.
4. Input the command: net user Rabia abc123 and press Enter to reset the password of Rabia user account to 123. You can replace Rabia of your account. It is the same to abc123 password.
5. Close the Command Prompt window.
1. Enter the new password to sign into Windows 11 computer.
2. Click the Search icon on your desktop and enter cmd to find Command Prompt. After that, click Run as administrator option.
3. Run the command: copy C:\utilman.exe C:\windows\system32\utilman.exe to revert your utilman.exe back.
4. Enter Yes to overwrite the file.
5. Run the command: del C:\utilman.exe to delete the utilman.exe under your C drive. After that, the Accessibility function will back to normal as before.
Conclusion:
Whether you can login the Windows computer or not, Command Prompt can help you to reset Windows 11 password without disk/USB. There is no data loss during the entire process. If you are a tech-savvy, there is no problem to run CMD to reset Windows 11 password especially when you are locked out of Windows 11. But all the above ways can only help to reset the local account password of your Windows 11. If you want to reset Microsoft account password when locked out, iSunshare Windows Password Genius will be the best helper. You can have a try.