How to enable Secure Boot in BIOS/UEFI

Secure Boot is a technology built into UEFI that checks the digital signatures of the bootloader and drivers and stops malicious or tampered code from running before Windows even starts. Windows 11 requires it, and modern games and anti-cheat systems ask for it more and more often, so it helps to know how to switch on Secure Boot in different vendors' BIOS and what to do when the option is unavailable.

How to enable Secure Boot in BIOS/UEFI

1
Restart the computer and enter BIOS/UEFI - Del, F2, F10 or Esc depending on the maker. If the key does nothing, see the setup keys by brand. In the virtual OVMF UEFI example below, you get in with Esc; in the main menu choose Device Manager and press Enter. A physical PC will look different and may use another key.
Virtual OVMF UEFI example: after entering with Esc, select Device Manager and press Enter. A physical PC has a different menu.
Virtual OVMF UEFI example: after entering with Esc, select Device Manager and press Enter. A physical PC has a different menu.
2
If needed, disable CSM first: find CSM Support or Launch CSM and set it to Disabled. Make sure Boot Mode = UEFI. Only switch CSM off once you have confirmed that the installed Windows boots in UEFI mode from a GPT system disk. The OVMF shown here has no CSM switch, and no physical board screen is shown for this step.
3
Look for a Security, Boot, Authentication or BIOS Features section - the name varies by vendor. In the OVMF shown, open Device Manager → Secure Boot Configuration and press Enter.
The Secure Boot Configuration section in OVMF. Other manufacturers put it somewhere else.
The Secure Boot Configuration section in OVMF. Other manufacturers put it somewhere else.
4
Open the Secure Boot or Secure Boot Configuration item and turn the feature on. In the OVMF shown, select Attempt Secure Boot and tick it: the screenshot shows the [X] mark (1), and Current Secure Boot State reads Enabled (2). In other firmware the switch may be labelled Enabled / On. Only load the factory keys with Install Default Keys or a similar item if your model's manufacturer instructions say so; that step is not shown in these screenshots.
Secure Boot turned on in OVMF: Current Secure Boot State is Enabled and Attempt Secure Boot is ticked.
Secure Boot turned on in OVMF: Current Secure Boot State is Enabled and Attempt Secure Boot is ticked.
5
Save the changes and restart. In the OVMF shown, press F10 (1), then Y (2) in the Save configuration changes? window. After saving, reboot the PC; in OVMF you can go back to the main menu and pick Reset. Other firmware may label the confirmation Yes.
OVMF: press F10, then Y at the Save configuration changes? prompt. After saving, restart the computer.
OVMF: press F10, then Y at the Save configuration changes? prompt. After saving, restart the computer.
Once Windows is up, check the result in msinfo32 - the Secure Boot State line should show the feature as switched on; in the screenshot it reads On.

How to tell whether Secure Boot is on in Windows

1
Press Win + R. In the Run window, type msinfo32 in the Open box (1), then click OK or press Enter (2).
Windows 11 Run dialog: type msinfo32 in the Open box and click OK or press Enter.
Windows 11 Run dialog: type msinfo32 in the Open box and click OK or press Enter.
2
In System Information, find two lines:
BIOS Mode - UEFI in the screenshot (1); with Legacy, Secure Boot is not available.
Secure Boot State - On in the screenshot (2). The wording can vary between Windows versions; «Unsupported» means you should check whether UEFI/Secure Boot is supported at all.
Windows 11 Pro, System Information: BIOS Mode is UEFI; Secure Boot State is On.
Windows 11 Pro, System Information: BIOS Mode is UEFI; Secure Boot State is On.
3
If BIOS Mode shows Legacy, Secure Boot cannot be turned on in the current mode. Moving an installed Windows to UEFI/GPT is a separate job: back up first and check that the firmware and disk layout are compatible. For eligible system disks Microsoft offers MBR2GPT, which converts without wiping data; its conditions must be checked first. Do not format the system disk or flip the boot mode blindly. The screenshot above already shows UEFI with Secure Boot on; a switch from Legacy was not recorded here.
4
The second way is Windows PowerShell as administrator. Run Confirm-SecureBootUEFI and press Enter. In the screenshot the command returned True, so Secure Boot is on. On a supported computer with Secure Boot off, the answer is False. According to Microsoft's documentation, Cmdlet not supported on this platform can appear with BIOS/Legacy boot or when Secure Boot is not supported, so it does not by itself prove Legacy mode. An access error means PowerShell has to be run as administrator.
PowerShell running as administrator. Confirm-SecureBootUEFI returned True.
PowerShell running as administrator. Confirm-SecureBootUEFI returned True.

What Secure Boot needs

If even one condition is not met, the Secure Boot item in BIOS may be grey, locked or missing.

UEFI boot mode (not Legacy/CSM)
For Windows to boot in UEFI mode, the system disk must use GPT. Choosing GPT when writing a stick in Rufus applies to the stick and does not change the system disk's layout.
Secure Boot support in the board firmware (every modern board and laptop has it)
An operating system that supports Secure Boot - Windows 8/10/11 or a current signed Linux

What the Secure Boot items in BIOS mean

Secure Boot Control / Secure Boot Support
The main on/off switch. Enabled means on, Disabled means off. If it is greyed out, the switch itself is not the problem: CSM, Legacy mode or missing keys are blocking it.
Secure Boot Mode: Standard or Custom
Standard - the firmware uses Microsoft's factory keys, which is what you want 99% of the time. Custom unlocks manual key management and is meant for Linux signed with your own certificates. If you picked Custom by mistake, set it back to Standard.
Install Default Keys / Restore Factory Keys / Factory Key Provision
Loads Microsoft's factory key set into the firmware. Without it the Secure Boot switch may refuse to turn on. Restoring keys changes the certificates the firmware trusts, so do not do it at random, especially with custom keys or several operating systems. If BitLocker is on, make sure you can reach the recovery key beforehand. Match the item name and steps against your manufacturer's instructions.
Platform Key (PK) and Key Management
The Platform Key is the root key that signs the others. Key Management only matters for manual setup; Windows does not need you to go in there, Install Default Keys is enough.
CSM Support / Launch CSM
Compatibility mode for the old BIOS. While it is on, Secure Boot cannot work - this is not a bug, the two modes simply exclude each other. Disable CSM only if the system is already installed as UEFI + GPT, or it will stop booting.

Brand-specific details

Gigabyte and AORUS
BIOS key - Del. In Easy Mode press F2 to switch to Advanced Mode. The item sits under Boot → Secure Boot, on AORUS boards sometimes under Settings → Boot. Set CSM Support to Disabled first - while CSM is on, the Secure Boot line stays grey. Once it is enabled, choose Secure Boot Mode: Standard, otherwise the firmware will wait for keys to be loaded by hand.
ASUS (ROG, TUF, Prime)
Enter with Del or F2, then F7 for Advanced Mode. Path: Boot → Secure Boot. If the item is locked, open Boot → CSM, disable it, save with F10 and go back in. Some boards first need Install Default Keys pressed in the Key Management subsection - without keys the switch stays inactive.
MSI
Enter with Del, Advanced mode with F7. Path: Settings → Advanced → Windows OS Configuration → Secure Boot, or Settings → Boot on older boards. Before enabling it, set BIOS UEFI/CSM Mode = UEFI. In the Secure Boot submenu, set Secure Boot Support to Enabled and leave the mode on Standard.
ASRock
Enter with F2 or Del. Path: Security → Secure Boot, on newer boards Advanced → Secure Boot. Disable CSM in the Boot section first. If the switch is grey, press Install Default Secure Boot Keys - ASRock places it as a separate item right next to it.
HP, Dell, Lenovo (laptops)
Secure Boot lives under Security, Boot Options or System Configuration. Turning it on may ask you to restore the factory keys - choose Restore Factory Keys or Install Default Keys.
Xiaomi, Huawei / Honor, Chuwi and other Chinese brands
The interface looks different but works the same way - UEFI mode, CSM off, Secure Boot on in the Security or Boot subsection. On some budget models the mode is hard-wired and always on, or partly locked.
If the Secure Boot item is unavailable, first move the system to UEFI + GPT (be sure to back up your data), and only then enable Secure Boot.
Windows 11 needs a computer that supports Secure Boot; turning the feature on strengthens boot protection. If you cannot enable it and still need the system, there is a workaround: installing Windows 11 without TPM and Secure Boot.

Comments: 0