The “Windows cannot be installed to this disk” error typically appears during Windows installation when selecting a drive or partition. The installer may show messages such as “The selected disk is of the GPT partition style” or “The selected disk has an MBR partition table.” This prevents you from proceeding with the installation.
This issue usually occurs due to a mismatch between your system’s boot mode (UEFI or Legacy BIOS) and the disk partition style (GPT or MBR). It can also happen if the disk is improperly formatted, contains incompatible partitions, or has been previously configured for another operating system.
Fixing the “Windows cannot be installed to this disk” error requires adjusting BIOS settings, converting the disk partition style, or reformatting the drive properly. Follow the steps below carefully.
How to Fix “Windows Cannot Be Installed to This Disk” Error
Work through the method that matches the specific error message shown on your screen.
1. Check Your BIOS Boot Mode
Boot mode must match the disk partition style.
- Restart your computer.
- Enter BIOS/UEFI settings.
- Locate the Boot Mode setting.
- Check whether it is set to UEFI or Legacy.
- Save changes and exit.
If your disk is GPT, use UEFI.
If your disk is MBR, use Legacy.
Mismatch between these causes the error.
2. Convert MBR to GPT (For UEFI Installation)
If the error says the disk has an MBR partition table:
- At the Windows installation screen, press Shift + F10.
- Type:
diskpart - Press Enter.
- Type:
list disk - Identify your disk number.
- Type:
select disk 0(Replace 0 with your disk number.) - Type:
clean - Type:
convert gpt - Close Command Prompt.
- Click Refresh and continue installation.
This converts the disk to GPT format.
Note: The clean command erases all data.
3. Convert GPT to MBR (For Legacy Installation)
If the error says the disk is of GPT partition style:
- Press Shift + F10.
- Type:
diskpart - Press Enter.
- Type:
list disk - Select your disk:
select disk 0 - Type:
clean - Type:
convert mbr - Close Command Prompt.
- Refresh the disk list.
This converts GPT to MBR format.
Again, this removes all data on the drive.
4. Delete Existing Partitions
Incorrect partition layouts can block installation.
- On the disk selection screen, select each partition.
- Click Delete.
- Continue until the disk shows as Unallocated Space.
- Select the unallocated space.
- Click Next.
Windows will automatically create required partitions.
5. Ensure Secure Boot and TPM Settings Are Correct
Incorrect firmware settings may cause compatibility issues.
- Enter BIOS.
- Enable Secure Boot if using UEFI.
- Ensure TPM is enabled (for Windows 11).
- Save and restart installation.
These settings are required for Windows 11.
6. Use the Correct Installation Media
Incorrectly created USB media may cause partition conflicts.
- Recreate installation media using the official tool.
- Boot from the USB again.
- Select correct boot mode (UEFI or Legacy).
- Retry installation.
Using proper media prevents compatibility issues.
7. Check Disk Health
A failing drive may prevent installation.
- In Command Prompt, type:
chkdsk /f - Run disk diagnostic tools if needed.
- Replace the drive if errors are found.
Hardware issues can also trigger this error.
8. Update BIOS/UEFI Firmware
Outdated firmware may cause disk compatibility problems.
- Visit your motherboard manufacturer’s website.
- Download the latest BIOS update.
- Follow official instructions carefully.
- Restart and attempt installation again.
Firmware updates improve compatibility.
9. Disconnect Other Drives
Multiple connected drives can confuse the installer.
- Power off your PC.
- Disconnect secondary drives.
- Leave only the installation target drive connected.
- Retry installation.
This avoids boot partition conflicts.
10. Use Diskpart to Completely Reinitialize the Disk
If issues persist:
- Open Command Prompt with Shift + F10.
- Use
diskpart. - Run:
clean all - Convert to desired format (GPT or MBR).
- Restart installation.
This performs a full disk wipe.
Final Thoughts
The “Windows cannot be installed to this disk” error is usually caused by a mismatch between boot mode and partition style (UEFI with GPT or Legacy with MBR). Converting the disk format or adjusting BIOS settings typically resolves the issue quickly.