Enable F8 Safe Mode Boot in Windows
In this article
Yes, you can enable F8 key boot to enter Safe Mode in Windows, though modern versions of Windows (Windows 10 and 11) disable this by default for faster startup. To restore F8 functionality, you must reconfigure the boot manager using Command Prompt with administrative privileges. This allows you to press F8 during startup to choose Safe Mode or other advanced boot options, which is useful for troubleshooting system crashes, driver issues, or malware.
What You'll Need
- A Windows PC running Windows 10 or Windows 11
- Administrator access to the system
- Ability to open Command Prompt as Administrator
- Physical access to the keyboard during boot (F8 key must be functional)
Step-by-Step
- Press the Windows key, type "Command Prompt", then right-click on the result and select "Run as administrator". If prompted by User Account Control, click "Yes" to continue.
- In the elevated Command Prompt window, type the following command and press Enter:
bcdedit /set {default} bootmenupolicy legacy - Wait for the confirmation message: "The operation completed successfully." If you see an error, ensure you ran Command Prompt as administrator.
- Close the Command Prompt window.
- Restart your computer.
- As the PC restarts, begin pressing the F8 key repeatedly before the Windows logo appears. On some systems, you may need to press F8 very quickly or use a USB keyboard if the built-in one doesn’t respond early enough.
- If successful, the Advanced Boot Options menu will appear, showing Safe Mode, Safe Mode with Networking, and other options. Use the arrow keys to select your preferred mode and press Enter.
Common Mistakes
- Not running Command Prompt as administrator: The command will fail silently or return access denied. Always confirm the window title says "Administrator".
- Pressing F8 too late: Modern Windows boots quickly. Start pressing F8 as soon as the PC powers on, before any logo appears.
- Using a wireless or non-responsive keyboard: Some keyboards, especially Bluetooth or certain USB models, are not detected early in boot. Use a wired USB keyboard.
- Typing the command incorrectly: Ensure exact spacing and no typos. The command is case-sensitive in structure but not in keywords like "set" or "legacy".
- Expecting F8 to work after Fast Startup: If the system was hibernated, the boot sequence skips early input detection. Fully shut down (not restart) after running the command.
Tips
- After enabling the legacy boot menu, you can disable it later by running:
bcdedit /set {default} bootmenupolicy standardin an admin Command Prompt. - If F8 still doesn’t work, try holding Shift while clicking Restart from the Start menu. This forces the advanced recovery environment.
- Some UEFI firmware settings may interfere. Check if Fast Boot is enabled in BIOS/UEFI and consider disabling it temporarily for testing.
- On laptops, you may need to press Fn+F8 depending on keyboard layout, though most boot menus bypass Fn requirement.
- Consider creating a system restore point before modifying boot settings, in case the change causes boot instability.
Troubleshooting
If the F8 key does not bring up the boot menu after running the command:
- Recheck command execution: Reopen Command Prompt as admin and run
bcdedit. Look for the line "bootmenupolicy" — it should say "legacy". If not, repeat the command. - Test with different keyboard: Try a known-working wired USB keyboard connected directly to a USB 2.0 port (not a hub).
- Disable Fast Startup: Go to Control Panel > Power Options > Choose what the power buttons do > Change settings that are currently unavailable > uncheck "Turn on fast startup".
- Use Windows Recovery Environment (RE): Hold Shift while clicking Restart in Start menu. After reboot, go to Troubleshoot > Advanced Options > Startup Settings > Restart, then press 4 or F4 for Safe Mode.
- BIOS/UEFI settings: Some systems disable legacy boot options. Enter BIOS/UEFI (usually by pressing F2, Del, or Esc during boot) and look for settings like "Legacy Boot", "CSM", or "Boot Menu". Enable them if available, though this is rarely required just for F8.
- Group Policy or domain restrictions: In managed environments (work or school PCs), boot settings may be locked. Contact your administrator.
Frequently Asked Questions
Does enabling F8 work on Windows 11?
Yes, the same command works on Windows 11. The boot manager (BCD) functions identically to Windows 10.
Can I use this method on a laptop?
Yes, as long as you can run Command Prompt as administrator and have a working keyboard. Some laptops may require faster F8 tapping.
Is it safe to enable the legacy boot menu?
Yes. This change only affects early boot input handling and does not alter system files or security. You can revert it anytime.
Why doesn't F8 work even after the command?
Common causes include Fast Startup, non-responsive keyboards, or timing. Try restarting after a full shutdown and press F8 immediately.
Can I access Safe Mode without enabling F8?
Yes. Use Settings > Update & Security > Recovery > Advanced Startup > Restart, or hold Shift while clicking Restart.
Does this work in Windows 8 or earlier?
No — Windows 8 and earlier natively support F8. This guide is for Windows 10 and 11 only, where the feature was disabled by default.