Windows error 0x80300024: disk partition style

The setup error 0x80300024 appears when Windows cannot be installed on the selected disk and does not concern your product key. Often the partition style of the hard drive does not match the boot mode of the computer: the device boots in UEFI mode, but the drive is not set up for it. Microsoft names two documented paths for this: boot in BIOS compatibility mode, or convert the drive to the GPT partition style.

Quick decision

Your situation What to do
The message names the GPT partition style boot the computer in UEFI mode or convert the drive to GPT
Several drives connected disconnect all except the target drive
Existing partitions interfere delete the partitions of the target drive and recreate them
Existing data should stay convert with the MBR2GPT tool

The steps apply to the installation of Windows 11 and Windows 10.

What the code means

0x80300024 means that setup could not complete the installation to the chosen location. In its most common form, Windows shows the message: “Windows cannot be installed to this disk. The selected disk is not of the GPT partition style.” In other words: Windows cannot be installed on this disk; the selected disk does not match the GPT partition style. According to Microsoft, this means: the computer has booted in UEFI mode, but the drive is not set up for UEFI.

Causes according to Microsoft

  • Partition style does not match the boot mode. UEFI requires the GPT partition style; the older BIOS compatibility mode requires MBR.
  • Several disks or existing partitions. Existing system or foreign partitions on the target drive can block the setup.

Diagnosis

  1. Check in the firmware menu (UEFI/BIOS) whether the computer boots in UEFI mode or in compatibility mode (CSM/Legacy).
  2. Note which hard drive is to become the target system and whether other drives are connected.
  3. Decide: keep the existing partition style (then adjust the boot mode) or convert the drive to GPT.

Step by step

Option A – adjust the boot mode (data stays). In the firmware menu, set the boot mode so that it matches the existing partition style, and start the installation again. The switch is described by Microsoft under “Boot to UEFI Mode or Legacy BIOS mode”.

Option B – convert the drive to GPT (erases all data on the drive).

  1. Boot the computer in UEFI mode from the installation media.
  2. In setup, press Shift + F10 to open the Command Prompt.
  3. Run in order:
diskpart
list disk
select disk <number>
clean
convert gpt
exit
  1. Close the Command Prompt, choose the Custom installation type, then the unallocated space and Next.

Alternatively, in the “Where do you want to install Windows?” window, delete all partitions of the target drive and choose the free space; Windows then formats it in the matching format.

Alternative paths

  • Keep data with MBR2GPT. If an existing installation is to be converted without data loss, Microsoft offers the MBR2GPT tool.
  • Connect only the target drive. Temporarily disconnect other drives, so that setup sets up the right disk.

When is it the key?

With 0x80300024, never. The error arises during the selection and preparation of the disk, before Windows asks for a product key. Your license is not affected. Activation after the installation is described by Activate Windows 11 with a product key.

Further guides

Frequently asked questions

What does error 0x80300024 mean? Windows could not be installed on the chosen disk. Often the partition style of the drive does not match the boot mode of the computer.

What is the difference between GPT and MBR? GPT is the modern partition style for UEFI mode, MBR the older one for BIOS compatibility mode. The style must match the boot mode.

Do I lose my data when converting? When converting with clean/convert gpt in setup, yes. If the data should stay, use the Microsoft tool MBR2GPT or only adjust the boot mode.

Does disconnecting other drives help? Often yes. Leaving only the target drive connected prevents conflicts caused by foreign system or boot partitions.

Does 0x80300024 concern my license key? No. The error arises before activation and has nothing to do with the product key.

Sources

Checked on 2026-11-30 against the publisher’s information:

Cookies and Google services

With your consent we use Google Analytics (statistics) as well as Google's rating widget and Customer Reviews (Google services). In doing so, data is sent to Google, including to the USA. Declining has no disadvantages; you can change your choice at any time under “Cookie settings” in the page footer. Privacy policy