Windows Cannot Be Installed to This Disk (MBR Partition Table): Fix the Error (2026)

Windows cannot be installed to this disk MBR partition table

If you’re installing Windows 11 and see the message “Windows cannot be installed to this disk. The selected disk has an MBR partition table,” don’t worry, it’s a common installation error that can usually be fixed in just a few minutes. This error appears because your computer has booted the Windows installer in UEFI mode, but the target drive is still using the older Master Boot Record (MBR) partition style. Since Windows 11 requires UEFI firmware and a GUID Partition Table (GPT) formatted system disk for a standard installation, Windows Setup blocks installation until the partition style is compatible.

To resolve the error, you must convert the disk from MBR to GPT so it’s compatible with UEFI and Windows 11. If you’re performing a clean installation, you can do this directly from the Windows Setup screen using the built-in DiskPart tool. If the drive already contains important files or an existing Windows installation, you’ll need a different method that preserves your data. In this guide, you’ll learn why this error occurs, how to convert an MBR disk to GPT during Windows installation, and what to do if you want to keep your existing files instead of erasing the drive.

Why Does “Windows Cannot Be Installed to This Disk” Appear?

This error occurs because there’s a mismatch between your computer’s boot mode and the disk’s partition style.

Modern PCs use UEFI (Unified Extensible Firmware Interface) instead of the older Legacy BIOS. When you boot the Windows installation media in UEFI mode, Windows expects the target drive to use the GUID Partition Table (GPT) partition style.

If the drive is still formatted as Master Boot Record (MBR), Windows Setup displays the following message:

Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI systems, Windows can only be installed to GPT disks.

Windows Cannot Be Installed to This Disk error

In simple terms:

  • UEFI ➜ Requires GPT
  • Legacy BIOS ➜ Works with MBR

Since Windows 11 is designed to install in UEFI mode, you’ll typically need to convert the target disk from MBR to GPT before the installation can continue.

Note: If the disk already contains important files or an existing Windows installation that you want to keep, don’t use the DiskPart method described below because it erases all partitions and data. Instead, use the MBR2GPT tool to convert the disk without losing data.

Method 1: Convert MBR to GPT Using DiskPart During Windows Installation (Deletes All Data)

If you’re performing a clean installation of Windows 11, the quickest way to fix the “The selected disk has an MBR partition table” error is to convert the disk to GPT using the built-in DiskPart utility.

Warning: This method deletes all partitions, files, applications, and operating systems on the selected disk. If the drive contains important data, stop here and use the MBR2GPT method instead, which converts the disk without deleting your files.

Step 1: Open Command Prompt

When you reach the Windows Setup screen (or the error message appears), press:

Shift + F10

This opens a Command Prompt window.

Step 2: Start DiskPart

Type the following command and press Enter:

diskpart

Step 3: List Available Disks

Display all connected storage drives:

list disk

Identify the disk where you want to install Windows. In most cases, it’s Disk 0, but verify the size to avoid selecting the wrong drive.

Step 4: Select the Target Disk

Replace 0 with the correct disk number if necessary.

select disk 0

DiskPart will confirm that the disk is selected.

Step 5: Delete All Partitions

Run the following command:

clean

This removes all partitions and data from the selected disk.

Step 6: Convert the Disk to GPT

Now convert the empty disk to the GPT partition style:

convert gpt

After a few seconds, DiskPart should display:

DiskPart successfully converted the selected disk to GPT format.

Convert MBR to GPT Using DiskPart

Step 7: Exit DiskPart and Continue Installation

Type the following command twice to close DiskPart and Command Prompt:

exit

Return to the Windows Setup window and click Refresh if necessary. The converted disk should now appear as Unallocated Space.

Select the unallocated space and click Next. Windows Setup will automatically create the required EFI, MSR, Recovery, and primary partitions before continuing the installation.

Tip: If you still receive the same error after converting the disk, restart your computer and make sure you’ve booted the Windows installation media in UEFI mode instead of Legacy BIOS (CSM).

Method 2: Convert MBR to GPT Without Losing Data Using MBR2GPT

If the drive already contains an existing Windows installation that you want to keep, you don’t have to erase the entire disk. Microsoft provides a built-in tool called MBR2GPT that converts the system disk from MBR to GPT while preserving your Windows installation, installed applications, and personal files.

Important: This method only works if Windows is already installed on the disk. If you’re installing Windows on a new or empty drive, use the DiskPart method described earlier.

Step 1: Open Command Prompt as Administrator

  1. Boot into your existing Windows installation.
  2. Press Windows + S, type Command Prompt.
  3. Right-click Command Prompt and select Run as administrator.

Step 2: Validate the Disk

Before converting the disk, verify that it meets Microsoft’s requirements.

Run the following command:

mbr2gpt /validate /allowFullOS

If validation succeeds, the disk is ready for conversion. If an error is displayed, review the message and resolve the issue before continuing.

Step 3: Convert the Disk

Execute the following command:

mbr2gpt /convert /allowFullOS

Convert MBR to GPT Without Losing Data Using MBR2GPT

The tool will:

  • Validate the disk layout.
  • Create the EFI System Partition (ESP).
  • Convert the partition table from MBR to GPT.
  • Update the Windows boot configuration.

The conversion typically completes within a few minutes.

Step 4: Restart and Enable UEFI

After the conversion finishes:

  1. Restart your computer.
  2. Enter the BIOS/UEFI settings by pressing the appropriate key during startup (commonly F2, Delete, F10, or Esc).
  3. Change the boot mode from Legacy BIOS (CSM) to UEFI.
  4. Save the changes and restart the PC.
Change the boot mode from Legacy BIOS (CSM) to UEFI.

Windows should now boot normally using the GPT partition style.

Tip: If you convert the disk successfully but forget to switch the firmware from Legacy BIOS to UEFI, Windows may fail to boot.

Note: MBR2GPT is designed for existing Windows installations. If you’re installing Windows on a blank drive or performing a clean installation from Windows Setup, use the DiskPart method instead.

Conclusion

The “Windows cannot be installed to this disk. The selected disk has an MBR partition table” error usually indicates that your computer is booting the Windows installer in UEFI mode while the target drive is still using the older MBR partition style.

If you’re performing a clean installation, the fastest solution is to use DiskPart to clean the disk and convert it to GPT before continuing the installation. If the drive already contains an existing Windows installation or important files, use MBR2GPT to convert the disk without losing your data.

Before making any changes, confirm you’re working with the correct disk and choose the conversion method that best matches your situation. Once the disk uses the GPT partition style and your PC is configured to boot in UEFI mode, you should be able to install Windows without encountering the error.

Frequently Asked Questions (FAQ)

Why does Windows say “The selected disk has an MBR partition table”?

This error appears because the Windows installer is running in UEFI mode, but the target disk uses the MBR partition style. Windows 11 requires a GPT disk for a standard UEFI installation.

Will converting MBR to GPT delete my files?

It depends on the method you use. The DiskPart method used during Windows Setup deletes all partitions and data from the selected disk. If you want to keep your existing Windows installation and files, use MBR2GPT, which converts the disk without erasing data.

Can I install Windows 11 on an MBR disk?

No, not for a standard UEFI installation. Windows 11 requires the system disk to use the GPT partition style. If your disk is formatted as MBR, you’ll need to convert it to GPT before continuing the installation.

Do I need to change BIOS settings after converting to GPT?

Yes. If you converted the disk using MBR2GPT, make sure your computer is configured to boot in UEFI mode instead of Legacy BIOS (CSM). Otherwise, Windows may not boot correctly.

What does the clean command do in DiskPart?

The clean command removes all partitions and partition information from the selected disk, leaving it as unallocated space. Because it erases the disk, always verify you’ve selected the correct drive before running the command.

Can I convert only one partition from MBR to GPT?

No. MBR and GPT are partition styles that apply to the entire disk, not individual partitions. Converting the disk changes the partition table for the whole drive.

Amiush Palk

I am Amiush founder of this blog. My qualification. completed Bachelor of Arts (BA) and Microsoft Certified Professional (MCP). With a strong background in computer applications love write articles on Microsoft Windows (11, 10, etc.) Cybersecurity, WordPress and more.