This guide shows you how to make Windows boot directly into Safe Mode by pressing a key (usually F8) during startup, instead of using the Settings app or recovery menus. You’ll need administrator access to your PC and a few minutes to change the boot configuration.
What You’ll Need
- A Windows 10 or Windows 11 PC (the steps work on both)
- Administrator account privileges (you’ll run Command Prompt as admin)
- Access to the Windows Recovery Environment (WinRE) if you need to undo the change later
Step-by-Step
- Open Command Prompt as Administrator. Click the Start button, type
cmd, right-click “Command Prompt” in the results, and select “Run as administrator.” If prompted by User Account Control, click “Yes.” - Enable the legacy boot menu. In the Command Prompt window, type the following command and press Enter:
bcdedit /set {default} bootmenupolicy legacy
This tells Windows to use the old-style boot menu that responds to the F8 key. - Restart your PC. Close Command Prompt and restart your computer. As soon as the screen goes black and the PC begins to restart, start tapping the F8 key repeatedly (about once per second) until the Advanced Boot Options screen appears.
- Select Safe Mode. On the Advanced Boot Options screen, use the arrow keys to highlight “Safe Mode” (or “Safe Mode with Networking” if you need internet access in Safe Mode) and press Enter.
- Log in and use Safe Mode. Windows will now boot into Safe Mode with a minimal set of drivers and services. Log in with your account to troubleshoot or fix issues.
- To revert to the normal boot menu (optional). If you want to disable the F8 key later, open Command Prompt as administrator again and run:
bcdedit /set {default} bootmenupolicy standard
Then restart.
Common Mistakes
- Not running Command Prompt as administrator. If you don’t, you’ll get an “access denied” error. Always right-click and choose “Run as administrator.”
- Typing the command wrong. The command uses curly braces
{default}– not parentheses. Double-check the spelling and spacing. - Pressing F8 too early or too late. You need to start tapping F8 after the BIOS/UEFI screen disappears but before the Windows logo appears. If Windows starts loading, you’ve missed the window; restart and try again.
- Using the wrong key. On some laptops, F8 might be mapped to a multimedia function (like volume). You may need to hold the Fn key while pressing F8, or check your BIOS settings for function key behavior.
- Forgetting to revert after fixing the issue. Leaving the legacy boot menu enabled can slow down startup slightly and makes the F8 key active on every boot. It’s best to revert once you’re done.
Tips
- Use Safe Mode with Networking if you need to download drivers or run online troubleshooting tools.
- If F8 doesn’t work, try Shift + F8. Some systems respond to that combination instead, though it’s less reliable.
- Create a backup of your boot configuration before making changes. Run
bcdedit /export C:\bcdbackupto save the current settings, so you can restore withbcdedit /import C:\bcdbackupif something goes wrong. - Use the Settings method as a fallback. If the F8 key still doesn’t work, you can boot into Safe Mode from Windows: go to Settings > System > Recovery > Advanced startup, then Troubleshoot > Advanced options > Startup Settings > Restart, and press 4 or F4 for Safe Mode.
- Test the F8 key before relying on it. After enabling the legacy policy, restart and try it once to confirm it works before you actually need it in an emergency.
Troubleshooting
F8 key does nothing after enabling the policy. This usually means the boot menu is still using the new style. Re-run the command and check for any error messages. If you see “The boot configuration data store could not be opened,” you may need to run Command Prompt as administrator again. Also, some newer PCs with UEFI and Fast Startup may ignore the F8 key; in that case, disable Fast Startup in Control Panel > Power Options > Choose what the power buttons do, then try again.
Windows boots normally instead of showing the menu. You might be pressing F8 too early. Wait until the screen turns black after the BIOS logo, then start tapping. Alternatively, try holding F8 down instead of tapping.
You get an error “The parameter is incorrect.” This can happen if you mistype the command or if the boot configuration is corrupted. Run bcdedit /enum to see current entries, and make sure the identifier is exactly {default}.
You can’t get into Safe Mode at all. If the F8 method fails, use the Windows Recovery Environment: restart your PC three times, interrupting startup each time when the Windows logo appears, to trigger automatic repair. Then go to Troubleshoot > Advanced options > Startup Settings > Restart, and choose Safe Mode from the list.
After reverting, the F8 key still works. That’s normal – the standard boot menu still allows F8 to open Advanced Boot Options, but it only appears briefly. If you want to disable F8 entirely, you can use bcdedit /set {bootmgr} displaybootmenu no (though this is not recommended, as it removes a useful recovery option).
Frequently Asked Questions
Does this work on Windows 7 or 8?
Yes, the same command works on Windows 7 and 8, but Windows 8 and later have faster boot times that make the F8 window very short. Windows 7 already has F8 enabled by default.
Will this harm my PC?
No, it only changes the boot menu policy. It’s a reversible setting, and you can revert with the standard command. It doesn’t affect your files or installed programs.
Why is F8 not working on my new laptop?
Most modern laptops have “Fast Startup” enabled, which skips the boot menu. Disable Fast Startup in Power Options, or try holding Fn+F8. Also, some UEFI systems require you to disable “Secure Boot” or set the boot mode to Legacy/CSM, but that’s rare for this specific issue.
Can I set a different key instead of F8?
No, Windows only recognizes F8 (or Shift+F8) for the legacy boot menu. You cannot remap it to another key without third-party tools.
How do I boot into Safe Mode if the F8 key fails?
Use the Shift + Restart method: hold Shift while clicking Restart in the Start menu, then navigate to Troubleshoot > Advanced options > Startup Settings > Restart, and press 4 or F4 for Safe Mode.
What’s the difference between Safe Mode and Safe Mode with Networking?
Safe Mode loads only essential drivers and services. Safe Mode with Networking also loads network drivers, so you can access the internet. Use the latter if you need to download drivers or look up solutions while in Safe Mode.
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
- Google Not Working in Chrome? Key Fixes
- Node.js Hosting: Managed Host or Vercel?
- Windows 10/11 Sleep Mode Shortcut: Create & Use
- VPN on Your Smartphone: Should You Install One?
- Open Source Notes App: Pick the Right One
- Google Authenticator for Facebook: Step-by-Step