|

How To Convert MBR To GPT In Windows 11 Without Data Loss (2026)

Microsoft’s MBR2GPT tool converts a Windows system disk from MBR to GPT without deleting the data on it.

Run mbr2gpt /validate first, then mbr2gpt /convert, and switch the PC’s firmware to UEFI mode before you restart.

This guide shows how to check your disk, run the conversion from Windows, and fix the common errors.

Quick answer: check, validate, convert

StepWhat to do
1. Check the diskRun Get-Disk in PowerShell and read the Partition Style column
2. Back upThe conversion cannot be undone
3. Validatembr2gpt /validate /disk:0 /allowFullOS
4. Convertmbr2gpt /convert /disk:0 /allowFullOS
5. Switch firmwareSet the PC to boot in UEFI mode before the next startup

Every command and requirement here comes from Microsoft’s MBR2GPT reference on Microsoft Learn.

Check whether your disk is MBR or GPT

Microsoft gives three ways to see the partition style of a disk.

MethodHow
PowerShellRun Get-Disk | ft -Auto and read the Partition Style column, which shows MBR or GPT
Disk ManagementRun diskmgmt.msc, right-click the disk, select Properties, open the Volumes tab and read Partition style
DiskPartRun diskpart, then list disk; a star in the Gpt column means GPT, and a blank means MBR

If the disk already says GPT, you have nothing to convert.

What MBR and GPT mean

Microsoft says MBR is the partition style that goes with legacy BIOS and GPT is the style that goes with UEFI.

MBRGPT
Firmware it goes withLegacy BIOSUEFI
PartitionsUp to four primary partitionsMore than four partitions
Disk size2 TB or smaller, and not recommended for larger drivesCan manage disks larger than 2 TB

Microsoft’s Windows Setup page adds that a PC booted in UEFI mode needs a GPT disk, and a PC booted in legacy BIOS mode uses MBR.

Before you convert

  • Back up your data first, because the output says the changes cannot be undone.
  • The device must support UEFI, and you must switch the firmware to UEFI boot mode after the conversion.
  • Only a system disk can be converted with this tool, so a second data disk cannot.
  • BitLocker volumes can be converted only if protection is suspended.
  • Windows 7, 8 and 8.1 disks are not officially supported for offline conversion.

Our guide to creating a recovery drive gives you a way back into Windows if something goes wrong.

What MBR2GPT checks before it changes anything

The tool runs validation first and stops if any check fails.

  1. The disk is currently MBR.
  2. There is enough unpartitioned space for the GPT structures: 16 KB plus 2 sectors at the front and 16 KB plus 1 sector at the end.
  3. The MBR has no more than three primary partitions.
  4. One partition is active and is the system partition.
  5. The disk has no extended or logical partitions.
  6. The boot configuration store has a default OS entry that points to an OS partition.
  7. Volume IDs can be read for every volume that has a drive letter.
  8. Every partition has an MBR type Windows recognizes, or a mapping for it.

Validate the disk

  1. Select Start, type cmd, and choose Run as administrator for Command Prompt.
  2. Type the validate command and press Enter.
mbr2gpt.exe /validate /disk:0 /allowFullOS

Replace 0 with your system disk number from Get-Disk, because Microsoft says that if you leave out /disk the tool uses the system disk.

A good result ends with the line “Validation completed successfully”, and the command changes nothing.

Convert the disk from Windows

By default Microsoft runs MBR2GPT from the Windows Preinstallation Environment, and the /allowFullOS option lets it run from the full operating system.

mbr2gpt.exe /convert /disk:0 /allowFullOS

Run it from the same administrator Command Prompt, and do not skip the validate step.

From full Windows the old system partition is in use, so the tool creates a new EFI system partition by shrinking the Windows partition.

Step the tool performsNotes
Shrinks the system and OS partitionsSpace for the new EFI partition
Creates the EFI system partition100 MB of FAT32, or 260 MB on 4K-sector disks
Installs boot files and applies the GPT layoutData is left in place
Updates the boot entry and drive lettersRestores letter assignments

The tool ends by reminding you to switch the firmware to UEFI mode before the new system can boot properly.

Switch the firmware to UEFI mode

After the conversion the disk can boot only in GPT and UEFI mode.

Restart the PC, open the firmware settings and set the boot mode to UEFI; Microsoft notes that many UEFI PCs include a compatibility support module (CSM) that emulates legacy BIOS.

Where that menu lives depends on the PC maker, and you can find your firmware version with our guide to checking your BIOS version.

Return codes and what to do

CodeMeaningWhat Microsoft suggests
0Conversion completedNone
6One or more volumes are encryptedSuspend BitLocker and retry
7The disk layout does not meet requirementsLook for extended or logical partitions, more than three primary partitions, or unknown types
8Could not create the EFI system partitionMake sure the Windows partition can shrink
9Could not install boot filesCheck the logs
10Could not apply the GPT layoutCheck the logs
100GPT applied but some boot entries not restoredRepair boot configuration manually

Logs go to the Windows folder by default, and setupact.log and setuperr.log are the most detailed.

Check the result

  1. Run Get-Disk | ft -Auto again.
  2. Confirm the Partition Style column now shows GPT.
  3. If a drive letter changed, reassign it in Disk Management; our guide to changing a drive letter has the steps.

If you cannot use MBR2GPT

Microsoft’s Disk Management page says a disk can be converted from the Disk Management window only when it has no partitions or volumes.

That route means deleting every volume on the disk, so it suits an empty or new disk, as in our guide to setting up a new drive.

It is not a way to convert the disk Windows is running from.

Sources

Leave a Reply

Your email address will not be published. Required fields are marked *