Enable Secure Boot on Your PC – Step‑by‑Step Guide
In this article
Yes – you can enable Secure Boot through your PC’s UEFI firmware; it protects the boot process by only allowing trusted operating‑system loaders.
Secure Boot is a feature of the UEFI (Unified Extensible Firmware Interface) firmware that checks each component loaded during startup against a database of trusted signatures. When enabled, it helps block rootkits and other low‑level malware that try to hijack the boot sequence. Most modern Windows PCs ship with Secure Boot disabled by default, especially if the hardware was originally configured for older operating systems or custom BIOS settings. Before you begin, make sure you have a recent Windows installation (Windows 10 version 1703 or later, or Windows 11) and that you can access the UEFI settings – typically by pressing a key during power‑on (such as F2, Delete, or Esc). You’ll also need administrative rights on the Windows account you plan to use.
What You’ll Need
- A PC that supports UEFI (most systems built after 2012 do).
- Administrator access to Windows.
- A USB keyboard (if your laptop’s built‑in keyboard is disabled in the pre‑boot environment).
- Optional: A backup of important data, in case you need to reinstall Windows after changing boot mode.
Step‑By‑Step
- Enter the UEFI/BIOS setup. Restart your computer. As soon as the manufacturer’s logo appears, press the key that opens the firmware menu. Common keys are F2, Delete, Esc, or F10. If you’re unsure, consult the on‑screen prompt or the PC’s manual.
- Locate the Secure Boot setting. Once inside the UEFI interface, navigate to the Boot or Security tab. The exact wording varies by vendor – look for entries such as “Secure Boot”, “Secure Boot Control”, or “Secure Boot Mode”. If you cannot find it, check a submenu named “Authentication” or “Advanced”.
- Check the boot mode. Secure Boot only works when the system is set to UEFI mode, not Legacy/CSM. If you see an option called “Boot Mode”, “UEFI/Legacy Boot”, or “CSM”, ensure it is set to UEFI. Changing this setting may automatically enable Secure Boot, but many boards keep it disabled until you turn it on manually.
- Enable Secure Boot. Select the Secure Boot option and change its state to Enabled. Some firmware requires you to first set a “Secure Boot Mode” to Standard before the toggle becomes active. If you see “Custom”, switch to “Standard” unless you need a custom key database.
- Save and exit. Press the key indicated for “Save & Exit” (often F10) or choose the menu entry “Save Changes and Reset”. Confirm when prompted. The computer will reboot.
- Verify the setting in Windows. After Windows starts, open Settings → Update & Security → Recovery → click “Restart now” under Advanced startup. Choose Troubleshoot → Advanced options** → **UEFI Firmware Settings** and click “Restart”. When the firmware loads again, you can re‑enter the Secure Boot menu to confirm it shows “Enabled”.
Alternatively, open a Command Prompt with admin rights and runbcdedit /enum {current}. Look for the linesecureboot: Yes– this confirms Windows sees Secure Boot as active. - Optional: Update the key database. If you later install a Linux distribution that supports Secure Boot, you may need to add its keys. Most mainstream distros provide a “shim” signed by Microsoft, which works without extra steps. For custom keys, return to the UEFI menu, select “Key Management”, and import the .cer files provided by the OS vendor.
Common Mistakes
1. Leaving the system in Legacy/CSM mode. Secure Boot will stay disabled if the firmware is still using the older BIOS compatibility mode. Always verify the boot mode is set to UEFI before enabling Secure Boot.
2. Enabling Secure Boot on a system with an unsigned bootloader. If Windows was installed in Legacy mode or you are using a custom boot manager that isn’t signed, the PC will refuse to boot and display a “Secure Boot violation” error. Re‑install Windows in UEFI mode or switch Secure Boot back to Disabled.
3. Changing the Secure Boot state without saving. Some firmware requires you to explicitly choose “Save Changes and Exit”. Simply exiting the menu may revert any modifications.
4. Using the wrong key to enter the firmware. Pressing the wrong function key can drop you into a fast‑boot screen that doesn’t allow access to Secure Boot settings. Consult the manufacturer’s documentation if the usual keys don’t work.
Tips
- Keep your UEFI firmware up to date. Firmware updates often add better Secure Boot support and fix bugs that cause false‑positive violations.
- If you plan to dual‑boot Linux, enable Secure Boot **after** installing Windows. Most modern Linux installers will detect Secure Boot and automatically enroll a signed shim, avoiding the need to switch to Custom mode.
- Record the firmware password (if you set one) in a secure place. Some boards lock the Secure Boot menu behind a password, and forgetting it can lock you out of future changes.
- Use the Windows “System Information” tool (type
msinfo32in the Start menu) to quickly check the Secure Boot State – it will display “On” or “Off”.
Troubleshooting
PC won’t boot after enabling Secure Boot. The most common cause is a mismatched boot mode. Re‑enter the UEFI menu, switch the boot mode back to UEFI (if it was inadvertently set to Legacy), and ensure the Windows boot manager entry is present. If the system still refuses to start, disable Secure Boot again, save, and reboot.
“Secure Boot Violation” error appears. This indicates that a component (often the bootloader) lacks a valid signature. Verify that Windows was installed in UEFI mode: open Disk Management and confirm the disk uses a GPT partition style. If it shows MBR, you will need to reinstall Windows on a GPT disk or convert the disk using Microsoft’s mbr2gpt tool before re‑enabling Secure Boot.
Secure Boot option is grayed out. Some OEMs lock the setting behind a “Secure Boot Mode” set to Custom. Change the mode to Standard, then the toggle should become active. If a firmware password is required, you’ll be prompted to enter it.
After enabling Secure Boot, Windows reports “Secure Boot is off”. This can happen if Windows is running in “Legacy” boot mode despite the firmware being in UEFI. Open the Command Prompt and run bcdedit /set {default} bootmenupolicy standard, then restart. The policy forces Windows to use the UEFI boot manager.
System freezes or restarts repeatedly. Reset the firmware to default settings (often an option called “Load Optimized Defaults” or “Reset to Default”). Then re‑apply the Secure Boot steps, being careful to keep the boot mode on UEFI.
Frequently Asked Questions
Do I need to reinstall Windows to use Secure Boot?
If Windows was originally installed in UEFI mode on a GPT disk, you can enable Secure Boot without reinstalling. If the installation used Legacy/CSM mode on an MBR disk, you must reinstall or convert the disk to GPT before Secure Boot will work.
Can Secure Boot be used on a laptop with a TPM?
Yes. Secure Boot and TPM are independent security features. Having a TPM does not affect the ability to enable Secure Boot, and using both together provides layered protection.
Will enabling Secure Boot affect my existing drivers?
No. Secure Boot only validates the bootloader and kernel components. Drivers are loaded after the OS has started, so they are not checked by Secure Boot.
Is Secure Boot compatible with all Linux distributions?
Most major distributions (Ubuntu, Fedora, openSUSE, etc.) include a signed boot shim that works with Microsoft’s Secure Boot keys. If a distribution does not provide a signed shim, you would need to switch Secure Boot to Custom mode and enroll the distribution’s own keys.
Can I disable Secure Boot temporarily for troubleshooting?
Yes. Return to the UEFI menu, set Secure Boot to Disabled, save, and reboot. Remember to re‑enable it once the issue is resolved to maintain the security benefits.
What is the difference between “Standard” and “Custom” Secure Boot modes?
Standard mode uses the default Microsoft key database, which is sufficient for Windows and most signed Linux bootloaders. Custom mode lets you add, delete, or replace keys, useful for testing unsigned OSes or enterprise‑signed firmware.