Fix Windows install error 0x80300024

0x80300024 appears in Windows Setup at the Where do you want to install Windows step. Microsoft describes it as 'The specified disk operation is not supported by the target disk, partition, or volume.' Disconnect every drive except the target, boot the USB in UEFI mode, delete the old partitions on the target disk, and let Setup create new ones.

Checked November 10, 2026 against the manufacturer's own pages.

The short version

What to install and where it comes from. Every link goes to the manufacturer or Microsoft, never to a copy.

Code0x80300024
Official nameNone documented; Microsoft gives only the description The specified disk operation is not supported by the target disk, partition, or volume.
Where it appearsWindows Setup, when choosing or formatting the install location (often shown as We couldn't install Windows in the location you chose)
Fix Microsoft listsMake sure the PC meets the minimum requirements to install Windows 11
Windows versionsWindows 11 and Windows 10 Setup
Microsoft Support: Get help with Windows upgrade and installation errorssupport.microsoft.comMicrosoft Learn: Windows Setup: Installing using the MBR or GPT partition stylelearn.microsoft.com

Official files only, nothing bundled

Step by step

  1. Unplug every drive you are not installing to

    Remove USB hard drives, SD cards and, on a desktop, the data cables of extra internal drives. Microsoft's installation errors page says to remove disks you are not installing Windows on. Keep only the install USB and the target disk.

  2. Boot the USB in UEFI mode

    Open the PC's one-time boot menu (often F12, F11, F8 or Esc) and pick the entry for the USB stick that starts with UEFI. Microsoft says a UEFI boot needs a GPT disk, so the boot mode and disk style must match.

  3. Delete the old partitions on the target disk

    In Setup choose Custom, then on the install location screen select each partition on the target disk and choose Delete until it shows one block of unallocated space. Select it and choose Next. This erases everything on that disk.

  4. Clean the disk with diskpart if deleting fails

    Press Shift+F10 in Setup. Type diskpart, list disk, select disk followed by the target number, clean, convert gpt, exit. Check the disk number carefully, because clean wipes the whole disk.

  5. Check the PC meets Windows 11 requirements

    Microsoft's fix for 0x80300024 is to confirm the minimum requirements. In the firmware setup, turn on TPM 2.0 (often called fTPM or PTT) and Secure Boot if they are off, and confirm the target disk is in the boot list.

  6. Try a different USB port or a fresh install USB

    Use a port directly on the PC, not a hub, and rebuild the USB with Microsoft's media creation tool if it was made with other software. Then start Setup again.

What Setup is telling you

Microsoft lists 0x80300024 on its upgrade and installation errors page with one sentence of meaning. The disk operation Setup asked for is not supported by the target disk, partition or volume. In practice, Setup tried to create, format or use a partition on the disk you picked, and the disk refused the request in its current state. Microsoft does not publish a symbolic name for this code.

The most frequent reasons are layout problems rather than a broken disk. Old partitions from another system may be in the way, or the disk style may not match how the USB started. Extra disks can also make Setup place its boot partition somewhere else.

UEFI, GPT and why the boot mode matters

Microsoft’s partition style guide explains the rule. A PC started in UEFI mode needs the target disk to use GPT, and a PC started in legacy BIOS mode needs MBR. Many firmware boot menus list the same USB stick twice, once with a UEFI prefix and once without. Picking the wrong one starts Setup in a mode that does not match the disk. Windows 11 expects UEFI with Secure Boot capability, so choose the UEFI entry and let Setup format the disk as GPT.

A less common cause: a disk that is not first in line

Some PCs only offer a disk for installation if the firmware can boot from it. If the target disk is missing from the boot priority list, or a RAID or Intel RST mode hides it behind a controller driver, Setup may fail at the partition step. Check the storage settings in the firmware. If the disk sits behind Intel RST, load the RST driver from the PC maker with the Load driver option in Setup.

Questions

Is 0x80300024 a startup error?

Not quite. It happens inside Windows Setup, before Windows is installed, so the PC may have no working system yet. That is why the fixes are about disks and firmware rather than repairing Windows.

Will deleting partitions erase my files?

Yes. Deleting partitions or running clean removes all data on that disk. Copy anything you need first, or install to a different, empty disk.

Can I keep my data and switch the disk to GPT?

Microsoft's partition style guide says you can convert a drive that already has Windows on it with the MBR2GPT tool while keeping data. During a clean install, Setup itself expects to delete and recreate partitions.

Why does Setup fail only on my second drive?

When several disks are attached, Setup may place boot files on a different disk than the one you chose. Disconnecting the others removes that confusion.