Hardware

How to Turn On Secure Boot (Enable It in UEFI Settings)

To turn on Secure Boot, restart into your PC's UEFI firmware settings, set the boot mode to UEFI (not Legacy/CSM), set Secure Boot to Enabled, then save and exit. Secure Boot can't be switched on from inside Windows, because Microsoft's design requires a person to change it in the firmware.

The firmware menu looks different on every manufacturer's PC, so this article gives the Windows-side steps exactly and describes the firmware steps by the names you are likely to see.

Step 1: Check whether Secure Boot is already on

Press the Windows key and R together, type msinfo32 and press Enter. In the System Summary pane, read two lines:

  • BIOS Mode: UEFI or Legacy.
  • Secure Boot State: On, Off or Unsupported.

You can also check from an administrator PowerShell window:

Confirm-SecureBootUEFI

Per Microsoft's documentation it returns True when Secure Boot is supported and enabled, and False when it is supported but disabled. On a BIOS (non-UEFI) computer, or one without Secure Boot support, it prints Cmdlet not supported on this platform. If you run it without administrator rights you get Unable to set proper privileges. Access was denied.

How to read the result:

BIOS ModeSecure Boot StateWhat to do
UEFIOnNothing. It is already enabled.
UEFIOffGo to step 3 and enable it in the firmware.
LegacyUnsupportedWindows is installed in Legacy (MBR) mode. Read step 2 before changing anything.

Step 2: If BIOS Mode says Legacy, convert the disk first

Secure Boot needs the PC to start in UEFI mode, and a Windows installation made in Legacy mode normally sits on an MBR disk. If you only flip the firmware to UEFI, that installation will not start. Microsoft's MBR2GPT tool converts the system disk to GPT without deleting data, and its documentation says that after conversion "the firmware must be reconfigured to boot in UEFI mode". It also warns that the changes "cannot be undone", so back up first.

Check that the disk can be converted. Run this in an elevated Command Prompt (the default disk is the system disk):

mbr2gpt /validate /allowFullOS

If validation succeeds, convert it:

mbr2gpt /convert /allowFullOS

/allowFullOS is required to run the tool from inside Windows instead of from Windows PE. In that mode a new 100 MB EFI system partition is created by shrinking the Windows partition. The tool only converts a disk that passes validation, which includes having no more than three primary partitions and no extended partitions. A BitLocker-encrypted disk can be converted only while protection is suspended. Then continue to step 3 and switch the firmware to UEFI at the same time as you enable Secure Boot. Don't restart into Windows between the conversion and the firmware change.

A TPM is a separate requirement for Windows 11, not for Secure Boot itself. See What is TPM 2.0 if you are also checking Windows 11 compatibility.

Step 3: Open the UEFI firmware settings

From Windows, which is the easiest route on a modern laptop:

  1. Open the Start menu, select Power, hold Shift and select Restart.
  2. Select Troubleshoot > Advanced options > UEFI Firmware settings.
  3. Confirm the restart.

If you don't see UEFI Firmware settings, the PC is probably running in Legacy BIOS mode. Use the other route: restart and press the manufacturer's key while it starts. Microsoft lists the common keys as Esc, Delete, F1, F2, F10, F11 or F12 (and Volume up or Volume down on tablets). Many PCs show the key on the first screen. If yours goes by too fast, check the manufacturer's support site.

Step 4: Enable Secure Boot in the firmware

The exact wording depends on the manufacturer, so look for these items, usually under a Boot, Security or Authentication tab:

  1. Boot mode: set it to UEFI. If there is a CSM, Legacy support or Compatibility Support Module option, set it to Disabled.
  2. Secure Boot: set it to Enabled. If the firmware offers a choice between factory keys and custom keys, pick the factory keys unless you know you need custom ones.
  3. Save and exit, often with F10, and let the PC restart.

Then repeat step 1. Secure Boot State should read On, and Confirm-SecureBootUEFI should return True.

If you use BitLocker, suspend it first

Microsoft's BitLocker FAQ lists "changing any boot configuration settings" and changing the BIOS or UEFI firmware among the changes that can fail the integrity check and keep the TPM from releasing the key. The PC then asks for the 48-digit recovery password at the next start. The FAQ also says BitLocker can't bind to PCR 7 when Secure Boot is disabled or unavailable.

To avoid the prompt, suspend BitLocker before you change the firmware and resume it afterwards, and make sure you can find your recovery key. Suspending keeps the data encrypted and only stores a clear key on the drive until you resume. To see whether BitLocker uses Secure Boot for integrity validation, run this in an elevated Command Prompt:

manage-bde.exe -protectors -get C:

If it does, the output includes Uses Secure Boot for integrity validation.

If Secure Boot is greyed out or won't turn on

  • The boot mode is still Legacy/CSM. Set UEFI mode and disable CSM, save, and re-enter the menu. The Secure Boot option often becomes selectable only after that restart.
  • No keys are installed. Some firmware shows the state as Setup Mode or "not active" because the Platform Key is missing. Look for an option such as Restore factory keys, Install default Secure Boot keys or Reset to default. Microsoft's OEM requirements describe a shipped, locked PC as having SecureBoot=1 and SetupMode=0, with the key databases already provisioned.
  • A firmware password or administrator lock. Work or school PCs may block the setting. Ask your IT team, since they may enforce it by policy.

Will Secure Boot stop other operating systems?

Microsoft's documentation says Certified for Windows x86 PCs must ship with Secure Boot enabled, trust Microsoft's certificate, let the user trust other bootloaders, and let the user turn Secure Boot off completely. That is why bootloaders signed through Microsoft, which include those of many Linux distributions, start with Secure Boot on. A self-built or unsigned bootloader will be refused until you add its signature to the firmware database or turn Secure Boot off. Turning it off removes the bootkit protection.

As of November 2026, Microsoft's Secure Boot page also carries a notice that the Secure Boot certificates it issued in 2011 begin expiring in June 2026, and that devices need updated certificates to keep verifying boot software. It points to aka.ms/GetSecureBoot for guidance. That certificate update is a separate task from turning the feature on.

Frequently asked questions

Can I turn on Secure Boot from inside Windows?
No. Microsoft's documentation says software can't change the Secure Boot settings: the user must configure the UEFI firmware manually. Windows can only report the state (System Information or Confirm-SecureBootUEFI) and restart into the firmware menu for you.
Will turning on Secure Boot delete my files?
No. It changes what the firmware is willing to start, not what is on the disk. The real risks are a PC that no longer boots if Windows was installed in Legacy/MBR mode, and a BitLocker recovery key prompt if BitLocker was not suspended first.
Why is Secure Boot greyed out in my firmware menu?
Common reasons are that the firmware is in Legacy/CSM mode, or that no Secure Boot keys are installed (the firmware is in Setup Mode). Switch the boot mode to UEFI and disable CSM first, and look for an option to restore factory or default Secure Boot keys. Names vary by manufacturer.
Can I still run Linux with Secure Boot on?
Often yes. Certified Windows PCs trust Microsoft's certificate, and Microsoft signs bootloaders for other operating systems, including Linux distributions. Some PCs, such as Secured-core PCs, ship with that third-party trust turned off, and you can add it back in the firmware's Secure Boot menu.

Sources