How to Fix ‘Windows Cannot Be Installed to This Disk (GPT Partition Style)’

During a clean installation of Windows 11 or Windows 10 from bootable installation media, users frequently encounter a blocking error dialogue at the partition selection screen stating: ‘Windows cannot be installed to this disk. The selected disk is of the GPT partition style.’ This error prevents the setup wizard from creating system partitions or writing bootloader files to the target solid-state drive (SSD) or hard drive. This stoppage occurs due to a fundamental architectural mismatch between the motherboard’s active boot mode (Legacy BIOS / CSM) and the partition table format of the target storage drive (GUID Partition Table / GPT).

Understanding the Cause: BIOS vs UEFI Architecture

Windows operating systems enforce strict correlation rules between motherboard firmware modes and partition table formats:

  • UEFI Mode Requires GPT: Unified Extensible Firmware Interface (UEFI) mode requires drives to be formatted with the modern GUID Partition Table (GPT) scheme to support Secure Boot and large partitions.
  • Legacy BIOS (CSM) Requires MBR: Legacy BIOS mode (or Compatibility Support Module) requires drives to use the older Master Boot Record (MBR) partition scheme.
  • The Root Conflict: When you boot your Windows installation USB in Legacy BIOS mode while attempting to install onto a drive initialized as GPT, Windows halts setup with this error.

Solution 1: Boot Installation Media in Native UEFI Mode (Recommended)

Because Windows 11 strictly mandates UEFI firmware and Secure Boot, the correct resolution is to boot your installation media in UEFI mode rather than converting your modern GPT drive to legacy MBR.

  1. Reboot your computer and immediately press the firmware setup key (typically F2, F12, Delete, or Esc depending on your motherboard manufacturer).
  2. Navigate to the Boot or Security settings tab in your BIOS/UEFI setup utility.
  3. Locate the Boot Mode or CSM Support setting and set it to UEFI Only (disable Legacy BIOS / CSM).
  4. Verify that Secure Boot is set to Enabled.
  5. Save changes and restart (press F10).
  6. Open your motherboard’s Boot Menu (F12 or F11) and select the entry corresponding to your USB drive that contains the prefix UEFI: [USB Drive Name].
  7. Proceed through the Windows installer. Since both the installer and drive are in UEFI/GPT mode, setup will proceed without errors.

Solution 2: Convert the Drive to GPT Using Diskpart (If Booted via UEFI)

If your installation media is booted in UEFI mode but residual MBR partition tables are confusing the installer, wipe and convert the drive to pristine GPT.

  1. On the Windows Setup screen displaying the partition error, press Shift + F10 to launch an elevated Command Prompt.
  2. Launch the disk partitioning utility by typing:
    diskpart
  3. Display all connected physical drives:
    list disk
  4. Identify your primary storage drive number (e.g., Disk 0) and select it:
    select disk 0
  5. Warning: The following command permanently wipes all partitions on the selected drive. Ensure backups exist before proceeding:
    clean
    convert gpt
    exit
    exit
  6. Return to the Windows Setup partition screen, click Refresh, select the unallocated space, and click Next.

Solution 3: Convert the Drive to MBR (For Legacy BIOS Systems Only)

If you are installing an older Windows release on legacy motherboard hardware that lacks UEFI capabilities, converting the GPT drive to MBR allows installation in Legacy mode.

  1. Press Shift + F10 on the partition selection screen to open Command Prompt.
  2. Execute the following commands in sequence:
    diskpart
    select disk 0
    clean
    convert mbr
    exit
    exit
  3. Click Refresh on the installer screen and proceed with partition creation.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.