---
title: "Fix: “Windows Cannot Be Installed to This Disk” – GPT or MBR Partition Error"
description: "This is a very common issue when reinstalling or upgrading Windows on custom-built or older machines, and it’s easy to fix once you know what it means."
url: https://help.thesoftwarekings.com/en/articles/47-fix-windows-cannot-be-installed-to-this-disk-gpt-or-mbr-partition-error
collection: "Windows Troubleshooting"
updated: 2025-10-13
language: en
---

# Fix: “Windows Cannot Be Installed to This Disk” – GPT or MBR Partition Error

This is a very common issue when reinstalling or upgrading Windows on custom-built or older machines, and it’s easy to fix once you know what it means.

If you see the message **“Windows cannot be installed to this disk”** during setup, and it mentions **GPT** or **MBR**, the issue has to do with how your drive is formatted — and how your system is set to boot.

* * *

### 🧠 What Do GPT and MBR Mean?

-   **MBR (Master Boot Record)**: Older partition format used by BIOS-based systems
    
-   **GPT (GUID Partition Table)**: Modern format required for UEFI boot mode
    

Windows can only install to a disk if your **boot mode (BIOS/UEFI)** matches the **disk partition type (MBR/GPT)**.

* * *

### 🛠 Common Error Messages:

-   “Windows cannot be installed to this disk. The selected disk has an MBR partition table.”
    
-   “Windows cannot be installed to this disk. The selected disk is of the GPT partition style.”
    

* * *

### ✅ How to Fix It

#### 🔁 Option 1: Convert the Disk to the Correct Format

💡 **Warning:** This will erase everything on the drive — make sure to back up any data.

1.  When you reach the **“Where do you want to install Windows?”** screen, press **Shift + F10** to open Command Prompt.
    
2.  Type the following commands one by one:
    

diskpart

list disk

select disk X ← (replace X with your actual disk number)

clean

convert gpt ← (if using UEFI boot)

OR

convert mbr ← (if using Legacy/BIOS boot)

exit

1.  Close the Command Prompt and click **Refresh** in the installer. The disk will now be usable.
    

* * *

#### 🧩 Option 2: Change Boot Mode in BIOS

If you don’t want to erase the drive:

1.  **Restart your PC and enter the BIOS** (usually by pressing `F2`, `DEL`, or `ESC` at startup)
    
2.  Find the **Boot Mode** setting:
    
    -   Set to **UEFI** if your disk is GPT
        
    -   Set to **Legacy/CSM** if your disk is MBR
        
3.  Save and exit BIOS, then retry the installation
    

* * *

### 📩 Still Not Sure Which Format to Use?

No problem — just send us:

-   A **photo of the error message**
    
-   Your PC make/model or motherboard brand
    
-   The Windows version you’re installing
    

📧 Email it to us at [**help@thesoftwarekings.com**](mailto:help@thesoftwarekings.com) — we’ll help you decide the best setup and get you past the issue quickly.

* * *

### 💬 Need Help Right Away?

Ask **Kingbot** (bottom-right corner) or contact suppo
