Skip to content

How-ToMotherboard

How to Convert MBR to GPT in Windows 11 Without Losing Data (MBR2GPT)

Use Microsoft's built-in MBR2GPT tool to convert a Windows 11 system drive from MBR to GPT without losing data: check the partition style, back up, validate, convert, then switch the firmware from Legacy/CSM to UEFI and turn on Secure Boot.

By , Systems & Technical Editor

7 min read

How to Convert MBR to GPT in Windows 11 Without Losing Data (MBR2GPT)

If your Windows install lives on a drive that still uses the old Master Boot Record (MBR) partition style, your PC is booting in legacy BIOS (CSM) mode. That rules out Secure Boot, and Microsoft says the requirement for upgrading a Windows 10 PC to Windows 11 is that it's Secure Boot capable with UEFI enabled. The fix used to be a full reinstall, but Windows includes a tool called MBR2GPT that converts the system disk to the GUID Partition Table (GPT) style without modifying or deleting your data, after which you switch the motherboard firmware to UEFI.

For the background on the two partition styles, see our MBR vs GPT explainer. This guide is the step-by-step version.

Before you start: what MBR2GPT can and can't do

According to Microsoft, MBR2GPT:

  • Only converts system disks, the drive Windows boots from. It can't convert a separate data drive. For those, you'd normally back up, wipe and re-initialise the drive as GPT, or use a third-party partition tool (see our best free disk partition software).

  • Lives in Windows\System32 on any supported version of Windows, so there's nothing to download.

  • Runs from Windows PE by default. It's blocked inside a running copy of Windows unless you add the /allowFullOS option. The Windows Recovery Environment (WinRE) is based on Windows PE, so its Command Prompt is one way to use the tool's default mode.

  • Can't be undone. Once conversion finishes, the disk can only boot in UEFI (GPT) mode.

  • Needs a UEFI-capable PC. After converting, the firmware must be set to boot in UEFI mode, and Microsoft says to make sure the device supports UEFI before you start. Check your motherboard manual or manufacturer's website if you're not sure.

Microsoft doesn't officially support offline conversion of disks with Windows 7, 8 or 8.1 on them; its advice is to upgrade to a supported Windows version first and then convert.

Step 1: Check whether your drive is MBR or GPT

There are three easy ways, all documented by Microsoft:

  1. Disk Management: right-click Start and choose Disk Management. Right-click the disk (for example "Disk 0") in the bottom pane, choose Properties, open the Volumes tab and look at Partition style.

  2. PowerShell: open Terminal and run Get-Disk | ft -Auto. The Partition Style column shows MBR or GPT for each disk, next to its disk number.

  3. DiskPart: run diskpart, then list disk. Disks with an asterisk in the Gpt column are already GPT. This one works inside WinRE too.

Make a note of your system disk's number (usually 0). If it already says GPT, you don't need this guide; you may just need to turn on Secure Boot and TPM.

Step 2: Back up and prepare

MBR2GPT is designed not to touch your data, but it rewrites the partition layout of your boot drive, so take a full image backup first. Windows' own tools or any of our best free backup software picks will do. It's also worth having a Windows 11 recovery drive or installation USB to hand in case the PC won't boot afterwards.

If the drive uses BitLocker or device encryption, Microsoft says MBR2GPT can convert it only while protection is suspended, and that to resume BitLocker afterwards you need to delete the existing protectors and recreate them. Make sure you have your recovery key before you begin; our guide to finding your BitLocker recovery key explains where it's stored.

Step 3: Validate the disk

Validation checks whether the disk is eligible without changing anything. Microsoft lists the conditions MBR2GPT checks for:

  • The disk is currently MBR.

  • There's enough unpartitioned space for the GPT structures: 16KB plus two sectors at the start of the disk, and 16KB plus one sector at the end.

  • There are no more than three primary partitions.

  • One partition is set as active and is the system partition.

  • There are no extended or logical partitions.

  • The boot configuration (BCD) store has a default entry pointing at the Windows partition.

  • Every partition is a type Windows recognises (or is mapped with the /map option).

From inside Windows (simplest): open Terminal as administrator and add the full-OS switch:

mbr2gpt /validate /disk:0 /allowFullOS

From the recovery environment (the tool's default Windows PE mode): open Settings > System > Recovery, select Restart now next to Advanced startup, then choose Troubleshoot > Advanced options > Command Prompt. Run:

mbr2gpt /validate /disk:0

Microsoft's own examples are run this way, from a Windows PE command prompt.

Replace 0 with your disk number if it's different. If you see "Validation completed successfully", carry on. If validation fails, nothing has been changed. Check the error, which should point to one of the conditions above, such as too many partitions or an extended partition, and look at the log files (see Troubleshooting below).

Step 4: Convert the disk

Run the same command with /convert instead of /validate. Inside Windows, from an admin Terminal:

mbr2gpt /convert /disk:0 /allowFullOS

From WinRE's Command Prompt, leave off /allowFullOS: mbr2gpt /convert /disk:0.

MBR2GPT validates again, then works through its conversion steps: it creates an EFI system partition if needed, installs the UEFI boot files, applies the GPT layout, updates the BCD store and restores drive letters. When it finishes, it reports "Conversion completed successfully" and reminds you that the firmware must be switched to UEFI before the PC will boot properly.

A few things happen behind the scenes that are worth knowing:

  • Inside full Windows, a new EFI partition is carved from your C: drive. Microsoft explains that the old MBR system partition is in use when you convert from the full OS, so it can't be reused; MBR2GPT instead shrinks the Windows partition to create a new 100MB FAT32 EFI system partition (260MB on 4K-sector disks).

  • From WinRE, the old system partition may be reused if it's between 100MB (260MB for 4K-sector disks) and 1GB and isn't also the Windows or recovery partition.

  • A stray drive letter may appear. If the old system partition isn't reused, Microsoft warns it might be assigned a drive letter after conversion. You can remove that letter in Disk Management.

Step 5: Switch the firmware to UEFI

Restart and enter the motherboard firmware (BIOS) setup; the key to press at start-up depends on the manufacturer and is listed in your manual. Microsoft's Secure Boot guidance says you need to switch the boot mode from Legacy BIOS (often called CSM) to UEFI; if your board offers both UEFI and Legacy/CSM, set UEFI as the first or only option. Microsoft points you to your PC manufacturer's support information if you're unsure how to make the change, because menu names vary between boards.

Save and exit. Windows should now start from the new EFI system partition.

With Windows booting in UEFI mode, you can enable Secure Boot in the same firmware menus. Microsoft says the Windows 11 upgrade requirement is only that the PC be Secure Boot capable with UEFI enabled, but recommends turning Secure Boot on for better security. Our guide to enabling Secure Boot and TPM covers the common menus, and updating your Secure Boot certificates explains the 2026 certificate change.

If you suspended BitLocker, now's the time to delete and recreate its protectors, as Microsoft advises, then turn protection back on.

Troubleshooting

  • Read the logs. MBR2GPT writes setupact.log and setuperr.log, which Microsoft says contain the most detailed information about disk layouts and any errors. They go to the Windows folder (%windir%) by default, or to a folder of your choice with /logs: followed by a folder path; Microsoft notes the folder must already exist. If you run the tool from WinRE, pointing /logs: at a folder on your Windows drive makes the logs easier to find afterwards.

  • "Too many partitions" or extended partition errors. Validation fails if there are more than three primary partitions or any logical partitions. Removing an unneeded partition makes the disk eligible, but only do this after a full backup and once you're certain it isn't needed.

  • PC won't boot after converting. First, double-check the firmware is really set to UEFI rather than Legacy/CSM. If it still fails, boot from your recovery drive or installation USB and try Startup Repair, or restore from your backup.

  • Drive letter problems. Microsoft says MBR2GPT tries to restore all drive-letter assignments and shows an error if it can't, so you can fix the letter manually in Disk Management.

Our verdict

If your Windows 11 PC is still booting from an MBR disk in legacy mode, MBR2GPT is the cleanest way to move to GPT and UEFI without reinstalling. Check the partition style, back up, suspend BitLocker if you use it, validate, convert, then switch the firmware from CSM to UEFI and turn on Secure Boot. Running it from the recovery environment's Command Prompt is closest to how Microsoft designed the tool; inside Windows, you need /allowFullOS and it will shrink C: slightly to make a new EFI partition. Either way, a full backup beforehand is non-negotiable, because the conversion can't be reversed.

The bottom line

If your Windows 11 PC is still booting from an MBR disk in legacy mode, MBR2GPT is the cleanest way to move to GPT and UEFI without reinstalling. Check the partition style, back up, suspend BitLocker if you use it, validate, convert, then switch the firmware from CSM to UEFI and turn on Secure Boot. Running it from the recovery environment's Command Prompt is closest to how Microsoft designed the tool; inside Windows, you need /allowFullOS and it will shrink C: slightly to make a new EFI partition. Either way, a full backup beforehand is non-negotiable, because the conversion can't be reversed.

Sources

  1. 01MBR2GPT.EXE (Microsoft Learn)
  2. 02Windows 11 and Secure Boot (Microsoft Support)
  3. 03Windows Recovery Environment (Microsoft Support)
  4. 04Windows Recovery Environment (Windows RE) technical reference (Microsoft Learn)

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

How to Fix Crackling, Popping or Distorted Audio in Windows 11

How-To

How to Fix Crackling, Popping or Distorted Audio in Windows 11

Crackling, popping or distorted PC audio can come from Windows sound settings, drivers, USB ports, software conflicts, DPC latency or a known Intel discrete-TPM bug. This guide works through Microsoft's and Focusrite's official fixes in order, from audio enhancements to LatencyMon.

Marcus Thorne7 min

How to Use Startup Repair When Windows 11 Won't Boot

How-To

How to Use Startup Repair When Windows 11 Won't Boot

When Windows 11 won't start, Startup Repair in the Windows Recovery Environment is the first fix to try. How to reach WinRE even if Windows won't load, run Startup Repair, find its log, and which recovery tools to try next.

Marcus Thorne7 min

Scoop vs WinGet: Which Windows Package Manager Should You Use?

Versus

Scoop vs WinGet: Which Windows Package Manager Should You Use?

Scoop and WinGet both install Windows apps from the command line. WinGet is built into Windows 11 and runs each app's own installer; Scoop installs mostly portable apps per user, without UAC prompts, from Git-based buckets. We compare installs, catalogues, updates and who should use which.

Callum Reid7 min