Categories About Us Contact Us Become a Member

How to fix Windows setup error 0x80300024 (unable to install to the selected location)

This means Windows setup could not install to the disk or partition you chose. Extra drives, a wrong target, or a bad partition are the usual causes. Jump to your situation below or work through the methods in order.

By Neeraj Singh ~7 min Updated Jun 2026 88% found this helpful
Error message
0x80300024. Windows is unable to install to the selected location.
Summary

Error 0x80300024 during installation means Windows is unable to install to the selected location. The most common causes are multiple drives confusing the installer (it cannot decide where boot files go), choosing a target that is too small, wrong, or the wrong order, a loose or failing drive, or a partition in a state setup cannot use. The reliable fix is to disconnect all drives except the one you are installing to, so there is no ambiguity, then make sure the target partition is large enough and is the first/primary one, and if needed delete and recreate the partition in setup so it is clean. Reseating the drive cables and setting the install drive first in the boot order clear the hardware-side causes. Once setup has a single clear, healthy target, it proceeds.

What this error means

When setup writes Windows, it also needs to place boot files, and it gets confused when several drives are connected, because it cannot tell which should hold the boot files. It can also fail if the target partition is too small, in the wrong order, or in a state it cannot write to.

So the cure is to remove ambiguity and give setup one clean target. Disconnecting other drives leaves no doubt about where boot files go, and recreating the partition gives setup a fresh, healthy place to install. Loose cables and boot-order quirks cause the same failure from the hardware side.

Common causes

Multiple drives are connected, confusing the installer.
The target partition is too small or in the wrong order.
A loose or failing drive or cable.
The partition is in a state setup cannot use.
The install drive is not first in the boot order.
A partition-style mismatch (see our GPT/MBR guide).
Expert insight

“0x80300024 is setup getting confused about where to put Windows, and the number one cause is too many drives plugged in. So my first move is brutal and effective: unplug every drive except the one I am installing to. Suddenly there is no ambiguity and it installs. If that is not it, I delete and recreate the target partition so setup has a clean slate, and I check the cables and the boot order. One clear, healthy target is all it wants.”

How to fix it

Method 1

Disconnect all other drives

1Physically disconnect every drive except the one you are installing Windows to.
2This stops setup placing boot files on the wrong disk, the most common cause.
3Reconnect the others after installation.
Method 2

Select the correct target

1Choose the right partition or drive, and make sure it is large enough for Windows.
2On a fresh disk, select the unallocated space and let setup create the partitions.
3Avoid installing onto a tiny or secondary partition.
Method 3

Delete and recreate the partition

1In setup, delete the target partition (this erases it), then create a new one in the freed space, or leave the space unallocated and select it.
2Setup then builds a clean, correct layout.
3Back up any data first.
Method 4

Reseat the drive and cables

1Power off and reseat the drive's data and power cables, or the M.2 drive.
2A loose or failing connection causes this error.
3Then retry.
Method 5

Set the install drive first in boot order

1In firmware, set the drive you are installing to as the first boot device.
2This helps setup place boot files correctly.
3Save and restart the installer.

0x80300024 is setup unable to use the chosen location, and the single most effective fix is to disconnect every drive except the install target, removing the ambiguity about where boot files go. If that does not do it, delete and recreate the target partition for a clean slate, then check the cables and boot order.

Frequently asked questions

What does error 0x80300024 mean?
It means Windows setup could not install to the location you selected, usually because multiple drives confused the installer, the target was wrong or too small, or the drive connection or partition was bad.
How do I fix 0x80300024?
Disconnect all drives except the one you are installing to, select the correct target partition, and if needed delete and recreate it. Then check the drive cables and boot order.
Why disconnect other drives?
With several drives connected, setup cannot tell which should hold the boot files and fails. Leaving only the install target removes the ambiguity, which fixes most cases.
Will deleting the partition lose data?
Yes, deleting a partition erases it. Back up anything important first. On a clean install to an empty disk there is nothing to lose.
Could a cable cause this?
Yes. A loose or failing data or power cable, or a poorly seated M.2 drive, can cause 0x80300024. Reseat the connections and retry.
Does the boot order matter?
It can help. Setting the install drive as the first boot device helps setup place the boot files correctly, reducing this error.

Still not working?

If a single connected drive with a freshly recreated partition still fails, the drive or its controller may be faulty, or there may be a partition-style mismatch. Test another drive or port, and confirm the disk is GPT in UEFI mode (see our GPT/MBR guide). You can also submit your error to us for a tailored fix.

Was this fix helpful? Thanks for your feedback!