During a clean installation of Windows 11 using a bootable USB flash drive, selecting your target solid-state drive (SSD) or hard drive partition can bring your progress to an abrupt halt with the error warning: “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” (or vice versa).
This barrier occurs because modern computers boot using Unified Extensible Firmware Interface (UEFI) mode, which strictly mandates GUID Partition Table (GPT) disk partitioning. Older installations used legacy BIOS Master Boot Record (MBR) tables. When your boot mode and target partition table format do not align, the Windows installer blocks installation. Follow these proven methods to convert your disk to GPT without partition conflicts.
Convert MBR to GPT via DiskPart During Setup (Clean Install)
If you are performing a fresh installation and do not need to preserve existing data on the drive, converting the disk using the command-line DiskPart tool is the fastest and most reliable method.
- On the screen displaying the error message “Windows cannot be installed to this disk,” press Shift + F10 on your keyboard (or Shift + Fn + F10 on some laptops). This opens the Command Prompt directly over the setup window.
- Launch the disk partitioning utility:
diskpart - Display all physical storage drives connected to your PC:
list disk - Identify your primary internal drive number (e.g.
Disk 0orDisk 1). Inspect the Gpt column on the right; if no asterisk (*) is present, the disk is MBR. - Select your target drive:
select disk 0(Ensure you replace 0 with your actual internal drive number, not your USB installer drive!).
- Wipe all existing partition headers from the disk:
clean - Convert the disk architecture to GUID Partition Table:
convert gpt - Exit DiskPart and close Command Prompt:
exit exit - Back on the Windows setup screen, click the Refresh button. Select the Unallocated Space and click Next to install Windows smoothly.
Convert MBR to GPT Without Data Loss Using MBR2GPT
If you have an existing Windows installation on an MBR disk that you wish to upgrade to Windows 11 without erasing personal documents, Microsoft provides a native non-destructive conversion utility named MBR2GPT.
- Boot your PC into the Windows Recovery Environment (WinRE) Command Prompt or launch Command Prompt as administrator in your current Windows session.
- Validate whether the disk is eligible for non-destructive conversion:
mbr2gpt /validate /allowFullOS - If the output returns “Validation completed successfully,” execute the conversion pass:
mbr2gpt /convert /allowFullOS - The tool will shrink your OS partition slightly, generate an EFI System Partition (ESP), and write GPT headers without touching your data files.
- Restart your computer, enter BIOS, and switch your boot mode from Legacy/CSM to pure UEFI.
Switch Motherboard Boot Mode from Legacy to UEFI in BIOS
If your computer motherboard is configured to boot in legacy CSM (Compatibility Support Module) mode, Windows installation media boots in legacy mode, which prevents installation to modern GPT drives.
- Reboot your computer and press your motherboard’s BIOS setup key (typically Del, F2, or F12 during power-on).
- Navigate to the Boot or Security tab.
- Locate the Boot Mode or CSM Support setting.
- Change Boot Mode from Legacy to UEFI, or disable CSM Support completely.
- Ensure Secure Boot is enabled (a mandatory requirement for Windows 11).
- Save changes (usually F10) and reboot from your USB installation drive.
Create a Properly Partitioned UEFI USB Installer with Rufus
If your bootable USB installation media was authored using legacy MBR parameters, the installer will force the wrong boot mode.
- Download the free open-source tool Rufus on another computer.
- Insert your USB drive and select your official Windows 11 ISO file.
- Under Partition scheme, choose GPT.
- Under Target system, confirm it selects UEFI (non CSM).
- Click Start to write the bootable drive with guaranteed UEFI compliance.