How to Recover a Forgotten Local Windows 11 Password
Forgetting your Windows password can be incredibly frustrating. If you use a Microsoft Account to log in, resetting your password is as easy as clicking “I forgot my password” on the lock screen and following the email prompts. However, if you use a Local Account (an offline account not tied to an email address) and haven’t set up security questions or a password reset disk, the process requires a bit of a workaround.
Below is a reliable method to reset a local Windows 11 password using the Accessibility Options menu on the lock screen. You will need a bootable Windows 11 installation USB drive to perform this trick.
Step 1: Boot from a Windows 11 Installation USB
Because you cannot log into Windows, we need to boot the computer from an external drive to make changes to the system files.
- If you don’t have one, use another computer to create a Windows 11 Installation USB drive using Microsoft’s Media Creation Tool.
- Insert the USB drive into the locked computer.
- Restart the computer and repeatedly press your manufacturer’s boot menu key (often F12, F8, F10, or Esc) before Windows loads.
- Select the USB drive to boot from it.
- When the Windows Setup screen appears, do not click Install. Instead, press Shift + F10 on your keyboard. This will open a Command Prompt window.
Step 2: Replace the Accessibility Tool with Command Prompt
We are going to temporarily replace the Utility Manager (the accessibility icon on the lock screen) with the Command Prompt, giving us admin access without logging in.
- In the Command Prompt, you need to find the drive letter where Windows is installed. Type
C:and press Enter, then typedirand press Enter. If you see folders like “Program Files” and “Windows”, you are on the right drive. If not, tryD:orE:until you find it. - Once on the correct drive (we will assume C: for this example), navigate to the System32 folder by typing
cd \Windows\System32and pressing Enter. - Now, we will back up the Utility Manager by typing:
ren utilman.exe utilman.exe.bakand pressing Enter. - Next, we will copy the Command Prompt to take its place by typing:
copy cmd.exe utilman.exeand pressing Enter. - Type
exitto close the Command Prompt, then close the Windows Setup window to restart your computer normally. Remove the USB drive.
Step 3: Reset Your Password from the Lock Screen
Now that the computer has restarted, we can use our hidden Command Prompt.
- At the Windows 11 lock screen, click the Accessibility icon in the bottom right corner (the icon that looks like a person).
- Instead of the accessibility menu, a Command Prompt window will open!
- Type
net userand press Enter to see a list of all accounts on the computer. Note the exact spelling of your username. - Type
net user "YourUsername" "NewPassword"(replace YourUsername with your actual username, and NewPassword with the password you want). For example:net user "John Doe" "Pass1234". Press Enter. - You should see a message saying “The command completed successfully.”
- Close the Command Prompt and log in with your new password!
Step 4: Restore the Accessibility Tool (Optional but Recommended)
Leaving the Command Prompt accessible from the lock screen is a security risk. To put things back to normal:
- Boot from the Windows 11 USB drive again and press Shift + F10 at the setup screen.
- Navigate back to System32:
C:thencd \Windows\System32 - Delete the fake Utility Manager:
del utilman.exe - Restore the original:
ren utilman.exe.bak utilman.exe - Restart your computer.