sodcalculator

10 Tech How-To

Fix Windows Cannot Be Installed to Disk MBR

Guide 10-9059 · Updated · Step by step

If you see “Windows cannot be installed to this disk. The selected disk is of the GPT partition style� (or the reverse, “MBR partition style�), the fix is to convert the disk to the partition table type Windows requires for your system’s firmware. For most modern PCs with UEFI firmware, that means converting the disk from MBR to GPT; for older BIOS-based systems, you may need to convert GPT to MBR. This article explains exactly how to do that safely, what causes the error, and how to avoid losing your data.

Background: Why Does This Error Happen?

Windows Setup checks two things before it will install to a disk: the partition table type (MBR or GPT) and the firmware mode (UEFI or Legacy BIOS). These two must match:

  • UEFI firmware requires a GPT disk. If the disk is MBR, Setup refuses with “Windows cannot be installed to this disk. The selected disk is of the MBR partition style.â€�
  • Legacy BIOS firmware requires an MBR disk. If the disk is GPT, Setup shows the same error but with “GPT partition style.â€�

Modern computers (2012 and later) almost always use UEFI, so the most common scenario is trying to install Windows on an MBR disk that was previously used with an older BIOS system, or a disk that was initialized as MBR by default.

How to Check Your Firmware Mode and Disk Partition Style

Before you change anything, confirm which firmware mode your PC is using and what partition style the target disk has.

  1. Restart your PC and enter the firmware settings (usually by pressing Del, F2, F10, or Esc during boot – the exact key appears on the first screen).
  2. Look for a setting called “Boot Mode,� “UEFI/Legacy,� or “CSM� (Compatibility Support Module). If it says UEFI, your firmware is UEFI; if it says Legacy or CSM, it’s BIOS.
  3. Alternatively, from within Windows, open Disk Management (right-click the Start button → Disk Management). Right-click the disk in the lower pane (e.g., Disk 0) and choose “Properties� → “Volumes� tab. The “Partition style� line will say Master Boot Record (MBR) or GUID Partition Table (GPT).

If you don’t have Windows installed yet, you can check from the Setup screen: press Shift+F10 to open Command Prompt, then type diskpart, then list disk. An asterisk (*) in the GPT column means the disk is GPT; no asterisk means MBR.

The Direct Fix: Convert MBR to GPT (or GPT to MBR) Without Losing Data

If you have data on the disk that you want to keep, you cannot simply use the built-in convert command – that command erases the disk. Instead, you have two safe options:

Option 1: Use Windows Setup’s Built-in Tool (Erases Everything)

If the disk is empty or you don’t need any data on it, this is the quickest method:

  1. Boot from your Windows installation USB or DVD.
  2. When you reach the “Where do you want to install Windows?� screen, press Shift+F10 to open Command Prompt.
  3. Type diskpart and press Enter.
  4. Type list disk to see all disks. Note the number of the disk you want to install to (e.g., Disk 0).
  5. Type select disk 0 (replace 0 with your disk number).
  6. Type clean – this deletes all partitions and data on that disk.
  7. Type convert gpt (or convert mbr if you need MBR).
  8. Type exit and close Command Prompt.
  9. Click “Refresh� in the Setup window. The disk will now show as unallocated space, and you can proceed with the installation.

Warning: The clean command permanently erases everything on the disk. Double-check that you selected the correct disk number.

Option 2: Use a Third-Party Tool to Convert Without Data Loss

Several free and commercial partition managers (e.g., AOMEI Partition Assistant, MiniTool Partition Wizard, EaseUS Partition Master) can convert MBR to GPT or GPT to MBR without deleting partitions. The general steps are:

  1. Download and install the tool on a working PC, or create a bootable USB with it.
  2. Launch the tool and locate the target disk.
  3. Right-click the disk and select “Convert to GPT� (or “Convert to MBR�).
  4. Apply the change. The tool will warn you that the operation requires a reboot; it will perform the conversion in a pre-boot environment.

These tools work, but they are not guaranteed to succeed if the disk has more than 4 primary partitions (MBR limit) or if there is not enough free space for the GPT backup header. Always back up important data before attempting any conversion.

What If You Want to Keep the Disk as MBR? Change the Firmware to Legacy BIOS

If you specifically need to keep MBR (for example, to dual-boot with an older OS that doesn’t support GPT), you can switch your firmware from UEFI to Legacy/CSM mode. However, this is generally not recommended for modern Windows 10/11 because:

  • Windows 11 requires UEFI and Secure Boot; it will not install on a Legacy BIOS system.
  • Legacy mode disables many UEFI features like Secure Boot, fast boot, and larger boot drives.
  • Your PC may boot slower.

To switch, enter firmware settings and change the boot mode from UEFI to Legacy (or “CSM�). Then the Windows installer will accept an MBR disk. But note: if you switch back to UEFI later, the MBR disk will again be rejected.

Common Problems and Misconceptions

“I have a UEFI motherboard, but Windows says MBR – why?�

This usually happens when the disk was previously initialized on an older BIOS system, or when you created the installation media with older tools that defaulted to MBR. Even if your motherboard supports UEFI, the disk itself is still MBR until you convert it.

“Can I just delete all partitions and let Windows recreate them?�

No. Deleting partitions does not change the partition table type. The disk remains MBR or GPT until you run convert or use a third-party tool.

“Will converting erase my files?�

Using the built-in convert command (as in Option 1) erases everything. Third-party tools can convert without data loss, but there is always a small risk, so back up first.

“I see two disks – which one do I convert?�

Convert the disk where you want to install Windows. Usually that’s Disk 0, but check the size and free space to be sure. If you have multiple disks, the installer will show you the partition style of each.

How to Avoid This Error in the Future

  • When creating a Windows installation USB, use the official Media Creation Tool – it creates media that works with both UEFI and BIOS.
  • If you’re building a new PC, initialize the disk as GPT if you plan to use UEFI.
  • If you’re cloning a system from an old BIOS machine to a new UEFI machine, convert the disk to GPT before cloning, or use a tool that does it automatically.

Frequently Asked Questions

Is it safe to convert MBR to GPT?

Yes, if you use a reliable third-party tool and have a backup. The built-in convert command is safe only if you don’t need the data. Always back up before any partition operation.

Can I convert GPT to MBR without losing data?

Yes, the same third-party tools can convert GPT to MBR. However, GPT disks can have more than 4 primary partitions; if your disk has more than 4, you must delete one or merge partitions before converting, because MBR only supports 4 primary partitions.

Why does Windows 11 require GPT?

Windows 11 requires UEFI firmware and Secure Boot, which are designed to work with GPT. GPT also supports larger disks (over 2 TB) and more partitions, which is why Microsoft made it mandatory.

What if I don’t see the “convert gpt� option in diskpart?

If the disk is already GPT, the option won’t appear. Also, if the disk has any partitions, you must clean it first. If you’re trying to convert a disk that is the system disk while Windows is running, you cannot do it with diskpart – you must do it from the Windows Setup environment or a bootable tool.

Can I install Windows on an MBR disk if I disable Secure Boot?

Yes, for Windows 10 you can switch to Legacy BIOS mode and install on MBR. But Windows 11 will not install in Legacy mode at all, regardless of Secure Boot settings.

What does “The selected disk is of the GPT partition style� mean when I’m trying to install on a BIOS system?

It means your firmware is set to Legacy BIOS, but the disk is GPT. You can either convert the disk to MBR, or change the firmware to UEFI (if your hardware supports it). Converting to MBR is usually easier if you’re already in BIOS mode.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →