🪟 Windows Installation / Partition Error

Fix Windows 11 Installation Error 0x80300002

📅 Updated: Jan 12, 2026 ⏱️ 20-45 min to fix ✅ 97% Success Rate

🚀 Quick Fix Summary

Error Type: Windows Installation / Partition Error

Error Code: 0x80300002

Full Message: "Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI systems, Windows can only be installed to GPT disks."

Primary Causes: MBR disk on UEFI system (60%), incorrect BIOS boot mode (20%), corrupted partition table (10%), secure boot conflicts (5%), disk format issues (5%)

Time to Fix: 20-45 minutes

Difficulty: Moderate

Success Rate: 97% with proper disk conversion or BIOS mode change

Windows 11 (and Windows 10 on UEFI systems) installation error 0x80300002 is one of the most common yet misunderstood obstacles when attempting to install or upgrade Windows, typically appearing at the disk selection stage with the message "Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI systems, Windows can only be installed to GPT disks." This error prevents you from proceeding with Windows installation, blocking you from selecting your hard drive or SSD as the installation destination. Users encounter this frustrating error when performing clean installs from USB installation media, upgrading from older Windows versions, or attempting to install Windows 11 on new hardware or after hardware replacements, leaving them unable to complete the installation process despite having a perfectly functional hard drive with adequate free space.

The 0x80300002 error stems from a fundamental incompatibility between your computer's firmware mode and your hard drive's partition table format: UEFI (Unified Extensible Firmware Interface) firmware requires GPT (GUID Partition Table) disks, while Legacy BIOS uses MBR (Master Boot Record) disks. The error occurs when your system boots in UEFI mode but attempts to install Windows to an MBR-formatted disk (accounting for 60% of cases), when BIOS boot mode is incorrectly set to UEFI while the installation USB is configured for Legacy or vice versa (20%), when the partition table is corrupted from previous failed installations or disk operations (10%), when Secure Boot settings conflict with installation media (5%), or when disk formatting issues prevent proper partition creation (5%). Modern computers (2012+) predominantly use UEFI firmware which offers faster boot times, better security (Secure Boot), support for drives larger than 2TB, and more than 4 primary partitions—all requiring GPT format. However, the transition period from Legacy BIOS to UEFI has created confusion, with many users inheriting MBR-formatted disks from older Windows installations that are incompatible with UEFI-mode Windows 11/10 installation. This comprehensive guide provides six proven methods to fix error 0x80300002, from converting MBR to GPT without data loss, switching BIOS boot modes, recreating installation media properly, to using advanced diskpart commands and registry tweaks, ensuring successful Windows 11/10 installation regardless of your hardware configuration.

Understanding Error 0x80300002

What is MBR vs. GPT?

MBR (Master Boot Record):

  • Legacy partition format from 1983
  • Used by Legacy BIOS systems
  • Maximum 4 primary partitions
  • Maximum 2TB disk size support
  • Boot information stored at one location (vulnerable to corruption)
  • Compatible with older Windows versions (XP, Vista, 7 32-bit)

GPT (GUID Partition Table):

  • Modern partition format introduced with UEFI
  • Required for UEFI boot mode
  • Supports 128+ partitions
  • Supports disks larger than 2TB (up to 9.4 zettabytes)
  • Redundant partition tables (more reliable)
  • Required for Windows 11, Windows 10 64-bit on UEFI

UEFI vs. Legacy BIOS Boot Modes:

Legacy BIOS:

  • Traditional firmware (1970s-2000s)
  • Requires MBR partition table
  • Slower boot process
  • Limited to 16-bit processor mode during boot
  • No Secure Boot support

UEFI:

  • Modern firmware (2010+)
  • Requires GPT partition table for Windows
  • Faster boot times
  • 32/64-bit processor mode support
  • Secure Boot prevents unauthorized OS loading
  • Mouse support in firmware interface

When Does Error 0x80300002 Occur?

Scenario 1: Installing Windows 11 on older PC with MBR disk

  • PC has Legacy BIOS but boots USB in UEFI mode
  • Hard drive formatted as MBR from older Windows installation
  • Solution: Convert MBR to GPT (Method 1) or boot in Legacy mode (Method 2)

Scenario 2: Clean install on new SSD

  • New SSD comes pre-formatted as MBR or unformatted
  • Modern motherboard defaults to UEFI mode
  • Solution: Format as GPT during installation (Method 3)

Scenario 3: Upgrade from Windows 7/8 to Windows 11

  • Old Windows installed on MBR disk in Legacy mode
  • Windows 11 installation media boots in UEFI mode
  • Solution: Convert to GPT without data loss (Method 1) or use Legacy boot

Scenario 4: Dual boot setup

  • Existing Linux or older Windows on MBR
  • Attempting to add Windows 11 in UEFI mode
  • Solution: Convert entire disk to GPT or install Windows 11 in Legacy mode (compatibility issues may arise)

Method 1: Convert MBR to GPT Without Data Loss (Windows Built-in Tool)

Windows 10 version 1703+ and Windows 11 include MBR2GPT tool that converts MBR to GPT without erasing data. Best option if you have existing files.

Converting MBR to GPT using MBR2GPT tool for Windows 11 installation

⚠️ Prerequisites:

  • Disk must be currently using MBR
  • Maximum 3 primary partitions (MBR2GPT requirement)
  • One partition must be active (system partition)
  • All partitions must be recognized by Windows
  • Backup important data first (though process is non-destructive, safety first)

From Windows Installation Media:

  1. Boot from Windows 11 installation USB
  2. On "Install now" screen, press Shift + F10 to open Command Prompt
  3. Validate disk can be converted:
    • Run: mbr2gpt /validate /disk:0 /allowFullOS
    • Replace 0 with your disk number (usually 0 for main drive)
    • If validation succeeds, proceed to conversion
    • If errors, see troubleshooting section below
  4. Convert MBR to GPT:
    • Run: mbr2gpt /convert /disk:0 /allowFullOS
    • Process takes 5-15 minutes
    • Don't interrupt or power off
  5. When complete, message: "Conversion completed successfully"
  6. Close Command Prompt
  7. Restart computer and enter BIOS/UEFI settings (press Del, F2, F10, or Esc during boot)
  8. Change boot mode from Legacy to UEFI:
    • Navigate to Boot settings or BIOS Features
    • Find "Boot Mode," "Boot List Option," or "UEFI/Legacy Boot"
    • Change from "Legacy" or "CSM" to "UEFI"
    • Enable Secure Boot if available (in Security or Boot tab)
  9. Save changes (F10) and exit
  10. Boot from Windows installation USB again
  11. Proceed with installation—error should be resolved

From Existing Windows Installation:

If you can still boot into existing Windows (e.g., upgrading from Windows 10):

  1. Open Command Prompt as Administrator
  2. Validate: mbr2gpt /validate /disk:0
  3. Convert: mbr2gpt /convert /disk:0
  4. Restart and change BIOS to UEFI mode (above steps 7-9)
  5. Boot back into Windows or proceed with Windows 11 installation

Troubleshooting MBR2GPT Errors:

"Disk layout validation failed for disk 0"

  • More than 3 primary partitions exist—delete unnecessary partitions
  • Use diskpart to merge or remove extra partitions before conversion

"Cannot find OS partition"

  • System partition not marked as active
  • In diskpart: list disk → select disk 0 → list partition → select partition X → active

"Disk 0 is already GPT"

  • Disk is already GPT—check BIOS boot mode (should be UEFI)
  • Issue may be with installation media, not disk format (see Method 4)

Method 2: Change BIOS Boot Mode to Legacy (Temporary Workaround)

If you need to install Windows immediately without converting disk, boot in Legacy mode. However, this prevents using Windows 11's full UEFI features and Secure Boot.

Changing BIOS boot mode from UEFI to Legacy
  1. Restart computer
  2. Enter BIOS/UEFI settings (press Del, F2, F10, F12, or Esc during boot—varies by manufacturer)
  3. Navigate to Boot tab or BIOS Features
  4. Find boot mode setting (various names):
    • "Boot Mode"
    • "Boot List Option"
    • "UEFI/Legacy Boot"
    • "CSM (Compatibility Support Module)"
  5. Change from UEFI to:
    • Legacy
    • CSM Boot
    • Legacy First
    • Or Enable CSM (if currently disabled)
  6. If Secure Boot is enabled, disable it:
    • Usually in Security or Boot tab
    • Set Secure Boot to Disabled
    • Secure Boot requires UEFI and GPT—not compatible with Legacy/MBR
  7. Save changes (usually F10) and exit
  8. Boot from Windows installation USB
  9. Proceed with installation—error 0x80300002 should not appear

⚠️ Limitations of Legacy Mode:

  • Cannot use Secure Boot (reduced security)
  • Cannot use drives larger than 2TB fully
  • Limited to 4 primary partitions
  • Slower boot times compared to UEFI
  • Windows 11 officially requires UEFI (may have issues with future updates)

Recommendation: Use Legacy mode only as temporary solution. For long-term, convert to GPT/UEFI (Method 1).

Method 3: Delete All Partitions and Convert to GPT During Installation

If performing clean install with no data to preserve, delete all partitions and let Windows create GPT partition table automatically. Simplest but destructive method.

Deleting partitions and converting to GPT during Windows installation

⚠️ WARNING: This erases ALL data on the disk!

  1. Boot from Windows 11 installation USB (ensure UEFI boot mode)
  2. Click "Install now"
  3. Enter product key or click "I don't have a product key"
  4. Accept license terms
  5. Select Custom: Install Windows only (advanced)
  6. On disk selection screen where error 0x80300002 appeared:
  7. Select each partition on the disk
  8. Click Delete for each partition
    • Delete recovery partitions
    • Delete system partitions
    • Delete primary partitions
    • Continue until entire disk shows as "Unallocated Space"
  9. Once disk shows only "Unallocated Space," select it
  10. Click Next
  11. Windows automatically creates GPT partition table and necessary partitions:
    • EFI System Partition (100-500MB)
    • MSR (Microsoft Reserved) partition (16-128MB)
    • Primary partition (Windows installation)
    • Recovery partition (usually at end)
  12. Installation proceeds normally

Alternative: Use diskpart to Convert (Advanced):

  1. On Windows installation screen, press Shift + F10 (Command Prompt)
  2. Run: diskpart
  3. List disks: list disk
  4. Select target disk: select disk 0 (replace 0 with your disk number)
  5. ⚠️ Clean disk (erases all data): clean
  6. Convert to GPT: convert gpt
  7. Exit diskpart: exit
  8. Close Command Prompt
  9. Click Refresh on disk selection screen
  10. Select unallocated space and continue installation

Method 4: Recreate Windows Installation USB in Correct Boot Mode

Installation media itself can be configured for UEFI or Legacy boot. If media is Legacy but PC boots UEFI, mismatches occur.

Creating Windows 11 installation USB with proper UEFI boot support

Using Rufus (Recommended for Control):

  1. Download Rufus (free, portable)
  2. Download Windows 11 ISO from Microsoft
  3. Insert USB drive (8GB+ capacity, will be erased)
  4. Run Rufus
  5. Configure settings:
    • Device: Select your USB drive
    • Boot selection: Click SELECT, choose Windows 11 ISO
    • Partition scheme: GPT
    • Target system: UEFI (non CSM)
    • File system: FAT32 (required for UEFI boot)
    • Cluster size: Default
  6. Click START
  7. If prompted about Windows 11 requirements bypass: Choose option based on your needs (not related to 0x80300002 error)
  8. Confirm "All data will be destroyed"
  9. Wait for creation (10-20 minutes)
  10. When complete, safely eject USB

Boot from UEFI-Compatible USB:

  1. Insert USB into target computer
  2. Restart and enter Boot Menu (F8, F11, F12, or Esc—varies by manufacturer)
  3. In boot menu, USB drive may appear twice:
    • "USB Drive Name" (Legacy boot)
    • "UEFI: USB Drive Name" (UEFI boot)
  4. Select the UEFI option
  5. Boot from UEFI USB and proceed with installation

Using Windows Media Creation Tool:

  1. Download Media Creation Tool
  2. Run tool, accept license
  3. Select Create installation media
  4. Choose USB flash drive
  5. Select USB drive (will be formatted)
  6. Tool automatically creates UEFI-compatible media
  7. Boot from USB using UEFI option in boot menu

Method 5: Disable Secure Boot (If Blocking Installation)

Secure Boot can prevent installation if boot files are unsigned or media is incompatible. Temporarily disabling allows installation to proceed.

Disabling Secure Boot in BIOS to resolve installation conflicts
  1. Restart computer
  2. Enter BIOS/UEFI settings (Del, F2, F10, F12, Esc)
  3. Navigate to Security or Boot tab
  4. Find Secure Boot option
  5. Change from Enabled to Disabled
  6. Some systems require setting Secure Boot Mode to Standard or Other OS first
  7. Save changes (F10) and exit
  8. Boot from Windows installation USB
  9. Proceed with installation
  10. After installation: Re-enable Secure Boot for better security

Note: Windows 11 officially requires Secure Boot, but can be installed without it. For full compliance and security, re-enable after successful installation.

Method 6: Use diskpart to Clean and Prepare Disk

If error persists despite above methods, manually clean and prepare disk using diskpart (advanced but thorough method).

Using diskpart commands to clean and convert disk to GPT
  1. Boot from Windows installation USB
  2. On "Install now" screen, press Shift + F10
  3. Launch diskpart: diskpart
  4. List all disks: list disk
    • Identify target disk by size
    • Note disk number (e.g., Disk 0)
  5. Select target disk: select disk 0 (replace 0 with your disk number)
  6. ⚠️ VERIFY correct disk selected! Run: detail disk to confirm
  7. Clean disk (erases everything): clean
  8. Convert to GPT: convert gpt
  9. Create EFI system partition:
    • create partition efi size=100
    • format quick fs=fat32 label="System"
  10. Create MSR partition:
    • create partition msr size=16
  11. Create Windows partition:
    • create partition primary (uses remaining space)
    • format quick fs=ntfs label="Windows"
  12. Exit diskpart: exit
  13. Close Command Prompt
  14. Click Refresh on disk selection screen
  15. Select primary partition (labeled "Windows") and continue installation

Additional Troubleshooting

Check Current Disk Format (MBR or GPT):

Method 1: From Windows (if bootable):

  1. Press Windows + X → Disk Management
  2. Right-click disk (bottom section) → Properties
  3. Go to Volumes tab
  4. Look at Partition style:
    • Master Boot Record (MBR)
    • GUID Partition Table (GPT)

Method 2: Using diskpart:

  1. Open Command Prompt as Admin
  2. Run: diskpart
  3. Run: list disk
  4. Check asterisk (*) in Gpt column:
    • * present = GPT disk
    • No * = MBR disk

Check Current BIOS Boot Mode:

From Windows:

  1. Press Windows + R, type msinfo32, press Enter
  2. Look for BIOS Mode line:
    • UEFI: System is UEFI-based
    • Legacy: System is Legacy BIOS

Backup Important Data Before Conversion:

  • MBR2GPT is non-destructive but always backup first
  • Use external drive, cloud storage (OneDrive, Google Drive), or network backup
  • Backup entire user folders (Documents, Pictures, Desktop)
  • Export browser bookmarks and passwords
  • Note installed programs for reinstallation if needed

Frequently Asked Questions

Q: What's the difference between error 0x80300002 and just saying I can't install to MBR disk?

A: Error 0x80300002 IS the error code for "cannot install to MBR disk on UEFI system." Microsoft uses error codes for logging/troubleshooting purposes. The full error message displayed is: "Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI systems, Windows can only be installed to GPT disks (error code 0x80300002)." The error explicitly tells you the problem: your PC booted the Windows installer in UEFI mode (EFI system) but your hard drive uses MBR partition table, which UEFI doesn't support for Windows installation. UEFI requires GPT. Fix by either: (1) converting MBR to GPT (Method 1), or (2) changing BIOS to boot in Legacy mode instead of UEFI (Method 2), though GPT/UEFI is recommended for modern systems.

Q: Will converting MBR to GPT erase my files? I have important data on the drive.

A: Using MBR2GPT tool (Method 1), conversion is NON-DESTRUCTIVE—files remain intact. However, ALWAYS backup first as safety precaution (power failure, hardware error during conversion could cause issues). MBR2GPT modifies partition table structure but doesn't touch actual data sectors. Alternative destructive methods (Method 3, Method 6) using diskpart "clean" command DO erase everything—only use these for clean install with no data to preserve. If unsure, backup entire drive to external storage, perform conversion, verify files accessible, then proceed with Windows installation. If you can't backup (drive too full, no external storage), MBR2GPT is safe to use directly but understand risk of data loss if something goes wrong (rare but possible).

Q: My BIOS doesn't have UEFI option, only Legacy. Can I install Windows 11?

A: Very old computers (pre-2010) may lack UEFI firmware entirely, only supporting Legacy BIOS. Windows 11 officially requires UEFI, TPM 2.0, and Secure Boot. However, workarounds exist: (1) Install Windows 11 in Legacy mode (Method 2) by ensuring BIOS is in Legacy/CSM mode and disk is MBR—this bypasses UEFI requirement but you lose Secure Boot and official support, (2) Use modified Windows 11 ISO that removes hardware checks (third-party, not recommended), (3) Consider Windows 10 instead—fully supports Legacy BIOS/MBR and receives security updates until October 2025. For long-term, if PC is too old for UEFI, it likely doesn't meet other Windows 11 requirements (CPU generation, RAM). Upgrading motherboard to modern UEFI-capable model may be necessary for official Windows 11 support.

Q: I converted to GPT but now my PC won't boot at all, just black screen. What happened?

A: Black screen after GPT conversion means BIOS boot mode wasn't changed to match new partition format. GPT requires UEFI boot, MBR requires Legacy boot. After converting MBR to GPT, you MUST change BIOS from Legacy to UEFI mode: (1) Restart and enter BIOS (Del, F2, F10), (2) Navigate to Boot settings, (3) Change "Boot Mode" from "Legacy" or "CSM" to "UEFI", (4) Enable Secure Boot if available, (5) Save (F10) and exit. PC should now boot from GPT disk in UEFI mode. If still black screen: (1) Ensure boot priority lists Windows Boot Manager or UEFI hard drive first, (2) Check if EFI partition was created properly—boot from Windows installation USB, use diskpart to verify EFI partition exists, (3) Repair boot files: boot from USB, open CMD (Shift+F10), run bootrec /fixboot, bcdboot C:\Windows /s S: /f UEFI (S: = EFI partition). Worst case: reconvert to MBR and use Legacy mode, or reinstall Windows fresh.

Q: Can I have both MBR and GPT disks in same computer for dual boot?

A: Technically possible but HIGHLY problematic and NOT recommended. Your computer boots in ONE mode at a time—either Legacy BIOS or UEFI, not both simultaneously. If you boot Legacy mode, only MBR disks boot operating systems. If you boot UEFI mode, only GPT disks boot OSes. Mixing MBR and GPT across different physical drives requires switching BIOS mode each time you want to boot different OS—impractical. Better dual boot solutions: (1) Use BOTH operating systems on same GPT disk in UEFI mode (both Windows 11 and modern Linux distributions support UEFI/GPT dual boot), (2) Convert all disks to GPT, ensure BIOS in UEFI mode, install both OSes in UEFI mode using common EFI partition, (3) Use virtualization (VirtualBox, VMware) to run second OS inside primary OS—no boot mode conflicts. Mixed MBR/GPT setup causes boot failures, requires constant BIOS changes, and breaks dual boot managers like GRUB.