Windows OS Hub
  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux

 Windows OS Hub / Windows 10 / Windows Setup Couldn’t Create a New Partition

July 15, 2022 Windows 10Windows 11Windows Server 2019

Windows Setup Couldn’t 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 Setup error: We couldn't create a new system partition or locate an existing system 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:

Learn more about how to manage Windows Boot manager, BCD, and MBR.

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

remove windows setup files

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 install Windows in the UEFI mode, create a special installation USB drive.

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.
2 comments
3
Facebook Twitter Google + Pinterest
previous post
Invoke-WebRequest: Perform HTTP Requests, Download Files, Parse Web with PowerShell
next post
How to Install and Configure OpenVPN Server on Windows

Related Reading

How to Cancel Windows Update Pending Restart Loop

May 6, 2025

View Windows Update History with PowerShell (CMD)

April 30, 2025

Change BIOS from Legacy to UEFI without Reinstalling...

April 21, 2025

Remove ‘Your License isn’t Genuine’ Banner in MS...

April 21, 2025

Uninstalling Windows Updates via CMD/PowerShell

April 18, 2025

2 comments

Victor Kimuyu September 5, 2023 - 12:28 pm

This saved the day for me. After hopping from forum to forum, all repeating exactly the same solution that wasn’t working for me, I found this. Copying windows installation files to a partition did it for me. Thanks a million.

Reply
Ockert November 4, 2023 - 10:55 am

This also saved the day for me. The basics in this solution worked, just pay careful attention to your system specifics when following the steps. Thanks another million.

Reply

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMware
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • Cannot Install Network Adapter Drivers on Windows Server

    April 29, 2025
  • Change BIOS from Legacy to UEFI without Reinstalling Windows

    April 21, 2025
  • How to Prefer IPv4 over IPv6 in Windows Networks

    April 9, 2025
  • Load Drivers from WinPE or Recovery CMD

    March 26, 2025
  • How to Block Common (Weak) Passwords in Active Directory

    March 25, 2025
  • Fix: The referenced assembly could not be found error (0x80073701) on Windows

    March 17, 2025
  • Exclude a Specific User or Computer from Group Policy

    March 12, 2025
  • AD Domain Join: Computer Account Re-use Blocked

    March 11, 2025
  • How to Write Logs to the Windows Event Viewer from PowerShell/CMD

    March 3, 2025
  • How to Hide (Block) a Specific Windows Update

    February 25, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • How to Allow Multiple RDP Sessions on Windows 10 and 11
  • How to Repair EFI/GPT Bootloader on Windows 10 or 11
  • How to Restore Deleted EFI System Partition in Windows
  • Network Computers are not Showing Up in Windows 10/11
  • How to Run Program without Admin Privileges and Bypass UAC Prompt
  • Fix: BSOD Error 0x0000007B (INACCESSABLE_BOOT_DEVICE) on Windows
  • Install and Manage Windows Updates with PowerShell (PSWindowsUpdate)
Footer Logo

@2014 - 2024 - Windows OS Hub. All about operating systems for sysadmins


Back To Top