Common reasons for 0x80300024
This error is often triggered when:
Multiple drives or partitions are connected and Setup selects the wrong target
The chosen drive doesn’t have enough free space
The drive contains leftover data from a failed install or a formatting issue
The drive is connected through a secondary controller or a non-primary SATA port
How to fix it
Disconnect other drives (recommended first step)
Unplug any drives you don’t need for installation, including:
External USB drives
Extra internal HDDs/SSDs
Additional USB sticks
Leave only the drive where you want Windows installed, then restart Windows Setup.
Clean the target drive using DiskPart (erases data)
Warning: This permanently deletes all data on the selected drive.
At the Windows Setup screen, press Shift + F10 to open Command Prompt.
Run these commands one at a time:
diskpart
list disk
select disk X (replace X with the correct disk number)
clean
exit
Close Command Prompt, click Refresh in the installer, then select the unallocated space and click Next.
Check SATA port / controller settings (advanced)
If the issue continues:
Enter BIOS/UEFI (often F2, DEL, or ESC during startup)
Ensure the drive is connected to the primary SATA port
If applicable, try switching SATA mode between AHCI and RAID (only if you understand your current setup and it’s safe to change)
Save changes, restart, and run Setup again