If you see the error “Windows cannot be installed to this disk” during a Windows 10 installation, it usually means the disk uses the wrong partition style (MBR vs. GPT) or has an incompatible file system. The fix is to convert the disk to GPT (or MBR) and format it correctly, which you can do from the installation screen using Command Prompt.
Why This Error Appears
The error appears when the Windows 10 setup program cannot find a partition that meets its requirements. The most common causes are:
- Partition style mismatch: Windows 10 64-bit requires a GPT disk for UEFI firmware, while older BIOS systems use MBR. If the firmware is UEFI and the disk is MBR (or vice versa), setup refuses to install.
- File system incompatibility: The target partition is formatted as FAT32 or another unsupported format. Windows 10 must be installed on an NTFS partition.
- Disk is dynamic or has an unsupported layout: Setup only supports basic disks, not dynamic disks.
- Partition is too small or not aligned: Windows 10 requires at least 20 GB of free space, but the error can also appear if the partition is smaller than the minimum.
How to Check Your Disk Type
Before fixing, you need to know whether your firmware is UEFI or legacy BIOS. This determines whether you should use GPT or MBR.
- Restart your PC and enter the firmware settings (usually by pressing Del, F2, F10, or Esc during startup).
- Look for a “Boot Mode” or “UEFI/Legacy” setting. If it says UEFI, you need GPT. If it says Legacy or CSM, you need MBR.
- Alternatively, from the Windows installation screen, press Shift+F10 to open Command Prompt, then type
diskpartand press Enter. Typelist diskand look at the “Gpt” column. An asterisk (*) means the disk is already GPT.
Fix 1: Delete All Partitions and Let Setup Create New Ones
The simplest fix is to remove all partitions on the target disk and let Windows setup recreate them automatically. This works if you don’t need to keep any data on the disk.
- On the “Where do you want to install Windows?” screen, select each partition on the disk and click Delete. Repeat until the disk shows “Unallocated Space.”
- Select the unallocated space and click Next. Setup will automatically create the correct partitions (EFI, MSR, and primary) based on your firmware type.
- If you still get the error after this, the disk may be MBR when UEFI is active. Move to Fix 2.
Fix 2: Convert the Disk to GPT or MBR Using DiskPart
If the disk is MBR and you have UEFI, you must convert it to GPT. Conversely, if you have legacy BIOS and the disk is GPT, convert it to MBR. This process erases all data on the disk.
- From the installation screen, press Shift+F10 to open Command Prompt.
- Type
diskpartand press Enter. - Type
list diskto see all disks. Note the disk number of the target disk (usually Disk 0). - Type
select disk 0(replace 0 with your disk number) and press Enter. - Type
cleanand press Enter. This removes all partitions and data. - Type
convert gpt(orconvert mbrif you need MBR) and press Enter. - Type
exitto close DiskPart, then close Command Prompt. - Back on the installation screen, click Refresh. The disk should now show as unallocated space. Select it and click Next.
Fix 3: Format the Partition as NTFS
If the disk is already the correct style but the partition is FAT32, you can format it to NTFS. This is less common but happens when you use a USB drive or an old partition.
- Open Command Prompt with Shift+F10.
- Type
diskpartand press Enter. - Type
list disk, thenselect disk 0(replace with your disk number). - Type
list partitionto see partitions. Note the partition number you want to install on. - Type
select partition 1(replace with your partition number). - Type
format fs=ntfs quickand press Enter. - Type
exitand close Command Prompt. Then try the installation again.
What If the Disk Is Dynamic or Has a RAID Controller?
Windows setup does not support dynamic disks. If your disk is dynamic, you must convert it to basic. This also erases data. In DiskPart, after selecting the disk, use clean to remove all volumes, then convert basic. If you have a RAID controller, you may need to load drivers during setup. Click “Load Driver” on the disk selection screen and provide the manufacturer’s driver.
Frequently Asked Questions
Will converting to GPT erase my files?
Yes, the clean command removes all partitions and data. Back up important files before attempting this fix. If you need to keep data, you can use a third-party tool to convert MBR to GPT without data loss, but that is outside the scope of this guide.
Can I install Windows 10 on an MBR disk with UEFI?
Yes, but only if your UEFI firmware supports legacy boot (CSM). You can enable CSM in the BIOS, but this is not recommended for security reasons. The better solution is to convert the disk to GPT.
Why does the error say “The selected disk is of the GPT partition style”?
This happens when you have legacy BIOS and the disk is GPT. You need to convert the disk to MBR using the same DiskPart steps, but type convert mbr instead of convert gpt.
What if I don’t see the disk at all in the installation screen?
If the disk is not listed, it may be a driver issue. Click “Load Driver” to install the storage controller driver. Also check that the disk is connected properly and powered on.
Is there a way to fix this without losing data?
Yes, you can use a third-party partition tool that converts MBR to GPT without data loss. However, this is not a built-in Windows feature and requires a separate program. Always back up before using such tools.
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
- MacBook Charger Not Working? Fix It Now
- Zoom on iPhone & iPad: Host or Join a Meeting
- Fix iPhone SE 4 Unable to Activate: Step-by-Step
- Keep Important Emails From Getting Buried in iPhone Mail Categories
- How to Clear RAM on iPhone: Speed It Up
- Transfer iTunes to Apple Music on Windows