The Windows 10 setup message “We couldn’t create a new partition or locate an existing one” usually means Setup cannot use the selected disk or boot files as arranged. Disconnecting extra drives, checking the boot mode, and recreating the target disk’s partitions often fixes it—but partition commands can erase data, so back up anything important first.
Why Windows Setup Shows This Error
During installation, Windows Setup must identify a suitable drive, create or select a system partition, and place the files needed to start the computer. The message can appear when several disks or USB drives are connected, the installer was started in a mode that does not match the disk’s partition style, or old partitions and boot records confuse Setup.
It does not necessarily mean the hard drive is defective. Common causes include:
- More than one internal drive is connected, so Setup chooses or detects boot files on the wrong disk.
- The installer USB was started in Legacy/BIOS mode while the target disk uses GPT, or in UEFI mode with a mismatched partition layout.
- The target disk contains existing partitions, including remnants of another Windows installation.
- The installation USB, port, or storage controller has a connection or compatibility issue.
Before troubleshooting, decide whether the target disk contains files you need. Deleting or cleaning partitions removes access to their contents. If the disk has valuable data and no backup, stop and seek a recovery option rather than experimenting.
Try the Least Destructive Fixes First
- Shut down the PC and disconnect external storage devices other than the Windows installer. If practical, temporarily disconnect other internal drives too. Follow the computer manufacturer’s instructions for accessing internal hardware; do not open a device if you are not comfortable doing so.
- Start Setup again and confirm that the intended disk is selected. On the screen asking where to install Windows, compare drive sizes and labels carefully. Drive letters shown in Setup may differ from those used by an existing Windows installation.
- If the installer is on a USB drive, try another USB port, preferably one directly on the computer rather than through a hub. Recreate the installation media using Microsoft’s Windows installation-media instructions if you suspect the USB is damaged.
- Check the firmware boot menu for entries that identify the USB as UEFI or Legacy. For a modern UEFI installation, boot the installer in UEFI mode and use a GPT disk. Avoid changing firmware settings casually: the correct choices depend on the computer and existing operating system.
These steps preserve the target disk’s partitions. If they do not help, inspect the partition layout before choosing a destructive repair.
Check the Disk and Partition Layout
On the Windows Setup screen where you choose an installation location, select a partition and review the displayed size and type. Setup may show several partitions on a disk, such as a system partition, a recovery partition, and a large primary partition. Do not delete partitions just because their names are unfamiliar; recovery or manufacturer partitions may be useful.
Windows installations generally use one of two partition styles: GPT, commonly paired with UEFI, or MBR, commonly paired with Legacy BIOS. For a clean installation, the installer’s boot mode and the disk’s layout need to be compatible. Setup can often prepare an empty disk automatically when you select its unallocated space. If you keep existing partitions, the correct fix may instead be to start the installer in the matching mode.
If the computer has multiple drives, the safest straightforward arrangement for a clean install is usually to leave only the intended Windows disk connected during installation. This helps prevent Setup from putting startup files on another drive. Reconnect other drives after Windows starts successfully.
Clean the Target Disk with DiskPart
Use this method only when you intend to erase the entire selected disk and have verified that it contains no needed data. DiskPart’s clean command removes the disk’s partition information; choosing the wrong disk can destroy access to the wrong drive.
- At the Setup screen, press
Shift+F10to open Command Prompt. On some laptops, you may need to hold theFnkey as well. - Type
diskpart, thenlist disk. Identify the target by its capacity. Do not guess based only on the disk number. - Type
select disk N, replacing N with the confirmed disk number, then typedetail diskto check your selection once more. - Only after confirming the disk and accepting that its data will be lost, type
clean. Then typeexitto close DiskPart and Command Prompt. - Return to the drive list and choose Refresh. Select the resulting unallocated space and click Next. Windows Setup should create the partitions it needs.
Do not use clean all as a routine fix; it writes across the disk and takes much longer. If the drive is not listed, repeatedly cleaning it will not solve a detection or hardware problem.
Match UEFI, GPT, Legacy, and MBR
For most new Windows 10 installations on UEFI computers, UEFI boot with GPT is the appropriate arrangement. If you clean the target disk while the installer is booted in UEFI mode, Setup can generally initialize it for that installation when you select unallocated space. A Legacy/BIOS installation may require MBR instead, but changing partition style can erase existing data.
Do not switch boot modes without considering other operating systems and existing data. A computer previously configured for Legacy boot may stop starting its old installation if changed to UEFI without preparation. If you are upgrading or trying to preserve files, avoid deleting partitions or converting the disk until you have a full backup and understand the migration process.
If the Error Continues
- Confirm the target disk appears in firmware or Setup. If it is missing, check the computer’s storage settings and manufacturer guidance; the problem may involve a connection, controller setting, or failed drive.
- Review firmware storage-controller settings only with the device documentation. A setting change can make an existing installation unbootable, so note the original value before changing anything.
- Rebuild the installer on a different USB drive or test another port. A faulty installation medium can cause Setup problems that look like disk errors.
- Check the disk’s health using manufacturer-supported diagnostics where available. Repeated setup failures, unusual noises, or a drive that disappears are reasons to stop and investigate the hardware.
Once Setup completes, shut down and reconnect any drives you disconnected. If the computer then starts from the wrong disk, use the firmware boot menu or boot-order settings to select the Windows drive.
Frequently Asked Questions
Will deleting partitions fix the error?
It can resolve a layout conflict on a disk intended for a clean installation, but it erases data on the deleted partitions. Try non-destructive checks first and verify the target disk before deleting anything.
Should I convert the disk to GPT?
For a typical UEFI installation, GPT is generally the suitable style. Whether conversion is appropriate depends on how the installer was booted and whether you need to preserve existing data. Back up first; a clean setup can prepare an erased disk automatically.
Can I install Windows without a USB drive?
This error concerns Setup’s ability to use the target disk, not necessarily the type of installer. If you can start Windows Setup through another supported method, the same disk and boot-mode requirements apply.
Why does Setup show the wrong drive letters?
Drive letters in the installation environment can differ from those in your usual Windows session. Identify disks by capacity and inspect their details rather than relying on a familiar letter.
Does the message mean my hard drive is broken?
No. Partition layout, boot mode, extra drives, and installer media are common causes. If the drive is absent from firmware or repeatedly disconnects, hardware trouble becomes more likely.
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
- Android Enterprise Device Management: How to Choose
- Fix Windows 10 Computer Freezes Randomly
- Enable or Disable Speech Recognition in Windows 10
- iPad Mini Tips: Settings, Shortcuts, and Everyday Use
- Schedule Do Not Disturb in Windows 11 for Work and Sleep
- Fix iPhone Battery Drain on iOS 10: 10 Practical Tips