Convert MBR to GPT After Windows Install: Safe Guide
In this article
You can convert an MBR disk to GPT after installing Windows, but only if the disk has unallocated space at the end for the GPT backup header, or you use a tool that handles the conversion. Windows includes a built-in tool called MBR2GPT that can do this without data loss on the system disk, provided the disk meets certain requirements. For non-system disks, you can use Disk Management or DiskPart, but these require wiping the disk. This guide walks you through the safe methods, what to check first, and how to avoid common pitfalls.
What You'll Need
- A Windows 10 or Windows 11 PC (MBR2GPT is available in these versions).
- Administrator access to run command-line tools.
- A full backup of important data—conversion can fail, and while MBR2GPT is designed to be non-destructive, backups are essential.
- At least 16 MB of unallocated space at the end of the disk for the GPT backup header (MBR2GPT may create this automatically if there's enough free space).
- For non-system disks: a way to back up data, since Disk Management and DiskPart require deleting all partitions.
Step-by-Step
- Check if your disk is MBR or GPT. Open Disk Management (right-click Start > Disk Management). In the lower pane, right-click the disk label (e.g., Disk 0) and select Properties > Volumes tab. The partition style is listed. Alternatively, open Command Prompt as admin and run
diskpart, thenlist disk. A disk with an asterisk under the GPT column is GPT; otherwise it's MBR. Typeexitto leave DiskPart. - Verify MBR2GPT compatibility (for the system disk). Open Command Prompt as administrator and run
mbr2gpt /validate /disk:0 /allowFullOS(replace 0 with your disk number). This checks if the disk can be converted. If validation fails, note the error and see Troubleshooting. The/allowFullOSflag lets you run it from within Windows; without it, you'd need to boot from Windows PE. - Back up your data. Even though MBR2GPT is designed to preserve data, a power loss or unexpected error can cause corruption. Copy important files to an external drive or cloud storage.
- Run the conversion (system disk). In the same elevated Command Prompt, run
mbr2gpt /convert /disk:0 /allowFullOS. The tool will convert the disk to GPT and create the necessary partitions (EFI system partition, Microsoft reserved partition) if missing. It may also shrink the main partition slightly to make room for the GPT backup header. Wait for the process to complete; it usually takes a few minutes. - Change BIOS/UEFI settings to UEFI mode. Restart your PC and enter the firmware settings (usually by pressing Del, F2, F10, or Esc during boot—check your PC or motherboard manual). Find the boot mode setting and change it from Legacy/CSM to UEFI. Also ensure Secure Boot is enabled if you want it (not required for GPT). Save changes and exit.
- Verify the conversion. After Windows boots, open Disk Management again and check the disk properties; it should now show GPT. Alternatively, run
diskpartandlist diskto confirm the asterisk is under GPT. - For non-system disks (data disks only): If the disk does not contain Windows, you cannot use MBR2GPT. You must back up all data, then convert by wiping the disk. Open Disk Management, right-click each partition on the disk and select Delete Volume until the entire disk is unallocated. Then right-click the disk label and select Convert to GPT Disk. Finally, create new partitions and restore your data. Alternatively, use DiskPart:
diskpart,list disk,select disk N,clean,convert gpt,create partition primary,format fs=ntfs quick,assign.
Common Mistakes
- Running MBR2GPT without /allowFullOS: If you omit this flag while running from Windows, the tool will refuse to run because it expects to be in Windows PE. Always include it for in-place conversion.
- Not checking for sufficient free space: MBR2GPT needs unallocated space at the end of the disk (at least 16 MB) for the GPT backup header. If your disk is full, the conversion may fail. Defragment or shrink a partition to create space.
- Forgetting to switch BIOS to UEFI: After conversion, if the BIOS remains in Legacy mode, Windows may not boot. Always change the boot mode to UEFI after conversion.
- Attempting to convert a non-system disk with MBR2GPT: MBR2GPT only works on the disk containing the running Windows OS. For data disks, you must use the wipe-and-convert method.
- Skipping backups: Conversion is generally safe, but hardware issues or power failures can cause data loss. Always back up.
Tips
- Run
mbr2gpt /validatefirst to catch issues before converting. - If you have multiple disks, double-check the disk number with
list diskbefore running commands. - After conversion, you may need to adjust the boot order in UEFI to prioritize Windows Boot Manager.
- For non-system disks, consider using a third-party partition manager that supports MBR to GPT conversion without data loss (though these are not official Microsoft tools; use at your own risk).
- Keep your Windows installation media handy in case you need to repair the boot configuration after switching to UEFI.
Troubleshooting
- Validation fails with "Disk layout validation failed": This often means the disk has more than three primary partitions, or the system partition is not properly configured. Use Disk Management to check partition layout. MBR2GPT requires no more than three primary partitions and the system partition must be at least 100 MB. You may need to delete or merge partitions (back up data first).
- Conversion fails with "Cannot convert disk because of an unsupported partition type": Ensure there are no extended or logical partitions. MBR2GPT only supports primary partitions. Convert logical partitions to primary using third-party tools or back up and recreate.
- Windows won't boot after conversion: Re-enter BIOS/UEFI and confirm the boot mode is set to UEFI and that Secure Boot is either enabled or disabled consistently. Also check that the Windows Boot Manager is first in boot order. If issues persist, boot from Windows installation media and run Startup Repair.
- MBR2GPT reports "Not enough space at the end of the disk": Shrink the last partition by at least 16 MB using Disk Management (right-click partition > Shrink Volume) to create unallocated space, then retry.
- Error: "Cannot find OS partition" or similar: Ensure you are running the command from an elevated prompt and that the disk number is correct. Also, the disk must contain the active Windows installation.
Frequently Asked Questions
Can I convert MBR to GPT without losing data?
Yes, for the system disk using MBR2GPT, which is designed to preserve data. For non-system disks, you must back up data and wipe the disk to convert.
Does MBR2GPT work on Windows 10 and 11?
Yes, MBR2GPT is included in Windows 10 version 1703 and later, and in Windows 11.
What if my disk has more than three partitions?
MBR2GPT requires no more than three primary partitions. You may need to delete or merge partitions (after backing up data) to meet this requirement.
Do I need to reinstall Windows after converting to GPT?
No, MBR2GPT converts the disk in place without reinstalling Windows. You only need to switch BIOS to UEFI mode.
Can I convert a data disk (non-system) to GPT without wiping?
Not with built-in Windows tools. You must back up data and use Disk Management or DiskPart to wipe and convert. Third-party tools may offer non-destructive conversion, but use caution.
Why does MBR2GPT require unallocated space?
GPT stores a backup partition table at the end of the disk. MBR2GPT needs at least 16 MB of unallocated space to write this header. If not present, it may shrink the last partition automatically if there's enough free space.