If you also forgot your user account password before logging into your computer, there is a simple way to reset the password. You can reset your local account password without losing a single file before logging into your computer. Additionally, the Command Prompt method works even if you do not have any software or disks. Although, there are some other ways, such as resetting the password by answering the security questions or using the password reset disk. In this session, we will write about how to reset local account passwords in Windows 11 using Command Prompt.
Related: How to show the WIFI password in Windows 11?
How to reset passwords in Windows 11 using the Command Prompt?
After attempting to log in with the wrong passwords, you will receive a notification saying the password is incorrect; try again. Now you must follow the below procedures to reset the password. But before anything, you must have access to the Command Prompt window on the sign-in page. To do that, you must go to the Windows Recovery Page.
- At the sign-in window, press the Shift key and restart your computer. Alternatively, you can get the Windows Recovery Page if you have a bootable USB or DVD to boot your computer.
- Once on the Windows Recovery Page, click on Troubleshoot > Advanced Options >Command Prompt.
- You must replace the CMD.exe file with the utilman.exe in the C drive. To rename those files, change the directory to the C drive and go to the C:WindowsSystem32>. In the CMD window, write the following Commands:
- Write C: and enter.
- CD Windows and enter.
- CD System32 and enter.
Finally, you are in the C:WindowsSystem32> directories. It is time to change those two files’ names.
- First, change the utilman.exe name. To do so, write in the CMD window ren utilman.exe utilman1.exe and enter. The utilman.exe name has changed to utilman1.exe. (utilman1.exe is an ideal name)
- Second, write the Ren CMD.exe utilman.exe and enter. You changed the CMD name to utilman.exe.(The new name of CMD must be utilman.exe)
Now, if you return to the sign-in window and click the Accessibility icon, the Command Prompt shows up.
Reset the Windows 11 forgotten password using Command Prompt
In the Command prompt window, write the Net Users to see a list of all the users in your system. Find the intended user account, write the: Net user UserName New-Password and enter. You will see the ‘The Command completed successfully ‘message.
Congratulation! The operation was completed successfully. You can log in to your system with the new password.
Conclusions
When you forget the local user account password, you can use the Command Prompt method to reset the forgotten password and set new passwords. Remember to put back the utilman.exe and CMD.exe files once you log in because they will be risky in the long term. I hope the article could have sharpened your skills, and you can share your thoughts in the comment sections.