If you forgot your Windows 11 password, you can reset it using your Microsoft account online, a password reset disk, or the built-in recovery environment. The fastest method depends on whether you use a Microsoft account or a local account, and whether you have another admin account available.
Why Windows 11 Passwords Get Locked Out
Windows 11 supports two main account types: Microsoft accounts (linked to an email) and local accounts (stored only on your PC). Microsoft accounts are the default for most home users because they sync settings and offer online recovery options. Local accounts are common on older setups or business machines that avoid cloud ties.
Lockouts typically happen after a password change that wasn’t recorded, a keyboard layout mismatch (e.g., typing on a different language), or simply forgetting a rarely used password. Windows 11 also enforces sign-in options like PINs and biometrics, which can confuse users who think their PIN is the same as their password. The PIN is device-specific and cannot be used to recover the account password.
Method 1: Reset Using Your Microsoft Account (Online)
If you use a Microsoft account, the easiest reset path goes through the web. You need another device with internet access.
- Go to the Microsoft account recovery page (account.live.com/password/reset).
- Select “I forgot my password” and enter your Microsoft account email.
- Choose a verification method: email, phone, or authenticator app. Microsoft sends a code.
- Enter the code, then create a new password. It must be at least 8 characters and meet complexity requirements.
- On your locked PC, click “I forgot my password” on the sign-in screen, then choose “Reset password” and follow the prompts to sign in with the new password.
This works only if your PC is connected to the internet and you remember the email/phone associated with the account. If you don’t have access to those, Microsoft offers a 30-day account recovery form that asks for details like previous passwords and subject lines of recent emails.
Method 2: Use Another Administrator Account
If your PC has a second user account with administrator rights, you can reset the forgotten password from there. This is common on shared family PCs or work machines.
- Sign in with the other admin account.
- Open Settings > Accounts > Other users.
- Find the locked account, click on it, and select “Change password” (or “Reset password”).
- Enter a new password twice and save.
- Sign out and log in with the new password.
If the other account is also a Microsoft account, you may need to reset it online first. For local accounts, the Settings app allows direct password changes without the old password.
Method 3: Password Reset Disk (Local Accounts Only)
If you created a password reset disk before the lockout, this is the most straightforward local-account fix. The disk is a USB flash drive or floppy (rarely used today) that you made in advance.
- Insert the reset disk into the locked PC.
- On the sign-in screen, click “Reset password” (or “I forgot my password”).
- The Password Reset Wizard opens. Click Next, select the disk, and enter a new password.
- Complete the wizard and sign in with the new password.
The reset disk is tied to the specific user account and password. It only works for local accounts, not Microsoft accounts. If you never made one, this method won’t help.
Method 4: Reset via the Recovery Environment (No Other Admin)
If you have no other admin account and no Microsoft account, the last built-in option is the Windows Recovery Environment (WinRE). This requires a recovery drive or installation media (USB or DVD) and works only for local accounts.
- Boot your PC from the Windows 11 installation media. You may need to change the boot order in BIOS/UEFI.
- On the setup screen, click “Repair your computer” (bottom left).
- Choose Troubleshoot > Advanced options > Command Prompt.
- In the Command Prompt, type
copy c:\windows\system32\utilman.exe c:\and press Enter. - Type
copy c:\windows\system32\cmd.exe c:\windows\system32\utilman.exeand press Enter. - Close the Command Prompt and reboot normally.
- On the sign-in screen, click the “Ease of Access” icon (the little person with a circle). This opens a Command Prompt as SYSTEM.
- Type
net userto list accounts, thennet user <username> <newpassword>to set a new password. - Close the prompt and sign in with the new password.
This method replaces the Ease of Access app with a command prompt. After resetting, you should restore the original utilman.exe by repeating steps 1-5 but copying c:\utilman.exe back to c:\windows\system32\utilman.exe. This is a well-known workaround, but it modifies system files; use it only if you own the PC. It does not work if BitLocker is enabled, because the drive is encrypted and you’ll need the recovery key.
What to Do If Nothing Works: Factory Reset
If all recovery options fail, you can reset Windows 11 to factory settings, which erases all files, apps, and settings. This is a last resort.
- Boot from installation media and select “Repair your computer”.
- Choose Troubleshoot > Reset this PC.
- Select “Remove everything” and then “Cloud download” or “Local reinstall”.
- Follow the prompts. The PC will restart and install a fresh copy of Windows.
You’ll lose all personal files unless you have backups. This method works for both Microsoft and local accounts, but you’ll need to set up a new account after reset. If your drive is BitLocker-encrypted, you’ll need the recovery key to proceed.
Common Problems and Misconceptions
- PIN vs. password: The PIN is not a password. It’s a device-specific code that doesn’t work online. If you forgot your PIN, click “I forgot my PIN” on the sign-in screen and verify with your Microsoft account password.
- Microsoft account offline: If your PC can’t reach the internet, the online reset won’t work. Try connecting via Ethernet or use another method.
- Keyboard layout: If you type your password correctly but it fails, check the language icon on the sign-in screen. A different layout can change characters like @ and “.
- Forgot the Microsoft account email: Look for the email in your phone’s mail app or check other devices where you’re signed in.
- Local account with no recovery options: Without a reset disk or another admin, the only built-in way is the recovery environment method, which is complex and may not work on all systems.
How to Avoid Future Lockouts
- Create a password reset disk for local accounts (search “Create a password reset disk” in Control Panel).
- Use a Microsoft account and keep recovery email/phone up to date.
- Set up a PIN as a backup sign-in method, since it’s easier to remember and can be reset with your password.
- Write down your password in a secure place, like a password manager.
- Enable BitLocker recovery key backup if you use encryption.
Frequently Asked Questions
Can I reset a Windows 11 password without losing files?
Yes, the methods above (Microsoft account, other admin, reset disk, recovery environment) all preserve your files. Only the factory reset erases data.
How long does the Microsoft account recovery take?
The online password reset is instant if you have access to your recovery email/phone. The 30-day recovery form (when you lack access) can take up to 30 days for Microsoft to review and respond.
Does the recovery environment method work with BitLocker?
No. If BitLocker is enabled, the drive is encrypted and you’ll need the 48-digit recovery key. Without it, you cannot modify system files.
Can I use my PIN to reset my password?
No. The PIN is separate from the password. You can use your PIN to sign in, but to reset the password you need the Microsoft account online or another admin.
What if I forgot both my Microsoft account password and the recovery email?
You’ll need to use the Microsoft account recovery form (account.live.com/password/reset) and answer questions about your account, such as previous passwords or subject lines of recent emails. This can take several weeks.
Is it legal to reset a password on a PC I don’t own?
No. These methods should only be used on your own device or with explicit permission. Bypassing passwords on someone else’s computer is illegal and unethical.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Google Play Store Won’t Connect to Internet
- Windows Window Management Tips & Shortcuts
- Disable Automatic Updates on iPhone (iOS 18)
- Minimize All Windows in Windows: Shortcut Guide
- Android Messages on Desktop: Send & Receive from PC
- Erase Sent Messages on WhatsApp: Full Guide