To end Safe Mode on Windows, restart your PC normally; if it keeps booting into Safe Mode, clear the Safe boot checkbox in System Configuration (msconfig).
Safe Mode is a diagnostic environment that strips Windows down to its core drivers and services. It’s great for troubleshooting, but leaving it should be simple — restart the machine. When the PC refuses to boot normally and keeps landing back on that black background with “Safe Mode” in the corners, the fix is one setting away. Here’s the exact sequence that works on Windows 10 and 11.
How Windows Gets Stuck In Safe Mode
Safe Mode stays active for two main reasons. The most common is that the Safe boot toggle inside System Configuration (msconfig) was checked and never cleared. The other is a persistent safeboot flag written directly into the Boot Configuration Data (BCD) — often set when Safe Mode was enabled through the Windows Recovery Environment or a command-line tool. Either way, Windows sees the flag on every startup and obeys it until the flag is removed.
A simple shutdown does not always clear these settings, which is why some users reboot a dozen times and stay trapped.
The Two-Step Method To Leave Safe Mode
Most cases resolve at step one. Try that first — it costs nothing.
- Step 1 — Restart normally. Open the Start menu, select the power icon, and choose Restart. If the PC boots to the regular desktop, you are done. Safe Mode exits automatically on a clean restart unless the boot configuration holds a persistent flag.
- Step 2 — Use msconfig. If restarting puts you right back in Safe Mode, open System Configuration using the key shortcut below and clear the Safe boot checkbox.
Using System Configuration (msconfig) To Exit Safe Mode
Microsoft’s documented fix starts with a Run command and a single checkbox. Follow these steps in order:
- Press Windows key + R to open the Run dialog.
- Type
msconfigand select OK. - Select the Boot tab at the top of the window.
- Under Boot options, clear the Safe boot checkbox so the box is empty.
- Select Apply, then OK.
- When prompted, select Restart.
The PC restarts and boots to your normal desktop with the taskbar and background fully loaded. Safe Mode is gone. If BitLocker device encryption is active on your machine, Windows may prompt you for the recovery key before the boot change takes effect — have that key available before starting these steps.
The Command Line Fallback (When msconfig Won’t Open)
If Safe Mode is so restrictive that msconfig does not launch, or if the Safe boot checkbox was never used because the flag was set through boot tools, the command line route is the reliable alternative.
- Open Command Prompt with administrator privileges. In Safe Mode, type
cmdin the search bar, right-click Command Prompt, and select Run as administrator. - Type the following command and press Enter:
bcdedit /deletevalue {current} safeboot
- Then type
shutdown /rand press Enter to restart immediately, or close the window and restart normally through the Start menu.
After restart, the desktop loads in standard mode. No “Safe Mode” label appears in the corners. If {current} returns an error about the identifier not being found, substitute {default} — the exact identifier depends on whether you are inside Safe Mode or booted from recovery media.
Dell’s own support documentation confirms the same command-line fix for both Windows 10 and 11, using the {default} identifier in some boot scenarios.
What If You Can’t Reach The Desktop?
In rare cases, Safe Mode boots but the system is too unstable to run msconfig or even Command Prompt. When that happens, boot into the Windows Recovery Environment (WinRE):
- Force the PC to fail startup twice in a row — hold the power button during the Windows logo to interrupt booting. On the third attempt, Windows automatically opens the recovery screen.
- Select Troubleshoot → Advanced options → Startup Settings → Restart.
- After the PC restarts, a numbered menu appears. Press Enter to boot normally without selecting a Safe Mode option, or press 4, 5, or 6 if you need to re-enter Safe Mode for further troubleshooting.
Once you are back in a normal desktop environment, run the msconfig fix above to ensure Safe Mode is fully cleared for future restarts.
Methods To Exit Safe Mode — Comparison
| Method | Best For | What You Need |
|---|---|---|
| Normal restart | Safe Mode entered temporarily (one-time boot) | Nothing — just the power menu |
| System Configuration (msconfig) | Safe Mode was enabled via Boot tab checkbox | BitLocker key if drive is encrypted |
| bcdedit command (elevated) | msconfig is unresponsive or flag is in BCD | Administrator access to Command Prompt |
| Windows Recovery Environment | Desktop is inaccessible or too unstable | Ability to interrupt boot process twice |
| Startup Settings menu | Choosing a different boot mode temporarily | Access to WinRE or F8 on older systems |
Dell support {default} variant |
When {current} identifier fails |
Knowledge of which identifier is active |
Common Mistakes That Keep You In Safe Mode
A few avoidable errors account for nearly every “stuck in Safe Mode” case. Check these before spending time on deeper fixes.
- Checking Safe boot instead of clearing it. The most frequent error. On the Boot tab in msconfig, the checkbox must be empty — selecting it again locks you into Safe Mode for another round.
- Using the wrong bcdedit identifier. Microsoft’s answer uses
{current}, Dell’s documentation uses{default}. If the command returns an error, try the other identifier. - Skipping the BitLocker recovery key. Encrypted drives block boot configuration changes until the recovery key is entered. Windows prompts for it — do not bypass or cancel the prompt.
- Shutting down instead of restarting. A full shutdown followed by a cold boot may still read the stale boot flag. Always use Restart after clearing Safe boot.
Common Exit Failures — Troubleshooting Guide
| Problem | Most Likely Cause | Fix |
|---|---|---|
| Restart goes back to Safe Mode | Safe boot checkbox was never cleared | Open msconfig, clear the checkbox, restart |
| bcdedit returns “element not found” | Incorrect boot identifier ({current} vs {default}) |
Run bcdedit /deletevalue {default} safeboot instead |
| msconfig will not open | Safe Mode restrictions or corrupted system file | Use elevated Command Prompt and bcdedit route |
| BitLocker prompt blocks changes | Drive encryption requires recovery key | Locate the 48-digit recovery key in your Microsoft account or printout |
| Stuck in WinRE loop | Multiple boot failures triggered automatic recovery | From WinRE, go to Troubleshoot → Advanced options → Startup Settings → Restart, then boot normally |
Does Any Windows Version Handle This Differently?
Windows 10 and 11 share the same boot configuration system. The msconfig method and the bcdedit /deletevalue command work identically on both. The only version-sensitive detail is how you reach WinRE — Windows 11 prefers the recovery screen triggered by two failed boot attempts, while Windows 10 also supports the classic F8 key during startup on legacy BIOS systems. On modern UEFI hardware, F8 is typically disabled unless manually re-enabled.
The Safe Mode options in the boot menu — 4 for standard Safe Mode, 5 for Safe Mode with Networking, 6 for Safe Mode with Command Prompt — are consistent across both versions. Dell’s instructions list the same numbered choices for Windows PCs regardless of the edition.
Exit Safe Mode For Good — The Final Checklist
One clean pass through these actions ends the problem permanently. Run them in order and stop when the machine boots normally.
- Restart the PC. If it boots to the desktop, you are done.
- Open msconfig with Windows key + R, type
msconfig, go to the Boot tab, and clear Safe boot. Apply and restart. - If msconfig is blocked, run an elevated Command Prompt and enter
bcdedit /deletevalue {current} safeboot, then restart. - If
{current}fails, trybcdedit /deletevalue {default} safeboot. - If you cannot reach the desktop, force WinRE, go to Troubleshoot → Advanced options → Startup Settings → Restart, and boot normally.
- Have your BitLocker recovery key ready before making boot changes on an encrypted device.
After a normal restart with no Safe Mode label, the task is complete. Windows will stay in standard mode on every subsequent boot unless Safe Mode is deliberately re-enabled.
References & Sources
- Microsoft Support. “Windows Startup Settings” Official guide covering Safe Mode entry/exit steps, msconfig method, and BitLocker considerations.
- Microsoft Learn Answers. “How do I get off Safe Mode with Windows 10” Verified answer documenting the bcdedit /deletevalue {current} safeboot command.
- Dell US. “How to Boot into Safe Mode in Windows” Instructions for entering and exiting Safe Mode, including the {default} identifier variant.
