Windows 10/11 Safe Mode Password Not Working – Fix Guide
In this article
If your password doesn’t work in safe mode, you can regain access by resetting the password, enabling the built‑in Administrator account, or using Windows recovery tools. The steps below walk you through each method for both Windows 10 and Windows 11, so you can choose the option that matches the resources you have available.
What You'll Need
- A second account on the PC that has administrator privileges (if one exists).
- Windows installation media (USB/DVD) or a system‑repair disk created on the same machine.
- Access to another computer for downloading the media creation tool, if you need to create new installation media.
- Patience – some steps require a reboot and a few minutes of waiting.
Step‑By‑Step
- Confirm the problem is limited to safe mode. Log out of the current session and try signing in normally (non‑safe mode). If the password works there, the issue is likely a policy or corruption that only affects the safe‑mode environment.
- Boot into the Windows Recovery Environment (WinRE).
- Insert the Windows installation USB/DVD.
- Restart the computer and press the appropriate key (often F12, Esc, or Del) to open the boot menu.
- Select the USB/DVD as the boot device.
- When the Windows Setup screen appears, click Next, then choose Repair your computer in the lower‑left corner.
- Open a command prompt from WinRE.
- Navigate to Troubleshoot → Advanced options → Command Prompt.
- If prompted, select the account you want to use and enter its password (use the account that still works, or choose Continue if none does).
- Enable the built‑in Administrator account. In the command prompt type:
net user administrator /active:yes
Press Enter. You should see a confirmation that the command completed successfully. - Set a new password for your regular account. Still in the command prompt, type:
net user "YourUserName" *
ReplaceYourUserNamewith the exact name of the account that is failing in safe mode. You will be prompted to type a new password twice. Use a simple password for testing, then you can change it later. - Reboot normally. Type
exittwice to close the command prompt and return to the main WinRE screen, then choose Continue to boot Windows.- If the computer boots into safe mode automatically, press Win+R, type
msconfig, go to the Boot tab, and uncheck Safe boot. Click OK and restart.
- If the computer boots into safe mode automatically, press Win+R, type
- Log in with the new password. The account should now accept the password in both normal and safe‑mode sessions.
- Disable the built‑in Administrator if you don’t need it. Open an elevated command prompt (right‑click Start → Windows Terminal (Admin)) and run:
net user administrator /active:no
This restores the default security posture. - Alternative: Use a second admin account. If you already have another admin account on the PC, log in with that account, open Settings → Accounts → Family & other users, select the problematic account, and click Change password. This avoids the need for WinRE.
- Alternative: Reset the PC (last resort). In WinRE choose Troubleshoot → Reset this PC. Choose “Keep my files” to preserve personal data while reinstalling system files. This will recreate the default local admin account and should clear any safe‑mode password mismatch.
Common Mistakes
- Typing the account name with the wrong case or extra spaces. Windows usernames are case‑insensitive but extra spaces cause the
net usercommand to fail. - Forgetting to disable the built‑in Administrator after fixing the issue, which leaves a powerful account enabled unintentionally.
- Using a USB that is not bootable or that contains the wrong Windows version. The command prompt will still open, but the system files may not match, leading to errors.
- Attempting to change the password from within safe mode itself. Safe mode can block certain account‑management utilities, which is why WinRE is recommended.
Tips
- Write down the exact username as it appears in Control Panel → User Accounts before you start, then copy‑paste it into the command prompt to avoid typos.
- If you have a Microsoft‑account‑linked login, you can reset the password online at account.microsoft.com before trying the local reset steps.
- When creating installation media, use the Media Creation Tool from Microsoft’s website to ensure the USB is correctly formatted for UEFI or Legacy BIOS, matching your system’s boot mode.
- After you regain access, run
sfc /scannowfrom an elevated command prompt to repair any corrupted system files that might have caused the safe‑mode issue.
Troubleshooting
If the steps above do not let you log in, follow this checklist:
- Verify that the computer is actually booting into safe mode. Look for the “Safe Mode” watermark in the corners of the screen. If you see it, the system is in safe mode; otherwise you may be in a recovery console.
- Check the keyboard layout. Safe mode sometimes defaults to a different layout (e.g., US vs. UK). Make sure Caps Lock is off and the layout matches the one you used when setting the password.
- Confirm the account is not disabled. In the WinRE command prompt run
net user "YourUserName". Look for the line that says “Account active Yes”. If it says “No”, reactivate it withnet user "YourUserName" /active:yes. - Look for disk‑encryption issues. If BitLocker is enabled, safe mode may block the decryption process. Boot to the normal Windows login screen, enter the BitLocker recovery key, then try safe mode again.
- Use System Restore. In WinRE choose Troubleshoot → Advanced options → System Restore. Select a restore point dated before the password problem began.
- Consider hardware problems. A failing hard drive can corrupt the SAM (Security Account Manager) hive, causing login failures. Run
chkdsk /f /r C:from the command prompt in WinRE to scan and repair the drive. - Last‑ditch: Clean install. Back up your data using a Linux live USB or by attaching the drive to another PC, then perform a fresh Windows installation. This guarantees a working password but erases all installed programs.
Frequently Asked Questions
Why does my password work in normal mode but not in safe mode?
Safe mode loads a minimal set of drivers and services. If a third‑party credential provider or a corrupted login script is required for your account, it may not load, causing the password to be rejected.
Can I use my Microsoft account password in safe mode?
Yes, but only if the system has already cached the credentials. If the cache is corrupted, you’ll need to reset the password locally or use the built‑in Administrator account.
Do I need to reinstall Windows to fix the safe‑mode password issue?
Reinstalling is rarely necessary. Resetting the password, enabling the built‑in Administrator, or performing a System Restore usually resolves the problem without a full reinstall.
Is the built‑in Administrator account safe to leave enabled?
It has full system privileges and no password by default, so it should be disabled after you finish troubleshooting to maintain security.
What if I forget the new password I set in the command prompt?
You can repeat the net user command from WinRE or from another admin account to set a fresh password.
Will these steps work on a domain‑joined computer?
Domain accounts rely on the network controller, which is not available in safe mode. You’ll need to log in with a local admin account or use the domain controller’s password reset tools.