---
title: "Solution: “Windows Setup Can’t Find or Create a Partition”"
description: "This message can appear during a clean install, on a new PC, or on a system that already had partitions. If you see “We couldn’t create a new partition” or “Windows Setup can’t find or create a partition”, it usually means Setup is having trouble preparing the target drive for installation."
url: https://help.activekeys.com/en/articles/50-solution-windows-setup-can-t-find-or-create-a-partition
collection: "Windows Troubleshooting"
updated: 2026-02-12
language: en
---

# Solution:  “Windows Setup Can’t Find or Create a Partition”

This message can appear during a clean install, on a new PC, or on a system that already had partitions. If you see “We couldn’t create a new partition” or “Windows Setup can’t find or create a partition”, it usually means Setup is having trouble preparing the target drive for installation.

**🔍 Why this happens**

This problem is commonly caused by:

-   The USB installer interfering with how Setup detects or prepares the drive
    
-   Existing partitions or formatting conflicts on the target disk
    
-   The installation drive not being prioritized correctly in boot order
    
-   BIOS/UEFI storage settings (like RAID/AHCI) affecting detection
    
-   A drive previously used with another operating system and not initialized cleanly for Windows
    

**✅ How to fix it**

1.  Disconnect extra drives and USB devices  
    Leave only what’s necessary for installation:
    

-   Keep connected only the drive where Windows will be installed
    
-   Unplug other internal/external drives
    
-   Remove extra USB devices (hubs, receivers, secondary USB sticks)
    

Then restart the installation process.

2.  Clean the drive using Command Prompt (erases data)**  
    💡 Warning: This deletes everything on the selected drive. Back up files first.**
    

At the “Where do you want to install Windows?” screen, press **Shift + F10** to open Command Prompt.

Run these commands:

diskpart  
list disk  
select disk X (replace X with the correct disk number)  
clean  
exit

Close Command Prompt, click **Refresh**, select the **unallocated space**, and try installing again. Windows should now be able to create the needed partitions automatically.

3.  Rebuild the installer USB using Microsoft’s tool  
    A damaged or outdated installer can trigger this error. Create a new bootable USB using Microsoft’s latest installation tool for Windows 10 or Windows 11.
    

Use a USB drive of **8 GB or larger** and recreate the installer from a clean download.

4.  Try a USB 2.0 port instead of USB 3.0  
    If your PC has USB 2.0 ports available, use one for the installer. This can reduce driver-related issues during Setup and help Windows detect the drive correctly.
