Windows could not create a new partition

During a clean installation of Windows 10 on a laptop from the USB flash drive install media, I came across a strange error. When selecting the partition on which to install Windows, an error appeared:

We couldn't create a new system partition or locate an existing system partition. For more information, see the Setup log files.

Windows could not create a new partition

At the same time, you can create and remove partitions in the Windows Setup window, but you cannot install the OS on any of the partitions.

To find the reason for the issue, run the command prompt directly from the Windows Setup screen by pressing Shift+F10.

List the contents of the Windows setup error file (setuperr.log):

type X:\Windows\panther\setuperr.log

In my case, the log contained the following error:

Error [0x06069d] IBS GetMachineInfo:Couldn't find info for boot disk [0]

You can also see this message:

IBSLIB LogReasons: [BLOCKING reason for disk 0: CanBeSystemVolume] The selected disk is not the computer's boot disk.

The problem is that Windows Setup cannot create a new partition due to incorrect partition structure or multiple physical disks (USB drives, SATA/IDE HDDs, SSDs) available on the computer.

What can you do to install Windows on a problem disk? First, try the easiest methods:

  1. If there are several HDD/SSD drives connected to the computer, try to temporarily disconnect all of them except for the one you want to install Windows on;
  2. Change the boot order in the BIOS/UEFI settings so that your hard drive comes first in the Fixed Boot Order list. To boot the computer from the installation USB drive, open the Boot Menu at the startup by pressing F8-F12, Esc, F1, or F2key (depending on your device manufacturer and BIOS version). If the computer boots from the installation flash drive and Windows Setup starts, try to continue Windows installation as usual.
  3. If there is no important data on the disk, clear it by removing all partitions in Windows Setup and try to install Windows to the unallocated space.

If the method described above did not help, copy Windows installation files from the USB flash drive directly to the local drive of your computer and run the Windows installation from your HDD/SSD.

To do it, boot the computer from the USB flash drive and use the Windows Setup partition manager to create a partition you want to install the OS to. Then press Shift+F10 on the Windows Setup screen to open the command prompt. Run the commands below:

diskpart

List disk – the command displays a list of disks connected to your computer. You should have two disks: Disk 0 and Disk 1 (one of them is the USB flash drive and another one is the computer hard drive). Find your hard drive by its size and select it (by its number, in this example it is Disk 0):

select disk 0

Display a list of partitions on the disk:

list partition

Find the partition number on which you want to install Windows. For example, it is Partition 1. Select it:

select partition 1

Make the partition active:

active

Format the partition as NTFS and assign the drive letter M: to it:

format fs=ntfs quick
assign letter=M

The command below allows detecting a drive letter assigned to your USB flash drive (for example, it is drive C: in my case):

list volume

Close diskpart:

exit

Now you can copy Windows installation files from the USB flash drive (C:) to your hard drive (M:):

xcopy C: M: /e /h /k

After the copy is complete, update the boot sector on the hard drive and make it bootable:

bootsect.exe /nt60 M:

Shut down your computer and remove the USB stick. The next boot should start a normal Windows installation (using the installation files located on your local HDD/SSD).

After Windows setup is complete, you need to run msconfig and remove the extra Windows Setup boot entry from the Windows Boot Manager menu (Boot tab). Restart your computer and delete Windows setup files from your hard drive:

  • Directories: boot, efi, sources, support
  • Files: autorun.inf, setup.exe

Windows could not create a new partition

You can also see the “We couldn’t create a new partition or locate an existing one” error on Windows Server if you install the OS on a SAN LUN that is accessible via multiple paths. Because the Windows Server multipath (MPIO) module is not available in WinPE, you will need to change your SAN configuration so that the disk (LUN) is available by one path only.

If the error disappears after doing the actions described above, you may also see another error:

Windows cannot be installed on this disk. The selected disk has an MBR partition table. On EFI systems, Windows can only be installed to GPT disks.

It means that your computer uses modern UEFI firmware instead of BIOS, and you cannot install Windows on a disk with the MBR partition table. To continue the installation, you need to enable the BIOS compatibility mode (it is called CSM or Legacy) in your UEFI settings or convert the MBR partition table on the disk to GPT.

To convert MBR to GPT without data loss, use the mbr2gpt tool (it is available in WinPE). First, validate the disk. In this example, disk 0 is the disk you want to change the partition table on ( you can get its number using diskpart as shown above):

mbr2gpt /validate /disk:0 /allowFullOS

Then convert the partition table:

mbr2gpt /convert /disk:0 /allowFullOS

Learn more about the GPT disk structure for Windows (EFI, MSR partitions) in this article.

Why can't Windows create a new partition?

Sometimes, the "we couldn't create a new partition" error can be caused by an improperly created Windows Bootable Device. This is usually the fault of the Windows Media Creation tool. To eliminate this possibility, create the bootable device using third-party software.

How do you fix Windows we couldn't create a new partition or locate an existing one?

How do I fix the new partition error for Windows 10 USB?.
Use a USB 2.0 flash drive. ... .
Disconnect any additional USB drives. ... .
Reconnect your USB flash drive. ... .
Use a third-party tool. ... .
Set your hard drive as the first boot device..
Use Rufus or any other tool to create a bootable USB drive. ... .
Convert the partition to the GPT format..

How do you fix failed to create a new partition on the selected unused space?

The Solution.
In the Install Windows screen, press Shift+F10 to open a command prompt..
Type “diskpart” and press Enter..
Type “list disk”..
Type “select disk X”. The “X” should be replaced by the disk number of the disk that you want to delete..
Type “clean” to delete all partitions on the disk..

How do I fix error code 0x8004242d?

To fix the selected partition error 0x8004242d, you can choose to delete all the partitions first, create a new partition, and ultimately format the partition. To do so: Run the Windows installation setup program, click on "Install Now," tick the box of "I accept the terms of the license," and hit "Next."