Boot · Windows 11
Fix a PC that will not boot after you turn on Secure Boot
Turning on Secure Boot should take a minute, but on a PC installed in legacy mode it leaves Windows unable to start at all. Turn Secure Boot back off first to get your working PC back, check how Windows was installed, and only turn it on again after the disk is converted to the UEFI layout it needs.
What you need
- Access to the firmware setup screen. Usually a key such as Delete or F2 pressed right after power-on — the same screen where you turned Secure Boot on.
- A backup of anything irreplaceable. The conversion step later rewrites the disk layout, so back up first even though it is designed to keep your files.
- Your BitLocker recovery key, if you use BitLocker. Firmware and boot changes can trigger a recovery prompt on the next start.
Read the problem before you touch it
- Understand the mismatch. Secure Boot only works in UEFI mode. If Windows was installed while the board ran in legacy or CSM mode, its system disk uses the older MBR layout and boots the legacy way — so with CSM off and Secure Boot on, the firmware simply has no boot path it will accept.
- Note what the PC actually does. Dropping straight back into the firmware screen, or reporting that no bootable device was found, fits the layout mismatch. A Windows logo, a recovery screen, or a blue screen means Windows is being found and the problem sits further along.
- Plan to check the disk style once Windows is back. The deciding fact is whether the system disk is MBR or GPT. Microsoft covers the two boot modes in Boot to UEFI Mode or Legacy BIOS mode.
The simple fixes, in order
- Turn Secure Boot back off. Enter firmware setup, set Secure Boot back to Disabled, and if you changed the boot mode to get there, re-enable CSM or legacy boot. Save and restart. Windows should start exactly as it did before the change — this restores your working PC before anything else is attempted.
- Check the system disk style in Windows. Right-click Start, open Disk Management, right-click the disk that holds Windows, choose Properties, and look at the Volumes tab. Partition style GUID Partition Table (GPT) means the disk is already UEFI-ready. Master Boot Record (MBR) means conversion comes first.
- If the disk is already GPT, look at the boot order instead. Go back into firmware setup, turn Secure Boot on again, and make sure Windows Boot Manager is the first boot entry rather than the bare drive name. Save, restart, and test.
- Confirm the boot mode Windows reports. Press Windows key + R, run
msinfo32, and check the BIOS Mode line. On a legacy install it reads Legacy, which matches an MBR disk and confirms the conversion route below. If it reads UEFI and the disk is GPT, the firmware mode is already right and the boot order in the previous step is the suspect.
The advanced route
- Validate the disk for conversion. Open Windows Terminal as administrator and run
mbr2gpt /validate /disk:0 /allowFullOS, using the disk number Disk Management showed for your system drive. Microsoft documents the tool in MBR2GPT. Validation changes nothing; it only reports whether conversion can proceed. - Convert the disk. If validation passes, run
mbr2gpt /convert /disk:0 /allowFullOS. When it finishes, restart straight into firmware setup before Windows loads — the next boot must be a UEFI boot, not a legacy one. - Switch the firmware over in the same visit. In firmware setup, disable CSM or legacy boot, set the boot mode to UEFI, put Windows Boot Manager first, and only then turn Secure Boot on. Save and restart. Microsoft's overview of the boot failure patterns behind this is in Advanced troubleshooting for Windows boot problems.
End state
- Windows starts normally with Secure Boot shown as On in
msinfo32. - BIOS Mode in
msinfo32reads UEFI, and the system disk partition style reads GPT. - Two restarts in a row reach the sign-in screen with no firmware detour and no recovery prompt.
When it goes wrong
- Validation fails. Do not force the conversion. The usual causes are too many partitions on the disk or no room for the new EFI partition — back up fully and treat a clean install in UEFI mode as the honest route instead.
- Windows asks for a BitLocker recovery key. Enter the key for that drive and let it start. Once you are back in, open Control Panel > System and Security > BitLocker Drive Encryption, suspend protection for that drive, restart once, and resume it, so the new boot settings are recorded.
- It still will not boot with Secure Boot on, but boots with it off. Leave it off and working. An older add-in card or boot device with unsigned firmware can block Secure Boot; that is a hardware limit to solve later, not a reason to leave the PC down.
Related fixes
-
Fix a PC that will not boot after a CPU upgrade
A PC that will not start after a CPU swap usually has a board that does not know the new chip yet, not a dead processor. Put the old CPU back, update the firmware to a version that lists the new chip, and reseat and remount carefully before you try again.
-
Fix a 'This PC can't run Windows 11' result caused by TPM 2.0 or Secure Boot being off
A PC that fails the Windows 11 check on TPM 2.0 or Secure Boot often already has the hardware — the features are simply switched off in the firmware. Confirm what Windows can see first, then turn the missing feature on in the PC's setup screens.
-
Fix a PC whose USB ports all stop working after a driver update
When every USB port dies right after a driver update, the update itself is the prime suspect — all the ports share one controller driver. Get control back with a workaround input first, roll that controller driver back next, and pause updates until a fixed driver appears.
-
Fix a drive that disappears from File Explorer after the PC sleeps
A drive that vanishes from File Explorer after sleep, then comes back after a restart, is usually being powered down and not woken cleanly, or Windows has marked it as removed. Check Disk Management first to see whether Windows still sees the drive at all, then fix the power and hot-swap settings that let it drop.
Sources
- Microsoft Learn, Boot to UEFI Mode or Legacy BIOS mode — how Windows Setup and the firmware agree on UEFI versus legacy boot.
- Microsoft Learn, MBR2GPT — validating and converting a system disk from MBR to GPT without deleting data.
- Microsoft Learn, Advanced troubleshooting for Windows boot problems — the phases of the boot process and where each failure stops it.