- GPT eliminates the classic limitations of MBR (2 TB and 4 partitions) and is a requirement for UEFI and Windows 11.
- PowerShellDiskpart and Disk Management allow you to convert MBR to GPT, but almost always by deleting partitions.
- MBR2GPT.exe is the official Microsoft tool for converting the system disk to GPT without data loss.
- Third-party programs such as IM-Magic, EaseUS, MiniTool, or AOMEI facilitate conversion with a graphical interface and less risk.
If you're struggling with the Windows error message " This disk cannot be installed because it uses an MBR partition table" or you want to upgrade your computer to Windows 11 and are required to use UEFI and GPT, you've come to the right place. Converting from MBR to GPT has become very common, both when reinstalling the operating system and when mounting large disks larger than 2 TB.
In this article, we'll explore all the ways to convert a disk from MBR to GPT (and vice versa) using PowerShell, Diskpart, Disk Management, the official MBR2GPT tool, and various third-party programs. You'll learn when data loss occurs, when it doesn't, the requirements for each method, how to avoid a bootable system, and which format is best suited for each situation.
Why convert an MBR partition or disk to GPT?
There are several typical situations where you are forced to switch from MBR to GPT even if you don't feel like touching anything:
- Install or reinstall Windows in UEFI mode and get out of the old BIOS inherited.
- Upgrade to Windows 11, which requires Boot UEFI and system partition in GPT.
- Take advantage of disks larger than 2 TBbecause MBR falls “short” and does not see the full capacity.
- Create more than four primary partitions without using extended and logical partitions.
If you try to install Windows on an MBR disk booting in UEFI, you'll see the familiar warning that "the selected disk has an MBR partition table; only GPT can be used on EFI systems ." In that case, you have no choice but to convert the disk or change the BIOS boot mode to Legacy, which means losing the advantages of UEFI.
MBR vs GPT: Important differences you should be aware of
Before you start writing commands willy-nilly, it's worth understanding what an MBR disk is and what a GPT disk is , because the limits and risks of each conversion depend on that.
MBR (Master Boot Record) is the classic partitioning scheme that has been in use since the 80s. It stores the partition table and boot code in the first sector of the disk . It is compatible with virtually everything, but it has a few limitations:
- Size limit up to 2 TB per disk: from that point on, the additional space cannot be used.
- Maximum of 4 primary partitions, or 3 primary + 1 extended with several logics inside.
- If that first sector becomes corrupt, You could end up without a partition table in one go.
On the other hand, GPT (GUID Partition Table) is the modern scheme associated with UEFI. It is designed for newer machines and addresses precisely those weaknesses:
- It supports gigantic disks. (for practical purposes, far beyond 2 TB).
- Allows up to 128 partitions in Windows, without the need for inventions with extended versions.
- The GPT header and the partition table They are saved at the beginning and end of the disk, which creates redundancy.
- The critical data goes in well-defined partitionsnot in a single magical sector.
Today the trend is clear: on new computers and for Windows 11, GPT is the de facto standard . It only makes sense to continue using MBR on older PCs without UEFI support, or when you need compatibility with very old systems or tools that only understand MBR.
How to tell if your disk is MBR or GPT (PowerShell, Diskpart and GUI)
Before you start converting anything, it's a good idea to check the partition style of each disk . You can do this in several ways, both graphically and via the command line.
Check it with Disk Management
From within Windows itself, the most visual way is to open Disk Management :
- Right-click the Start button and choose “Disk Management”.
- At the bottom, locate the disk (Disk 0, Disk 1, etc.).
- Right-click on the disk label (where it says “Disk 0”, “Online”, etc.) and go to Properties > Volumes.
- Press on "Fill out" and look at the fieldPartition style".
There you'll clearly see if it's an MBR or a GPT disk . It's a simple method and works even if you don't want to use commands.
Check it with Diskpart
If you prefer the classic console, you can run Diskpart from CMD or PowerShell:
- Open a symbol of the system or PowerShell with Administrator privileges.
- Write diskpart and press Enter.
- Launch the command list disk.
You'll see a table with your disks, and in the last column, " GPT ". If an asterisk (*) appears next to a disk in that column, it means that disk is formatted as GPT. Disks without an asterisk are formatted as MBR. This is a quick and very useful method, even from within Windows installation environments.
Check it with PowerShell (Get-Disk)
With modern PowerShell it's even easier. Just run:
Get-Disk
In the output, you'll see columns for disk number, size, health status, and, very importantly, PartitionStyle , where MBR or GPT will appear. If you want to see it more visually appealing, you can use:
Get-Disk | ft -Auto
This gives you a quick overview of the partition type of all disks connected to your computer.
General requirements and backup before converting
For almost all the methods we're going to look at, there are a number of common conditions and precautions that shouldn't be overlooked:
- You need to be administrator of the system to play partition styles.
- If the method involves using Diskpart or Disk ManagementYou will normally have to delete all partitions from the target disk, which implies data loss.
- Although some tools (MBR2GPT, IM-Magic, AOMEI, EaseUS…) They promise conversion without data lossIt is always recommended make backup of the important things in case something goes wrong.
- If you convert the system diskYou will need to make sure that the motherboard supports UEFI and then you adjust the firmware to boot in UEFI mode.
A golden rule: if the disk contains the operating system, carefully consider whether it's worth experimenting with advanced commands without mastering the subject; in many cases it's more cost-effective to use MBR2GPT or reliable GUI software.
Convert from MBR to GPT from PowerShell using native cmdlets
Windows includes PowerShell cmdlets for low-level disk management , which can be used to change partition styles. The basic workflow for a data (non-system) disk is:
- List albums with Get Disk and write down the number you want to play.
- Clean the disk partitions with Clear-Disk.
- Initialize the disk by specifying the style: MBR or GPT with Initialize-Disk.
In practice , the steps are as follows:
1. Open PowerShell as administrator
Search for “PowerShell” in the Start menu, right-click and "Execute as an administrator".
2. List disks
Run:
Get-Disk
This will show you all the disks, their size, and the current PartitionStyle . Locate the one you want to convert (for example, Disk 1).
3. Delete disk partitions
Important warning: This step Delete all partitions and volumes from the disk. If you don't want to lose data, don't use it on the system disk and do backup beforehand.
Command:
Clear-Disk -Number 1 -RemoveData -Confirm:$false
Here, number 1 is the disc to be converted. Change that number to the one that corresponds to your case.
4. Initialize the disk as GPT
Once clean, transform your style with:
Initialize-Disk -Number 1 -PartitionStyle GPT
If you wanted to do the opposite (change from GPT to MBR), you would use `-PartitionStyle MBR` . After this, the disk is empty but ready for you to create GPT partitions using Disk Management or other PowerShell cmdlets.
5. Check the result
Launch again:
Get-Disk
Verify that the PartitionStyle column on the affected disk now displays GPT . With these steps, you have successfully converted an MBR disk to GPT using PowerShell , although this will erase the contents of the drive.
Convert MBR to GPT using Diskpart (CMD), with and without Windows installation
Diskpart is the classic command-line tool for managing partitions from CMD . It's very powerful, but if you choose the wrong disk, it can be very destructive, so it's best to proceed carefully and check the numbers thoroughly.
Conversion on an already installed Windows (data disk)
To convert a secondary disk (not the boot disk) from MBR to GPT using Diskpart:
- Balance Windows + R, writes cmd and accept.
- In the command window, run diskpart.
- Write list disk to see all the discs and their sizes.
- Select the target disk with select diskX (replace X with the correct number).
- If the disk has partitions, use clean to delete it completely.
- Finally, he launches convert gpt to change the partition style.
After that, Diskpart will tell you that the disk has been converted to GPT. You can then create new partitions on it from Disk Management or with Diskpart itself.
Conversion during Windows installation (Shift + F10)
When you're in the Windows installation wizard and it tells you that it can't install on an MBR disk, you can open a console and convert it right then and there :
- On the screen where you choose the disk to install, press Shift + F10 to open CMD with elevated privileges.
- Write diskpart and press Enter.
- Execute, in order:
list disk
select disk 0 (o el número que toque)
clean
convert gpt
If you want to be very precise, you can even explicitly create the EFI boot, MSR, and system partitions, for example:
list partition
create partition efi size=100
create partition msr size=128
create partition primary size=102400
After exiting Diskpart with `exit` and closing the console, you will return to the installer and you will be able to point the installation to the newly created GPT main partition.
Convert MBR to GPT using Disk Management (with data loss)
If you're not comfortable with commands, you can also convert disks from the graphical Disk Management tool , with the same limitation as always: you have to delete all partitions first.
The general steps are:
- Opens Disk management (right-click on Start > Disk Management, or diskmgmt.msc (from Run).
- On the disk you want to convert, right-click on each volume and select “Remove volume” until the entire disk is left as "Unallocated space".
- Right-click on the disk label (Disk 1, Disk 2, etc.) and you will see the option “Convert to GPT disk”.
- Click, accept the notification, and the disk will switch to using GPT.
Then you just need to create a new simple volume (or several) on that unallocated space. To revert from GPT to MBR, you would do exactly the same thing but choosing " Convert to MBR disk ".
MBR2GPT.exe: The official tool to convert your system disk without losing data
The big change came with Windows 10 Creators Update (version 1703), because Microsoft added MBR2GPT.EXE , a utility designed to convert the system disk from MBR to GPT without erasing data . It's the recommended tool if you want to convert your installed Windows to GPT to use UEFI or upgrade to Windows 11.
MBR2GPT can be run from Windows PE (pre-installation environment) or from Windows itself using the /allowFullOS option . The general syntax is:
MBR2GPT /validate|convert
Requirements that the disk must meet for MBR2GPT to work
Before touching anything, the tool performs a thorough disk design validation . If anything doesn't match, it refuses to convert. Key conditions:
- The disc must currently be MBR.
- there must be sufficient free space at the beginning and end of the disk for the GPT headers (16 KB + some sectors).
- There can be a maximum of three primary partitions in MBR.
- Can not be neither extended nor logical partitions.
- A partition must be marked as active and be the system one.
- The BCD (boot store) must have a valid operating system entry.
- The partitions must be of types that Windows recognizes, or you have to map them with the modifier. /map.
If any of these points are missed, the tool displays an error (e.g., " disk design validation failed ") and does not touch the disk.
Basic steps with MBR2GPT (from Windows)
To use MBR2GPT from within the system itself (in /allowFullOS mode ):
- Make sure you are running Windows 10 1703 or higher and that the disk has MBR.
- Open a command prompt as administrator.
- Check the disk number in Disk management or with diskpart > list disk.
- Run the validation first, for example:
mbr2gpt /validate /disk:0 /allowFullOS - If the validation is correct, launch the conversion:
mbr2gpt /convert /disk:0 /allowFullOS
During the process, the tool:
- Try reduce the system or OS partition to create an EFI partition if one does not exist.
- Create the partition EFI System Partition (ESP) of about 100 MB in FAT32.
- Generate the GPT table while maintaining existing partitions.
- Migrate and adjust the BCD warehouse to the new UEFI boot model.
- Restore the unit letters so that everything still fits together as before.
Finally, you'll see a message indicating that the conversion was successful and a very important warning: you must enter the BIOS/UEFI and change the boot mode to UEFI . If you don't, the computer will not boot from the new GPT scheme.
Most useful command-line options
In addition to /validate and /convert , MBR2GPT offers several interesting options:
- /disk:: indicates the disk number; if you omit it, it uses the system disk.
- /logs:: Change the folder where the logs are stored (by default, %windir%).
- /map: =: It is used to map non-standard partition types (in decimal for MBR and in GUID for GPT).
- /allowFullOS: allows you to run the conversion from normal Windows (not just from WinPE).
If any drive letter assignment cannot be restored, the tool indicates this in the diagnostic logs (setupact.log, setuperr.log, diagerr.xml, diagwrn.xml) , which you can review to refine the troubleshooting.
Table of Contents
- 1 Why convert an MBR partition or disk to GPT?
- 2 MBR vs GPT: Important differences you should be aware of
- 3 How to tell if your disk is MBR or GPT (PowerShell, Diskpart and GUI)
- 4 General requirements and backup before converting
- 5 Convert from MBR to GPT from PowerShell using native cmdlets
- 6 Convert MBR to GPT using Diskpart (CMD), with and without Windows installation
- 7 Convert MBR to GPT using Disk Management (with data loss)
- 8 MBR2GPT.exe: The official tool to convert your system disk without losing data