During Windows installation, you may see the message "We couldn't create a new partition or locate an existing one." The error usually appears when Setup cannot write boot files to the selected disk, the USB boot mode does not match the disk style, or another disk is confusing the installer.
Step 1. Shut down the computer and disconnect external hard drives, SD cards, and extra USB storage.
Step 2. If the computer has more than one internal disk, keep only the target system disk connected when possible.
Step 3. Start Windows Setup again and select the intended disk.
Step 1. Enter BIOS or UEFI settings.
Step 2. If the disk is GPT, boot the installation USB in UEFI mode. If the disk is MBR, boot in Legacy mode.
Step 3. In the boot menu, choose the entry that clearly starts with UEFI when installing to a GPT disk.
Step 1. When Setup shows the disk list, delete only the partitions on the target disk if you no longer need their data.
Step 2. Select the unallocated space and click Next. Windows will create the required system partitions automatically.
Step 3. If you must keep files, stop the installation and back up or clone the disk before deleting any partition.
Step 1. Press Shift + F10 in Windows Setup to open Command Prompt.
Step 2. Run diskpart, then list disk, and identify the target disk by size.
Step 3. Use select disk N, replacing N with the correct disk number.
Step 4. If all data on that disk can be erased, run clean. Then close Command Prompt and refresh the disk list.
Back up or clone the Windows installation target disk before deleting partitions during setup troubleshooting.
Step 1. Connect another disk with enough free space to store the backup image or cloned copy.
Step 2. Open Qiling Disk Master and select the Windows installation target disk in the disk map.
Step 3. Choose Disk Backup if you want an image file, or choose a disk clone feature if you need a directly usable copy.
Step 4. Select the destination disk or storage path, then review the source and destination carefully.
Step 5. Click Proceed. After the backup or clone is complete, return to Windows Setup and delete partitions only on the confirmed target disk.
The safest fix is to remove extra drives, use the correct boot mode, and let Windows create its own setup partitions from unallocated space. Use destructive commands only after you have confirmed the target disk and protected your data.