Startup · Windows 11
Fix a PC stuck booting into Safe Mode on every restart
Safe Mode is a diagnostic start, not a place to live. If Windows opens in Safe Mode after every restart, a boot setting is almost always telling it to. Clear the Safe boot setting first, then check the boot configuration if the setting will not stay cleared.
What you need
- An administrator account. Changing boot settings needs admin rights. Safe Mode usually signs you in with your normal account, which is enough if it is an administrator account.
- Your sign-in PIN or password. Safe Mode often asks for the account password rather than the PIN, so have the password ready.
- Ten minutes. The main fix is one checkbox and one restart. The advanced route adds a few minutes more.
Read the problem before you touch it
- Confirm it really is Safe Mode. The words Safe Mode appear in the corners of the screen, the wallpaper is black, the resolution is low, and many apps and services do not start. That is a deliberate minimal start: Windows loads only basic drivers and services so a bad driver or setting can be removed. Microsoft describes the mode and its variants in Start your PC in safe mode in Windows.
- Understand why it repeats. A one-off Safe Mode start ends when you restart. A Safe Mode start on every restart means something persistent is asking for it: the Safe boot option set in System Configuration, a safeboot entry left in the boot configuration, or a troubleshooter or driver tool that set the flag and never cleared it.
- Remember what you changed last. If this started right after you used Safe Mode to remove a driver or run a cleanup tool, that visit almost certainly left the setting on. That points straight at the first fix below.
The simple fixes, in order
- Clear Safe boot in System Configuration. Press Windows + R, type
msconfig, and press Enter. On the Boot tab, clear the Safe boot checkbox, then select Make all boot settings permanent if it is offered, choose OK, and restart when prompted. This one setting is the cause in most cases. - Restart normally and watch the start. Do not press any keys during startup. If Windows reaches the normal desktop with your usual wallpaper, resolution, and startup apps, the flag is cleared.
- Check the setting stayed cleared. Open
msconfigonce more and look at the Boot tab. Safe boot should still be unchecked. If it has been re-checked on its own, something is setting it again — move to the advanced route rather than clearing it a third time.
The advanced route
- Remove the safeboot entry with BCDEdit. Open Windows Terminal or Command Prompt as administrator and run
bcdedit /deletevalue {current} safeboot, then restart. This deletes the safeboot value from the current boot entry directly. Microsoft documents the command and its options in BCDEdit Command-Line Options. If the command reports that the element was not found, the entry was already clean and the cause sits elsewhere. - Look at the boot entry before changing anything else. Run
bcdedit /enum {current}and read the listing. Asafebootline confirms the flag is in the boot store; its absence after the step above confirms the store is now clean. - Repair system files if the flag keeps returning. A tool or damaged system file can rewrite the setting. Run
DISM /Online /Cleanup-Image /RestoreHealth, thensfc /scannow, restart, and clear Safe boot once more. Microsoft documents both tools in Using System File Checker in Windows.
End state
- Two restarts in a row reach the normal desktop, with no Safe Mode wording on screen.
- Safe boot is unchecked on the Boot tab of System Configuration and stays unchecked.
- Normal startup apps, sound, and network all load as they did before.
When it goes wrong
- Safe boot is grayed out or will not save. You are not running as administrator, or a management policy owns the setting. Sign in with an administrator account and try again before touching the boot store.
- The PC now will not boot at all. Use the recovery environment — hold the power button during startup twice in a row — and run Startup Repair. Microsoft covers the route in Recovery options in Windows.
- It returns to Safe Mode after a specific program runs. That program is setting the flag. Note which one it is, update or remove it, then clear Safe boot one last time.
- The desktop loads but a driver is broken. That driver is likely why Safe Mode was used in the first place. Reinstall it from the maker's site now that you have a normal start to work from.
Related fixes
-
Fix a screen resolution that resets after every restart
A resolution that is right all day and wrong every morning is almost never the monitor. It is a driver that loads late or falls back, a startup app applying its own display profile, or a display profile Windows cannot keep. Fix the driver first, then hunt the startup app.
-
Fix a PC that boots into the BIOS setup screen every time instead of Windows
When a PC lands in BIOS setup on every start, the firmware is telling you it cannot find — or no longer trusts — something it needs to hand over to Windows. Work through the clock battery, the boot order, and the boot mode in that order and most machines go back to starting normally.
-
Fix a BitLocker recovery key prompt that appears on every boot
A BitLocker recovery key prompt on every boot means Windows keeps measuring a startup that does not match what BitLocker sealed. Suspend and resume protection once to reseal it — after you have saved the recovery key somewhere safe.
-
Fix a PC that shuts down at the same time every day
A PC that shuts down at the same time every day is almost always obeying a schedule — a task, an update setting, or a power plan timer — not failing at random. Match the shutdown time to the event log first, find the schedule that matches next, and change only that setting.
Sources
- Microsoft Support, Start your PC in safe mode in Windows — what Safe Mode loads, its variants, and the standard ways in and out of it.
- Microsoft Learn, BCDEdit Command-Line Options — the documented switches for viewing and changing boot entries, including deleting a value.
- Microsoft Support, Using System File Checker in Windows — running SFC and DISM to repair missing or corrupted system files.
- Microsoft Support, Recovery options in Windows — the recovery options, including Startup Repair, System Restore, and advanced startup.