If Windows 10 Setup says “Windows cannot be installed to this disk. The selected disk is of the GPT partition style,” the problem isn’t the disk. The USB installer booted in the wrong mode. GPT disks need the PC to boot in UEFI mode, while the error appears when Setup was started in legacy BIOS (CSM) mode. This guide explains GPT vs. MBR, how to boot the installer in UEFI mode so Windows installs on GPT, how to convert a disk to GPT when needed, and how to check which style your disk uses.
Quick Answer
Restart, open your PC’s boot menu, and choose the USB entry that starts with UEFI:. If there’s no UEFI entry, enter BIOS setup, set the boot mode to UEFI (and disable CSM/Legacy), and try again. In Setup, delete the partitions on the target drive and install to the unallocated space. Windows creates the GPT partitions automatically.

GPT vs. MBR in Plain Terms
| GPT | MBR | |
|---|---|---|
| Boot mode | UEFI | Legacy BIOS (CSM) |
| Maximum disk size | Effectively unlimited | 2 TB |
| Partitions | Up to 128 | 4 primary |
| Secure Boot and Windows 11 support | Yes | No |
| Recommended | Yes, for any modern PC | Only for very old PCs without UEFI |
Method 1: Boot the Installer in UEFI Mode (Recommended)
- Plug in the Windows 10 USB drive and restart.
- Press the boot menu key (commonly F12, F11, F9, or Esc, depending on the manufacturer).
- Choose the entry labeled UEFI: [your USB drive], not the one without “UEFI.”
- In Setup, choose Custom: Install Windows only, delete the partitions on the disk (back up first), select Unallocated Space, and click Next.
Method 2: Switch the Firmware to UEFI
- Enter BIOS/UEFI setup (often F2 or Del at startup).
- Find Boot Mode, Boot List Option, or CSM.
- Set it to UEFI and disable CSM or Legacy support.
- Save, exit, and boot from the USB again.
Method 3: Recreate the USB for UEFI
The Media Creation Tool creates USB drives that boot in both modes. If you used Rufus, recreate the drive with Partition scheme: GPT and Target system: UEFI (non CSM).
Convert a Disk to GPT (When Needed)
Empty disk or clean install (erases everything)
- In Setup, press Shift + F10 to open Command Prompt.
- Run
diskpart,list disk, andselect disk 0(use the correct number). - Run
clean, thenconvert gpt, thenexit. - Close Command Prompt, click Refresh, and install to the unallocated space.
Existing Windows 10 install (keeps your data)
Microsoft’s built-in MBR2GPT tool converts the system disk without data loss. Back up first anyway.
- Open Command Prompt as administrator.
- Run
mbr2gpt /validate /allowFullOSto check the disk. - If validation passes, run
mbr2gpt /convert /allowFullOS. - Restart, enter BIOS, and switch the boot mode to UEFI.
If you use BitLocker, suspend it before converting.
Check Your Disk’s Partition Style
- Open Disk Management, right-click the disk label (for example, Disk 0), choose Properties > Volumes, and look at Partition style.
- Or run
diskpart, thenlist disk. An asterisk (*) in the Gpt column means GPT. - To check how Windows booted, press Windows + R, run
msinfo32, and look at BIOS Mode (UEFI or Legacy).
The Opposite Error: “The selected disk has an MBR partition table”
This means Setup booted in UEFI mode but the disk is MBR. Delete all partitions in Setup (the disk becomes unallocated and Setup creates GPT), or convert with convert gpt as above.
Frequently Asked Questions
Can I install Windows 10 on GPT with legacy BIOS?
No. Windows boots from GPT only in UEFI mode.
Will converting to GPT delete my files?
DiskPart’s clean erases everything. MBR2GPT converts without deleting files, but always back up first.
Do I need GPT for Windows 11?
Yes. Windows 11 requires UEFI with Secure Boot capability, which uses GPT.
Summary
- The GPT error means the USB booted in legacy mode.
- Boot the USB’s UEFI: entry, or switch the firmware to UEFI.
- Delete old partitions and install to unallocated space.
- Use
diskpart convert gpton empty disks, or MBR2GPT to convert without data loss.

Kermit Matthews is a freelance writer based in Philadelphia, Pennsylvania with more than a decade of experience writing technology guides. He has a Bachelor’s and Master’s degree in Computer Science and has spent much of his professional career in IT management.
He specializes in writing content about iPhones, Android devices, Microsoft Office, and many other popular applications and devices.