sodcalculator

10 Tech How-To

Windows Cannot Be Installed to Disk 0 Partition? Fix

Guide 10-38556 · Updated · Step by step

If you see “Windows cannot be installed to Disk 0 Partition” during setup, the cause is almost always a partition style (MBR vs. GPT), a missing driver, or a disk with an unsupported layout. The fix is to either convert the disk to the correct partition table or delete and recreate the target partition, which wipes the disk. Below are the exact steps and the background you need to resolve it safely.

What Causes This Error

Windows Setup refuses to install to a partition when the disk’s partition table doesn’t match the firmware mode. Modern PCs use UEFI, which requires a GUID Partition Table (GPT). Older BIOS systems use Master Boot Record (MBR). If you boot the installer in the wrong mode, every partition on the disk will show the error.

Other common triggers:

  • The disk is already MBR but the PC is in UEFI mode (or vice versa).
  • The partition you selected is not the one Windows expects (e.g., a recovery or system partition).
  • The disk has a dynamic volume layout instead of basic.
  • A storage driver (Intel RST, NVMe, RAID) is missing, so the disk appears but is not fully accessible.
  • The partition is smaller than the minimum size Windows requires (about 32 GB for 64-bit).

Check Your Firmware Mode

Before changing anything, confirm whether your PC is booting in UEFI or Legacy (BIOS) mode. During setup, press Shift+F10 to open a command prompt, then run:

  1. Type diskpart and press Enter.
  2. Type list disk and press Enter.
  3. Look at the “Gpt” column. An asterisk (*) means the disk is GPT; no asterisk means MBR.

If the disk is GPT, your firmware should be in UEFI mode. If it’s MBR, you should be in Legacy mode. If they don’t match, that’s your problem. Exit diskpart with exit, then reboot and enter your BIOS/UEFI settings (usually Del, F2, or F12 during startup). Change the boot mode to match the disk, or convert the disk as described below.

Convert MBR to GPT (or GPT to MBR) Without Losing Data

If you want to keep existing files, you can convert the partition table in place using the mbr2gpt tool (Windows 10 version 1703 and later). This works only if the disk has no more than three primary partitions and is not a dynamic disk. Steps:

  1. Boot into Windows (any version that supports mbr2gpt) or use a Windows PE environment.
  2. Open an elevated command prompt.
  3. Run mbr2gpt /validate /disk:0 (replace 0 with your disk number).
  4. If validation passes, run mbr2gpt /convert /disk:0.

This converts the disk to GPT without deleting partitions. For the reverse (GPT to MBR), you’d need third-party tools or a full wipe, because Windows has no built-in GPT-to-MBR converter.

Clean the Disk and Recreate Partitions

If you don’t need existing data, the most reliable fix is to wipe the disk completely. This removes all partitions and lets Windows create the correct layout automatically. In the setup screen where the error appears:

  1. Press Shift+F10 to open Command Prompt.
  2. Type diskpart and press Enter.
  3. Type list disk to identify your target disk (usually Disk 0).
  4. Type select disk 0 (replace 0 with the correct number).
  5. Type clean and press Enter. This deletes all partitions and data.
  6. Type convert gpt (or convert mbr if your firmware is Legacy).
  7. Type exit twice to close.

Now click Refresh in the setup window. The disk will show as unallocated space. Select it and click Next; Windows will create the required partitions and install.

Warning: The clean command permanently erases everything on the disk. Double-check you selected the right disk before running it.

Missing Storage Driver

If the disk appears but you get the error on a specific partition, or if the disk doesn’t show up at all, the installer may lack a driver for your storage controller. This is common with Intel Rapid Storage Technology (RST), NVMe SSDs, or RAID setups. To fix:

  1. Download the appropriate driver (e.g., Intel RST or your motherboard’s SATA/RAID driver) from the manufacturer’s website. Save it to a USB drive.
  2. In Windows Setup, click Load Driver on the screen where you select a disk.
  3. Browse to the USB drive and select the driver folder.
  4. After it loads, the disk should appear normally.

Make sure the driver is for the correct Windows version (64-bit vs. 32-bit) and architecture.

Partition Size and Alignment

Windows requires a minimum of about 32 GB for a 64-bit installation, but you should have at least 64 GB for a usable system. If your target partition is smaller, delete it and extend it using unallocated space, or simply install to unallocated space. Also, partitions that are not aligned to 4 KB boundaries can cause performance issues, but Windows Setup usually aligns them automatically when it creates them.

Frequently Asked Questions

Will converting MBR to GPT erase my files?

Using mbr2gpt preserves your files. Using clean erases everything. Always back up important data before attempting any conversion.

Can I install Windows on a dynamic disk?

No, Windows Setup cannot install to a dynamic disk. You must convert it to a basic disk first, which typically requires deleting all volumes. Use diskpart and the clean command to reset it to basic.

Why does the error say “Disk 0 Partition 1” but not other partitions?

Windows may be trying to install to a hidden system partition (like the EFI or MSR partition) that is too small or not the right type. Delete that partition and select the largest unallocated space, or clean the entire disk.

What if I have multiple disks and the error mentions Disk 1?

Replace “Disk 0” with the correct disk number in all commands. The error always refers to the specific disk you selected. Make sure you select the correct disk in diskpart.

Does this error mean my hard drive is broken?

No. It’s almost always a partition table or driver issue. If the disk passes the list disk command, it’s likely fine. If you suspect hardware failure, run a disk check from another computer or use the manufacturer’s diagnostic tool.

Can I install Windows to an external USB drive?

Windows does not support installing to a USB drive as the primary boot device in most cases. The error may appear because the drive is removable. Use an internal SATA or NVMe drive for installation.

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

The whole Tech How-To bed →