How to Resolve “Windows Cannot Be Installed to This Disk” GPT vs MBR Error
Executive Summary & Diagnostic Flowchart
When installing Windows 10 or Windows 11, you may encounter the message: “Windows cannot be installed to this disk. The selected disk is of the GPT partition style” or “The selected disk has an MBR partition table.” This error happens because of a mismatch between your motherboard’s boot mode (UEFI vs. Legacy BIOS) and the partition table style of your drive (GPT vs. MBR).
│
├─► “Disk is of GPT partition style” ──► PC booted in LEGACY BIOS mode
│ └─► Fix: Change BIOS to UEFI OR Convert Disk to MBR
│
└─► “Disk has MBR partition table” ──► PC booted in UEFI mode
└─► Fix: Change BIOS to Legacy/CSM OR Convert Disk to GPT
Understanding the Error Screen
Below is a realistic simulation of what the Windows Setup interface looks like when this partition mismatch occurs during drive selection:
Error Alert
(OR: The selected disk has an MBR partition table. On EFI systems, Windows can only be installed to GPT disks.)
Screenshot Simulation 1.0: Windows Setup Drive Selection Partition Error
Method 1: Convert Disk to GPT/MBR using Diskpart (Clean Disk)
This is the fastest method during Windows Setup. Note: This process wipes all existing partitions and data on the selected drive.
Step-by-step Instructions:
- On the Windows Setup screen showing the error, press SHIFT + F10 (or SHIFT + Fn + F10 on some laptops) to open the Command Prompt.
- Type
diskpartand press Enter. - Type
list diskand press Enter to display all connected storage devices. - Identify your target drive number (e.g., Disk 0).
- Type
select disk 0(replace0with your drive number) and press Enter. - Type
cleanand press Enter to erase existing partition structures. - Convert the drive format:
- To convert to GPT (for UEFI mode): Type
convert gptand press Enter. - To convert to MBR (for Legacy BIOS mode): Type
convert mbrand press Enter.
- To convert to GPT (for UEFI mode): Type
- Type
exit, hit Enter, close Command Prompt, click Refresh on the drive selection screen, and select the unallocated space to continue installation.
X:\Sources> diskpart
Microsoft DiskPart version 10.0.22621.1
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
——– ————- ——- ——- — —
Disk 0 Online 931 GB 0 B *
Disk 1 Online 14 GB 0 B
DISKPART> select disk 0
Disk 0 is now the selected disk.
DISKPART> clean
DiskPart succeeded in cleaning the disk.
DISKPART> convert gpt
DiskPart successfully converted the selected disk to GPT format.
DISKPART> exit
Screenshot Simulation 2.0: Command Prompt Diskpart Conversion Steps
Method 2: Change Boot Mode in Motherboard BIOS/UEFI Settings
Instead of converting your drive, you can change your motherboard’s boot mode to match your disk style.
Boot Configuration
Screenshot Simulation 3.0: BIOS/UEFI Boot Mode Configuration Menu
Step-by-step Instructions:
- Restart your computer and tap the BIOS key repeatedly (usually F2, DEL, F12, or ESC depending on your manufacturer).
- Navigate to the Boot or Security tab.
- Locate the Boot Mode or CSM (Compatibility Support Module) option.
- Adjust the settings based on your target disk format:
- If your disk is GPT: Change Boot Mode to UEFI and Disable CSM.
- If your disk is MBR: Change Boot Mode to Legacy BIOS / CSM Enabled.
- Press F10 to save settings and restart into Windows Setup.
Method 3: Convert MBR to GPT Without Data Loss (MBR2GPT Utility)
If you already have an operational Windows OS or data partitions on the drive and want to convert MBR to GPT without wiping files, use Microsoft’s built-in MBR2GPT utility.
Step-by-step Instructions:
- Open Command Prompt from Windows Setup (press SHIFT + F10).
- Validate the drive layout first by running:
mbr2gpt /validate /disk:0 /allowFullOS
- If validation passes, execute the conversion command:
mbr2gpt /convert /disk:0 /allowFullOS
- Once conversion completes successfully, reboot into BIOS and switch your boot mode from Legacy to UEFI.
X:\Sources> mbr2gpt /convert /disk:0 /allowFullOS
MBR2GPT: Attempting to convert disk 0
MBR2GPT: Retrieving information from disk
MBR2GPT: Validating partition layout…
MBR2GPT: Creating EFI system partition…
MBR2GPT: Conversion completed successfully.
MBR2GPT: Before the new system can boot properly, you need to switch the firmware to boot to UEFI mode!
Screenshot Simulation 4.0: MBR2GPT Conversion Output Command Prompt
“Windows 11 strictly requires UEFI boot mode and GPT partition layout due to TPM 2.0 and Secure Boot requirements. Converting drives to GPT is recommended for long-term support.” — Asdullah Technical Systems Team
Institutional & Technical Reference Index
Explore official technical manuals and storage architecture documentation:
Conclusion
The “Windows cannot be installed to this disk” error is simply a mismatch between your motherboard firmware configuration and your drive’s partition scheme. By using Diskpart to convert partition tables or configuring your BIOS boot settings to UEFI/Legacy, you can complete your Windows installation without complications.
For more technical guides, system repair tutorials, or web administration support, visit Asdullah.com.
#WindowsSetupError
#Diskpart
#UEFIBIOS
#MBR2GPT