logo
Windows 11Reset Windows 11 Forgotten Password without Disk Using CMD

How to Reset Windows 11 Forgotten Password without Disk Using CMD

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.

reset windows 11 password using cmd

Option 1: Reset Windows 11 Password Using CMD While Logged in

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.

run command prompt 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.

execute net user

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.

reset selected account password

Option 2: Reset Windows 11 Password Using CMD without Logging in

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.

Step 1: Boot Windows 11 into Winre environment

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.

click Restart

3. Choose Troubleshoot to see advanced options.

choose troubleshoot

4. Click Advanced options to go ahead.

click Advanced option

5. After that, click Command Prompt to run cmd.

choose command prompt option

Step 2: Run diskpart and dir to check your system drive

1. In command prompt, input diskpart and press Enter to run diskpart utility.

execute diskpart

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.

execute list volume

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).

check system drive

Step 3: Replace cmd.exe with utilman.exe

1. Input the command: move E:\windows\system32\utilman.exe E:\ and press Enter to backup utilman.exe.

move 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.

copy cmd exe and rename it

3. Input the command: wpeutil reboot and press Eneter to restart Windows 11 computer.

execute wpeutil

Step 4: Reset the forgotten password of your account

1. On Windows 11 login password input interface, click the Accessibility icon on the bottom right corner.

click Accessibility icon

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.

run net user command

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.

reset password of selected account without login

5. Close the Command Prompt window.

Step 5: Sign in Windows 11 with your new password and revert utilman.exe back.

1. Enter the new password to sign into Windows 11 computer.

sign in with new password

2. Click the Search icon on your desktop and enter cmd to find Command Prompt. After that, click Run as administrator option.

run command prompt as administrator

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.

revert utilman.exe back

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.