Skip to main content

How to enable Secure Boot: check it, convert the disk to GPT and turn it on in UEFI

Windows 11 requires Secure Boot. Check it in one command, convert MBR to GPT without reinstalling, enable it in UEFI by brand, and the 2026 certificate expiry.

Updated 14 November 2026 · 4 min read

After the TPM, Secure Boot is the second setting that blocks the move to Windows 11 on devices that are otherwise compatible. It is often disabled because the device still boots "the old way", in legacy mode, with an MBR disk. The good news: everything can be fixed without reinstalling Windows.

The short answer

To enable Secure Boot: check its state with msinfo32 or Confirm-SecureBootUEFI. If "BIOS Mode" shows "Legacy", first convert the disk to GPT with mbr2gpt, then switch the firmware to UEFI mode. Then enable Secure Boot in the boot or security menu of the UEFI and save. To track the Windows 11 migration across a whole fleet, LongLife continuously shows the Windows version and end of support of every device.

Step 1: check the current state

Press Windows + R and type:

Command Prompt
msinfo32

In "System Summary", read two lines:

  • BIOS Mode: "UEFI" (good) or "Legacy" (the disk will need converting);
  • Secure Boot State: "On", "Off" or "Unsupported".

In an elevated PowerShell, a single command:

PowerShell
Confirm-SecureBootUEFI

True: Secure Boot is active. False: the device runs in UEFI but Secure Boot is disabled, go to step 3. An error saying the cmdlet is not supported on this platform means the device boots in legacy mode: go through step 2.

To find the format of the system disk:

PowerShell
Get-Disk | Select-Object Number, FriendlyName, PartitionStyle

GPT is what you want. MBR means a conversion is needed.

BIOS ModeDiskSecure Boot StateWhat to do
UEFIGPTOnNothing
UEFIGPTOffStep 3
LegacyMBRUnsupportedStep 2, then step 3

Step 2: convert the disk from MBR to GPT

Microsoft provides the mbr2gpt tool, which converts the system disk without erasing data. Before you start:

  1. Back up the device's data.
  2. If the disk is encrypted, write down the BitLocker recovery key and suspend protection:
PowerShell
Suspend-BitLocker -MountPoint "C:" -RebootCount 1

In an elevated Command Prompt, validate the disk first (disk 0 here, according to Get-Disk):

Command Prompt
mbr2gpt /validate /disk:0 /allowFullOS

The message "Validation completed successfully" means you can convert. Run the conversion:

Command Prompt
mbr2gpt /convert /disk:0 /allowFullOS

Critical point: right after the conversion, the device will not boot as long as the firmware stays in legacy mode. Go straight on to step 3 and switch the boot mode to UEFI.

Step 3: enable Secure Boot in UEFI

To enter the UEFI from Windows, in an elevated Command Prompt:

Command Prompt
shutdown /r /fw /t 0

If the device no longer boots (after a conversion), use the manufacturer's key at startup: often F2 on Dell, F10 on HP (or Esc then F10), F1 on Lenovo ThinkPad.

Then, in the UEFI:

  1. Disable legacy mode: depending on the model, the option is called "Legacy", "CSM" (Compatibility Support Module) or "Boot Mode". Choose UEFI.
  2. Enable Secure Boot:
BrandWhere to look
DellBoot Configuration (or Secure Boot), "Enable Secure Boot"
HPAdvanced, Boot Options (or Secure Boot Configuration)
Lenovo ThinkPadSecurity, Secure Boot
Other motherboardsBoot or Security, "Secure Boot", often with "OS Type: Windows UEFI mode"
  1. If the UEFI offers to restore the default keys ("Restore Factory Keys" or "Install default Secure Boot keys"), accept: Secure Boot needs its keys to work.
  2. Save and exit (often F10).

Back in Windows, run Confirm-SecureBootUEFI again: it should return True.

2026: the expiry of the 2011 Secure Boot certificates

Secure Boot relies on certificates issued by Microsoft in 2011. They expire in 2026: from June 2026 for the "Microsoft Corporation KEK CA 2011" and "Microsoft UEFI CA 2011" certificates, in October 2026 for "Microsoft Windows Production PCA 2011". Microsoft is replacing them with 2023 certificates, deployed through Windows Update, sometimes with a firmware update from the manufacturer.

The key point: a device does not stop booting when they expire. But until it has the 2023 certificates, it can no longer receive boot security updates. To check that a device has the new certificate, in an elevated PowerShell:

PowerShell
[System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI db).bytes) -match "Windows UEFI CA 2023"

True means the 2023 certificate is present. If the answer is False, check that the device is receiving Windows updates (see our November 2026 Patch Tuesday) and that its firmware is up to date.

LongLife: security and migration of the whole fleet, on one screen

Secure Boot is set device by device. The rest of security and migration is tracked across the whole fleet in LongLife, without visiting a single device:

  • the security posture of every device, always up to date: antivirus, firewall, BitLocker, updates;
  • the Windows version and its end of support, and the share of the fleet already on Windows 11;
  • incidents detected continuously, with the recommended action;
  • action: a signed remote script, an on-site work order, or a recommendation to upgrade or replace, with the cost and CO₂e of each option.

Secure Boot and the TPM are checked with the commands in this guide and in our guide to enabling TPM 2.0. For the full approach, read our article on moving from Windows 10 to Windows 11, and if a device needs a fresh start, our guide to resetting a PC on Windows 11.

LongLife's free plan covers up to 15 devices. Book a meeting to see your fleet in LongLife, or estimate the savings with the simulator.

Sources

Frequently asked questions

How do I know if Secure Boot is enabled?

Press Windows + R, type msinfo32 and look at the "Secure Boot State" line: On, Off or Unsupported. In an elevated PowerShell, the Confirm-SecureBootUEFI command returns True if Secure Boot is active.

Why is the Secure Boot option greyed out in the BIOS?

Most often the device boots in legacy mode (Legacy or CSM) instead of UEFI mode, or the disk is still MBR. Convert the disk to GPT first, then switch the firmware to UEFI mode; the Secure Boot option then becomes available.

Can you convert an MBR disk to GPT without losing data?

Yes, with the mbr2gpt tool provided by Microsoft, from within Windows. Validate the disk first, suspend BitLocker, then switch the firmware to UEFI mode right after the conversion, otherwise the device will no longer boot. A backup is still essential.

Will the 2011 Secure Boot certificates stop PCs from booting in 2026?

No. Their expiry, from June 2026, does not stop a device from booting. It stops it from receiving future boot security updates until the 2023 certificates are installed, which Microsoft does through Windows Update, sometimes with a firmware update from the manufacturer.

How much longer can your fleet last?

The simulator estimates in one minute the budget and CO₂ saved by extending your renewal cycle.

Read next