Setup Was Unable to Create New System Partition? Fix
In this article
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:
- Restart your PC and enter the BIOS/UEFI setup (usually by pressing Del, F2, F10, or Esc during startup).
- Look for a “Boot Mode,” “UEFI/Legacy,” or “CSM” setting. If it says UEFI, you need GPT. If it says Legacy, you need MBR.
- 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:
- Boot from your Windows installation USB or DVD.
- When you reach the “Where do you want to install Windows?” screen, click “Drive options (advanced).”
- 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.”
- 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 typeexitand 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 mbrin 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:
- At the setup screen, press Shift+F10 to open Command Prompt.
- Type
diskpartand press Enter. - Type
list diskto see your drives. - Type
select disk X(replace X with the correct disk number). - Type
cleanto wipe the disk. - Type
convert gpt(if UEFI) orconvert mbr(if Legacy). - Type
create partition efi size=100(for UEFI only; this creates a 100MB EFI partition). - Type
format quick fs=fat32to format it as FAT32. - Type
create partition msr size=16(for UEFI only; this creates a 16MB MSR partition). - Type
create partition primaryto use the rest of the disk for Windows. - Type
exitand close Command Prompt. - 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.