Secure Boot is a UEFI firmware feature that checks the digital signature of the bootloader and operating system before they load, so unsigned or tampered code cannot start. To use it, you enable it in your PC's UEFI/BIOS setup, make sure the operating system was installed in UEFI mode with a signed bootloader, and keep the security keys enrolled. If your PC boots to a "Secure Boot Violation" or "Invalid Signature Detected" message, the usual cause is a bootable USB built for legacy mode or a Linux install with an unsigned bootloader. The menu itself lives inside UEFI firmware, not inside Windows.

What You'll Need

  • A PC with UEFI firmware (any machine built in roughly the last decade; check with msinfo32 on Windows and look at BIOS Mode, which should say UEFI).
  • An operating system installed in UEFI mode with a signed bootloader, such as Windows or a major Linux distribution with a shim bootloader.
  • The key you press at power-on to enter firmware setup. This is usually Del, F2, F10 or Esc, but it varies by manufacturer, so check your manual or the splash screen.
  • Optionally, a USB drive with your OS installer in case the boot chain needs repair.
  • A note of your BitLocker recovery key if you use Windows device encryption, since firmware changes can trigger a recovery prompt.

Step-by-Step

  1. Shut the PC down completely, then power it on and immediately start tapping your firmware key (often Del or F2). If Windows boots too fast, use the alternative: Settings > System > Recovery > Restart now under Advanced startup, then Troubleshoot > Advanced options > UEFI Firmware Settings. Labels in the firmware screens differ slightly by manufacturer, version and region.
  2. Once in firmware setup, switch to Advanced or Expert mode if the interface offers a simplified view. Many boards open in an "EZ Mode" or similar summary screen that hides the security settings.
  3. Find the security tab. It is commonly called Security, Boot, or Authentication depending on the vendor. Look for an entry named Secure Boot, Secure Boot Configuration, or Secure Boot Control.
  4. Open the Secure Boot menu. Here you'll typically see the current state (Enabled or Disabled), a Secure Boot Mode selector with options such as Standard and Custom, and a Key Management submenu.
  5. Set Secure Boot to Enabled. If a mode selector exists, leave it on Standard unless you have a specific reason to customise keys.
  6. In Key Management, confirm that the Platform Key (PK), Key Exchange Key (KEK), and the allowed signature database (db) show as enrolled rather than empty. If they are missing, use the option to restore or install factory default keys, sometimes labelled Restore Factory Keys, Install Default Secure Boot Keys, or similar.
  7. Enable CSM compatibility mode off (disabled) if your firmware exposes it. Secure Boot cannot function while legacy/CSM booting is active, so also ensure Boot Mode is set to UEFI only.
  8. Save and exit, usually F10 or an Exit tab with Save Changes and Exit. The machine restarts.
  9. Verify the result. In Windows, open System Information (msinfo32) and check that Secure Boot State reads On and BIOS Mode reads UEFI. You can also run Confirm-SecureBootUEFI in an elevated PowerShell window, which returns True when Secure Boot is active. On Linux, check mokutil --sb-state if available.
  10. If you need to boot a recovery or installation USB, make sure it was created as a UEFI-bootable drive with signed components. Otherwise the firmware will refuse it, and you'll need to temporarily disable Secure Boot, do the work, then re-enable it.

Common Mistakes

Enabling Secure Boot on a legacy-installed Windows system is the most frequent error. If Windows was installed under CSM or legacy BIOS, it has no UEFI bootloader and will not start until you either convert the installation (Microsoft's MBR2GPT tool can do this on supported systems) or reinstall in UEFI mode. Back up your data before attempting any conversion.

Another common slip is switching to Custom mode and clearing keys without a plan. Clearing the Platform Key puts the firmware into setup mode and can leave the machine unable to boot anything until keys are restored. Only touch Key Management if you are deliberately enrolling your own keys.

People also forget that some hardware and drivers dislike Secure Boot, particularly older add-in cards with unsigned option ROMs and some third-party kernel modules on Linux. Disable it only for the specific task that needs it, and re-enable it afterwards.

Finally, many users disable CSM but leave the boot order pointing at a legacy entry, producing a "no bootable device" message. After the switch, re-check the boot priority list in the Boot tab.

Tips

Keep your BitLocker recovery key somewhere you can reach without the PC, such as your Microsoft account or a printed copy. Changing firmware settings can change the measurements Secure Boot and TPM rely on, and Windows may then ask for the key at startup.

Check for firmware updates from your PC or motherboard maker before changing security settings; vendors occasionally ship key updates that fix boot problems with newer operating systems.

On Linux, distributions that support Secure Boot use a signed shim. If you install out-of-tree kernel modules, you may need to enrol a Machine Owner Key (MOK) through the blue MOK manager screen at boot. That is the supported path, not disabling Secure Boot permanently.

Remember that Secure Boot protects the boot chain only. It does not replace full-disk encryption, a strong account password, or keeping the OS patched.

Troubleshooting

Secure Boot Violation at startup. The loader is unsigned or its signature is not trusted. Boot a signed OS installer, repair the bootloader, or temporarily disable Secure Boot to complete the fix, then turn it back on.

The Secure Boot option is greyed out. This usually means CSM is enabled, the boot mode is set to Legacy, or the firmware is in setup mode with no Platform Key. Disable CSM, set UEFI-only boot, and restore factory keys.

No Secure Boot entry at all. Very old machines may predate UEFI, and some budget boards hide the option behind an advanced mode toggle. If your firmware genuinely lacks it, there is no way to add it.

Windows asks for a BitLocker key after the change. Enter the recovery key from your Microsoft account, then let Windows finish booting and re-protect the drive. Do not clear the TPM unless you are prepared to lose encrypted data.

The PC won't boot after clearing keys. Return to firmware setup and restore factory default keys, or reinstall the OS in UEFI mode. A firmware reset via the Clear CMOS jumper or button can also restore defaults; check your manual because it may reset other settings too.

USB drive won't boot with Secure Boot on. Recreate it with a tool that supports UEFI and signed boot files, or disable Secure Boot for that one session.

Frequently Asked Questions

Does enabling Secure Boot wipe my data?

No. Changing the Secure Boot setting does not erase drives. However, it can trigger a BitLocker recovery prompt, so have your key ready.

Is Secure Boot the same as a BIOS password?

No. A BIOS or supervisor password restricts who can open firmware setup. Secure Boot verifies boot software signatures. They are separate controls and can be used together.

Can I use Secure Boot with Linux?

Yes, with distributions that ship a signed shim bootloader. Custom kernels and unsigned modules may need a Machine Owner Key enrolled.

Why is Secure Boot greyed out after a Windows update?

The update itself rarely changes firmware. More often the machine rebooted into a legacy mode or the firmware reset. Re-enter setup, confirm UEFI-only boot, and restore default keys.

Should I leave Secure Boot on?

Yes for everyday use. Turn it off only temporarily for a specific unsigned tool or installer, then re-enable it. Rootkits that modify the boot path are exactly what it blocks.

Do I need to reset Windows after changing Secure Boot?

No. The setting takes effect at the next boot and does not require reinstalling Windows if the install was already UEFI-based.