Fix "The Selected Disk Has an MBR Partition Table" Error

Can't install Windows? If you see "the selected disk has an MBR partition table," your PC requires a GPT disk. Discover 3 safe methods to fix this error today.

By Lucas    Updated on April 13, 2026
 
Quick Answer

If you receive the error "the selected disk has an mbr partition table" during Windows installation, your computer is booting in UEFI mode, but your hard drive is formatted in the older MBR style. UEFI systems require GPT-formatted disks. To fix this, you have two options. The first is to use the Diskpart clean command MBR method to completely wipe and remove all partitions (which erases all data). The second, superior method is to use a bootable USB with AOMEI Partition Software to convert MBR to GPT without data loss. Once converted, Windows will install flawlessly.

There is nothing more frustrating than building a new PC, upgrading your hard drive, or attempting to reinstall your operating system, only to be stopped dead in your tracks by a cryptic Windows Setup error.

You boot up your Windows installation USB, accept the terms, select your primary hard drive, and suddenly a yellow warning triangle appears. The prompt reads: "Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI systems, Windows can only be installed on GPT disks."

If you are staring at this error right now, your installation is completely blocked. You cannot click "Next," and you cannot proceed with the setup. However, there is no need to panic. Your hard drive is not broken, and your Windows USB is not corrupted. You are simply dealing with a classic generational clash between old storage formats and modern motherboard firmware.

In this comprehensive guide, we will explain exactly why this error occurs, how to safely remove MBR partitions, and the absolute best methods to convert your disk so you can resume your Windows installation immediately.

Why Does This Windows Setup Error Occur?

To understand how to fix the problem, we first need to understand the Windows 11 EFI system requirements and how modern motherboards communicate with your storage drives.

Historically, computers used a firmware interface called BIOS (Basic Input/Output System). BIOS motherboards required hard drives to be formatted with an MBR (Master Boot Record) partition table to boot Windows.

However, MBR is an aging technology with severe limitations—most notably, it cannot recognize hard drives larger than 2TB, and it only supports four primary partitions. To overcome this, the tech industry created UEFI alongside a superior disk format called GPT (GUID Partition Table).

Modern operating systems, particularly Windows 11, mandate UEFI boot protocols for enhanced security (like Secure Boot). Therefore, when you boot your Windows installation USB in modern UEFI mode, the installer expects to find a modern GPT disk. If it detects an old MBR disk instead, it throws the Windows cannot be installed to this disk MBR error.

To fix this, you must either wipe the disk completely to clear the MBR partition table or seamlessly convert the disk to GPT.

Method 1: The Best Fix - Convert to GPT Without Data Loss

If your hard drive already contains personal files, family photos, or important documents from a previous installation, using native Windows tools to fix this error is incredibly dangerous. Windows Setup will force you to delete every partition on the drive, resulting in unrecoverable data loss.

To bypass this limitation and protect your files, IT professionals rely on AOMEI Partition Software. This elite disk management software allows you to completely convert MBR to GPT without data loss. Because you cannot boot into Windows right now, AOMEI allows you to create a bootable USB to perform the conversion outside of the operating system.

AOMEI Partition Software

A safe and reliable disk partition management tool that helps you migrate OS to SSD or HDD, reorganize disk space, and improve overall PC performance.

 

Step 1: Create a Bootable AOMEI USB

On a second, working Windows computer, download and install AOMEI Partition Software. Insert an empty USB flash drive.

Open the software, click Make Bootable Media in the top menu, and follow the prompts to burn the AOMEI environment to your USB.

Step 2: Convert the MBR Disk to GPT

Step 1. Remove the AOMEI USB and plug it into the computer experiencing the installation error.

Step 2. Turn on the PC and tap your BIOS/UEFI key (usually F2, F12, or DEL) to change the boot priority so it boots from the AOMEI USB.

Step 3. Once the visual AOMEI interface loads, locate the hard drive giving you the MBR error.

Step 4. Right-click the disk and select Convert to GPT.

Step 5. Click OK, then click Apply and Proceed in the top-left corner.

Within seconds, the software will safely rewrite the partition table to modern GPT standards while keeping your existing files perfectly intact. You can now remove the USB, plug your Windows Installation USB back in, and install the OS without any errors.

Method 2: Remove MBR Partitions Using Windows Setup (Data Loss)

If your hard drive is completely blank, or if you do not care about keeping any of the old data currently stored on the disk, you can use the graphical Windows Setup menu to wipe the drive. When you delete all existing MBR partitions, the disk becomes "Unallocated Space." Windows will then automatically format the blank space as GPT during the installation.

❗ Warning:

This method permanently erases all data on the selected drive.

Step 1. Boot up your Windows Installation USB and proceed to the screen where you see the "the selected disk has an MBR partition table" error.

Step 2. Look at the list of partitions on your target hard drive (e.g., Drive 0 Partition 1, Drive 0 Partition 2).

Step 3. Click on the first partition on that drive to highlight it, then click the Delete button at the bottom of the window. Confirm the prompt.

Step 4. Repeat this deletion process for every single partition on that specific drive until the entire drive merges into a single block labeled "Drive 0 Unallocated Space."

Step 5. Click on the Unallocated Space, and the Next button will finally become clickable. Click it, and Windows will automatically install as GPT.

Method 3: Fix the Error via Command Prompt (Data Loss)

Sometimes, the graphical Windows Setup menu freezes, or the "Delete" button is grayed out due to severe disk corruption. In this scenario, you can force the disk to wipe itself using the Diskpart clean command MBR method.

This utilizes the hidden Command Prompt built into the Windows Setup environment to completely obliterate the old partition table.

❗ Warning:

This will instantly and irreversibly erase everything on the disk.

While on the Windows Setup screen where the error appears, press Shift + F10 on your keyboard. This will open a black Command Prompt window.

Step 1. Type diskpart and press Enter.

Step 2. Type list disk and press Enter. You will see a list of all connected drives. Identify your target installation drive by its size (for example, Disk 0).

Step 3. Type select disk X (replace X with your actual disk number) and press Enter.

Step 4. Type clean and press Enter. This command instantly strips the MBR partition table from the drive.

Step 5. Type convert gpt and press Enter. This manually primes the blank disk for UEFI installation.

Step 6. Type exit and press Enter to close the window.

Step 7. Click the Refresh button on the Windows Setup screen. You can now select the drive and install Windows flawlessly.

Conclusion

Encountering the dreaded "the selected disk has an mbr partition table" error during a fresh Windows installation can be a block, but it is simply a sign that your modern motherboard requires a modern storage format. Because UEFI systems mandate the superior GPT format for enhanced security and larger storage capacities, old MBR partition tables are actively rejected by the Windows Setup wizard.

If your drive is entirely expendable, using native Windows tools like the setup deletion menu or the hidden Diskpart command-line utility provides a fast, albeit destructive, way to clear the drive and proceed. However, if your hard drive contains invaluable personal files, photos, or documents, formatting is not an option.

By utilizing a professional disk manager like AOMEI Partition Software to safely convert your disk from MBR to GPT via a bootable USB, you protect your data, bypass Microsoft’s rigid limitations, and ensure your system upgrades smoothly and securely.

Free Download Windows 11/10/8.1/8/7
Secure Download

FAQs

Q1: What does "the selected disk has an MBR partition table" mean?

A: This error means that you have booted your Windows Installation USB in modern UEFI mode, but the hard drive you are trying to install Windows onto is formatted using the older MBR (Master Boot Record) style. UEFI motherboards require the hard drive to be formatted as GPT (GUID Partition Table) to install modern operating systems like Windows 10 and Windows 11.

Q2: Can I fix the MBR partition error without losing my data?

A: Yes, but not with the tools provided by the Windows Setup menu. The native Windows fix requires you to delete all partitions, which erases your data. To fix the error while keeping your files, you must use third-party software like AOMEI Partition Software to boot your PC and convert the MBR disk to GPT without formatting.

Q3: How do I change my BIOS from UEFI to Legacy to bypass this error?

A: While you can sometimes bypass the error by restarting your PC, entering the BIOS/UEFI settings, and changing the "Boot Mode" from UEFI to "Legacy/CSM," this is highly discouraged. Modern features like Secure Boot and Windows 11 itself require UEFI. It is much better to convert your hard drive to GPT than to downgrade your motherboard's security settings.

Q4: Will the Diskpart "clean" command permanently delete my files?

A: Yes. Running the clean command within the Diskpart utility instantly strips the partition table and all volume formatting from the selected hard drive. This renders all the data previously stored on the disk inaccessible. You should only use this command if you have backed up your files or if the drive is empty.

Lucas · Editor
I prefer peaceful and quiet life during vacation,but sometimes I watch football match if my favorite club performs brilliantly in that season. And I love reading, painting and calligraphy, thus I send my friends festival handwriting cards every year.