Secure Boot in Windows: How to Configure It
In this article
Secure Boot is a UEFI firmware feature that checks the digital signature of your bootloader and early boot drivers, blocking unsigned or tampered code from loading before Windows starts. To configure it, open your PC's UEFI/BIOS settings (usually by pressing Del or F2 at power-on), find the Security or Boot tab, and either enable Secure Boot or put it into Setup Mode to install your own keys. You cannot turn it on or off from inside Windows Settings; Windows only reports its status. Before you start, confirm your PC uses UEFI rather than legacy BIOS, because Secure Boot is not available on legacy boot.
What You'll Need
- A PC with UEFI firmware (most systems built after 2012). Check by opening System Information (press Windows+R, type
msinfo32, press Enter) and looking at BIOS Mode: it should say UEFI, not Legacy. - Access to the UEFI/BIOS setup utility, and the administrator password if one is set.
- A Windows installation USB or recovery drive, in case a boot setting change prevents Windows from starting.
- Your BitLocker recovery key if BitLocker is enabled, because firmware changes can trigger a recovery prompt. Find it in your Microsoft account or your saved printout.
- For custom keys: the public certificate or key files you intend to enroll, on a USB drive formatted FAT32.
Step-by-Step
- Check the current state. In Windows, open System Information and confirm BIOS Mode is UEFI. Then open Windows Security > Device security > Core isolation details (or the Device security page) and look for the Secure Boot line. If it says On, there is nothing to configure unless you need custom keys. If it says Off or Unsupported, continue.
- Save your work and note your BitLocker key. If BitLocker is on, back up the recovery key before changing firmware settings. A Secure Boot change can cause Windows to ask for it at the next boot.
- Enter UEFI/BIOS setup. Restart the PC and press the setup key shown on the manufacturer's splash screen, commonly Del, F2, F10, or Esc. On many Windows 11 PCs you can also use Settings > System > Recovery > Restart now next to Advanced startup, then Troubleshoot > Advanced options > UEFI Firmware Settings. Labels vary slightly by manufacturer and firmware version.
- Find the Secure Boot controls. Look under a Security, Boot, or Authentication tab. The exact location depends on the vendor; if you cannot find it, check the PC or motherboard manual.
- Decide on the mode. For normal use, set Secure Boot to Enabled and leave the key management on Standard (factory) keys. Use Setup Mode only if you are deliberately replacing the platform keys with your own; Setup Mode disables signature enforcement until keys are enrolled.
- If you need custom keys, enroll them in order. In Key Management, clear the existing keys only if you intend to replace them, then enroll the Platform Key (PK), then the Key Exchange Key (KEK), then the Signature Database (db). Enroll the dbx (forbidden signatures) if your vendor provides one. Keep the files on a FAT32 USB drive and use the firmware's own enrollment screens.
- Save and exit. Choose Save Changes and Exit (often F10). The PC restarts.
- Verify in Windows. Open System Information again and check the Secure Boot State line, or open Windows Security > Device security and confirm Secure Boot shows as On. If BitLocker prompts for recovery, enter the key you saved and let Windows finish booting.
Common Mistakes
- Looking for a Secure Boot switch in Windows Settings. There is none; the control lives in UEFI firmware only.
- Changing Secure Boot without saving the BitLocker recovery key, then getting locked out at the recovery screen.
- Enabling Secure Boot on a system installed in Legacy/CSM mode. Windows will not boot until you either switch back or convert the installation to UEFI.
- Clearing platform keys without having the replacement files ready, which can leave the machine in Setup Mode and unable to boot some devices.
- Assuming Secure Boot blocks all malware. It only protects the boot chain; it does not replace antivirus or account security.
Tips
- Update your UEFI firmware from the PC manufacturer's official support page before changing key settings; older firmware may have buggy key management screens.
- If you dual-boot Linux, check that your distribution's bootloader is signed or that you are prepared to enroll its key; otherwise Secure Boot will block it.
- Keep a note of the firmware settings you change, so you can reverse them if a device or operating system stops booting.
- Use Standard/factory keys for everyday Windows use; custom keys are for managed or specialized environments.
Troubleshooting
If Windows does not start after enabling Secure Boot, re-enter firmware setup and set Secure Boot back to Disabled or restore the previous key state, then boot Windows and check whether the installation is UEFI. If you see a BitLocker recovery screen, enter the recovery key from your Microsoft account or saved copy; do not clear the TPM unless you accept losing BitLocker-protected data. If the Secure Boot option is greyed out, the firmware may require an administrator password to be set first, or the system may be in Legacy/CSM mode. If System Information still shows Secure Boot as Off after you enabled it, confirm you saved and exited setup, and check for a firmware update. If you cleared keys by mistake, re-enroll the vendor's factory keys if the firmware offers a Restore Factory Keys option, or reinstall them from the manufacturer's files.
Frequently Asked Questions
Can I enable Secure Boot from Windows Settings?
No. Windows only displays the Secure Boot state. Enabling or disabling it requires the PC's UEFI/BIOS setup utility.
Does Secure Boot speed up or slow down my PC?
The signature check happens during boot and is not a meaningful performance factor for normal use.
Will enabling Secure Boot stop me from booting Linux?
It can, if the Linux bootloader is unsigned. Many distributions provide signed bootloaders; otherwise you must enroll the distribution's key or disable Secure Boot.
What happens if I clear the platform keys?
The system enters Setup Mode and stops enforcing signature checks until you enroll new keys. Some devices may fail to boot until keys are restored.
Do I need Secure Boot for Windows 11?
Windows 11 requires a UEFI system with Secure Boot capability, and the feature must be enabled for the official compatibility check to pass.
Is Secure Boot the same as TPM?
No. Secure Boot verifies boot code signatures; the TPM is a separate security chip used for things like BitLocker and measured boot. They are often enabled together but are different settings.