Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Setup Was Unable to Create New System Partition? Fix

· 5 min read · Home Tech

In this article
  1. Why This Error Happens
  2. Check Your Firmware Mode First
  3. The Standard Fix: Delete All Partitions on the Target Disk
  4. If Deleting Partitions Doesn’t Work
  5. Manual Partition Creation
  6. Common Misconceptions
  7. Frequently Asked Questions

If you see the error “Setup was unable to create a new system partition” during Windows installation, it usually means the installer cannot find or use the EFI system partition (ESP) on your disk. The fix typically involves deleting existing partitions on the target drive or manually creating the correct partition structure, and in most cases you can resolve it without third-party tools.

Why This Error Happens

Windows Setup requires a specific partition layout depending on your firmware type. On modern UEFI-based computers (which nearly all PCs use today), Windows needs a GPT disk with an EFI system partition, a Microsoft Reserved partition (MSR), and a primary partition for the OS. The error appears when the installer cannot create or access that EFI partition. Common triggers include:

  • The disk is using the older MBR (Master Boot Record) scheme instead of GPT.
  • Existing partitions are corrupted, hidden, or too small.
  • You are trying to install to a dynamic disk or a disk with a foreign partition table.
  • The BIOS is set to Legacy/CSM mode while the disk is GPT, or vice versa.

Check Your Firmware Mode First

Before changing anything, confirm whether your system boots in UEFI or Legacy (BIOS) mode. This determines the partition style you need. To check:

  1. Restart your PC and enter the BIOS/UEFI setup (usually by pressing Del, F2, F10, or Esc during startup).
  2. Look for a “Boot Mode,” “UEFI/Legacy,” or “CSM” setting. If it says UEFI, you need GPT. If it says Legacy, you need MBR.
  3. If you have a choice, UEFI is recommended for modern Windows (10/11) because it supports Secure Boot and faster startup.

If you are unsure, you can also check from within Windows (if it still boots) by opening Disk Management and right-clicking the disk – if it shows “Convert to GPT Disk,” it is currently MBR, and vice versa.

The Standard Fix: Delete All Partitions on the Target Disk

The most reliable method is to let Windows create the correct partitions from scratch. This erases everything on the disk, so back up any important data first. Here’s how:

  1. Boot from your Windows installation USB or DVD.
  2. When you reach the “Where do you want to install Windows?” screen, click “Drive options (advanced).”
  3. For each partition on the disk where you want to install Windows, select it and click “Delete.” Repeat until the disk shows as “Unallocated Space.”
  4. Click “Next” – Windows will automatically create the needed partitions (EFI, MSR, Primary) and install.

This works because the installer creates the EFI partition on a GPT disk when it sees unallocated space. If you have multiple drives, be careful to delete partitions only on the drive you intend to use.

If Deleting Partitions Doesn’t Work

Sometimes the error persists even after deleting all partitions. Possible reasons and solutions:

  • Disk is MBR but firmware is UEFI: Convert the disk to GPT using the command line. At the setup screen, press Shift+F10 to open Command Prompt, then type diskpart, list disk, select disk X (replace X with your disk number), clean, convert gpt, then type exit and close the prompt. Click “Refresh” in the installer.
  • Disk is GPT but firmware is Legacy: Change the BIOS boot mode to UEFI (if available) or convert the disk to MBR using convert mbr in DiskPart. Note that MBR only supports up to 2TB and four primary partitions.
  • USB drive is plugged into a USB 3.0 port: Some older installers have issues with USB 3.0 during setup. Try a USB 2.0 port.
  • Secure Boot is interfering: Temporarily disable Secure Boot in the BIOS, complete the installation, then re-enable it.

Manual Partition Creation

If you prefer to create the partitions yourself, you can do so using DiskPart. This gives you more control and can help if the automatic method fails. Steps:

  1. At the setup screen, press Shift+F10 to open Command Prompt.
  2. Type diskpart and press Enter.
  3. Type list disk to see your drives.
  4. Type select disk X (replace X with the correct disk number).
  5. Type clean to wipe the disk.
  6. Type convert gpt (if UEFI) or convert mbr (if Legacy).
  7. Type create partition efi size=100 (for UEFI only; this creates a 100MB EFI partition).
  8. Type format quick fs=fat32 to format it as FAT32.
  9. Type create partition msr size=16 (for UEFI only; this creates a 16MB MSR partition).
  10. Type create partition primary to use the rest of the disk for Windows.
  11. Type exit and close Command Prompt.
  12. In the installer, click “Refresh” and select the primary partition you created.

For Legacy/MBR, skip the EFI and MSR steps; just create a primary partition and format it with NTFS (using format quick fs=ntfs).

Common Misconceptions

A frequent myth is that you must have a separate system partition for Windows to boot. In reality, Windows can boot from the primary partition alone if it’s the only partition on the disk, but the installer still expects a proper EFI partition on UEFI systems. Another misconception is that the error means your disk is failing – it’s almost always a partition table issue, not a hardware problem. Also, some users think they need to use third-party partitioning tools; while those can work, the built-in DiskPart and setup options are sufficient in most cases.

Frequently Asked Questions

Will deleting partitions erase my files?

Yes, deleting partitions permanently erases all data on that partition. Always back up important files before proceeding. If you need to recover data, use a separate computer or a bootable recovery tool before deleting.

Can I install Windows on a drive that already has data?

Yes, but you must either create a new partition without deleting existing ones (if there is unallocated space) or delete a partition to make room. Windows will not overwrite your data unless you format or delete the partition. However, it’s safer to back up first.

Why does the installer create a 100MB EFI partition?

That 100MB partition is the EFI system partition (ESP), which stores boot files and is required for UEFI booting. It is formatted as FAT32 and is not visible in Windows Explorer. The size is standard, though some systems use 200MB or more.

What if I see the error on a secondary drive?

The error usually applies to the drive you selected for installation. If you have multiple drives, ensure you are installing to the correct one. Sometimes the installer tries to put the system partition on a different drive; you can avoid this by disconnecting other drives temporarily.

Is it safe to use DiskPart to clean the disk?

Yes, but the clean command removes all partitions and data on the selected disk. Double-check that you have selected the correct disk number before running it. If you accidentally clean the wrong drive, data loss is permanent unless you have backups.