|

Fix “Windows Cannot Be Installed to Disk 0 Partition 1” (2-Minute Fix)

Tutorial to fix the Windows cannot be installed to disk 0 partition 1 error during setup

“Windows cannot be installed to drive 0 partition 1” almost never means there is anything wrong with your drive. It means the boot mode of your USB stick does not match the partition style of your disk. Press Shift + F10 on the Windows Setup screen, run diskpart then list disk, and look at the GPT column: an asterisk means the disk is GPT and the USB must be booted in UEFI mode; no asterisk means MBR and the USB must be booted in Legacy/CSM mode. Restart, pick the matching entry in the boot menu, and Setup will accept the partition.

Applies to: Windows 10 (22H2) and Windows 11 (23H2, 24H2, 25H2) | Last updated: August 7, 2026

Fixing the disk 0 partition 1 error in about two minutes

Key Takeaways

  • Your drive is fine. This error is a boot-mode mismatch between the USB stick and the disk, not a hardware fault or a damaged partition.
  • Click “Show details” to see the real reason. It will say the selected disk is of the GPT partition style, or that it has an MBR partition table — that tells you which way the mismatch runs.
  • GPT disks need the UEFI boot entry. MBR disks need the Legacy or CSM entry. They have to match, and the boot menu usually lists your USB stick twice so you can pick either one.
  • Check the partition style without leaving Setup — Shift + F10 opens a command prompt, then diskpart and list disk show a GPT column with an asterisk for GPT disks.
  • Fixing this properly does not touch your data. If Setup then offers to move your old install to Windows.old, that is the message you want — it means it will install without wiping your files.

Quick Steps

  1. On the Windows Setup partition screen, press Shift + F10 to open a command prompt.
  2. Type diskpart and press Enter, then list disk and press Enter.
  3. Look at the GPT column. An asterisk means GPT; nothing there means MBR.
  4. Restart and open the boot menu (commonly F12, F11, F8 or Esc depending on the board).
  5. Pick the USB entry that matches: the one prefixed UEFI for a GPT disk, the one without it for an MBR disk.
  6. If only one entry appears, set CSM Support or Boot Mode Selection in the BIOS to UEFI and Legacy, then save and exit.
  7. Run Setup again and select the same partition — it should now accept it.

What This Error Actually Means

You get to the drive selection screen in Windows Setup, click the partition you want, and Setup refuses with “Windows cannot be installed on drive 0 partition 1.” Click Show details and you get the reason underneath, which is usually some version of “Windows cannot be installed to this disk. The selected disk is of the GPT partition style” — or the MBR equivalent.

Here is the part that catches almost everybody out: there is nothing wrong with your drive. The problem is the way you booted the USB stick.

Your drive is laid out in one of two ways. GPT is the modern partition style; MBR is the older one. Your USB stick can also boot in one of two ways — via UEFI, or via Legacy, which a lot of motherboards call CSM. Those two things have to match. A GPT disk needs the USB booted in UEFI mode, and an MBR disk needs it booted in Legacy or CSM mode. Get it the wrong way around and Setup stops you at the partition screen, which is exactly where you are now.

Step 1: Check Whether Your Disk Is GPT or MBR

You can check this without even leaving the installer. On the Windows Setup screen, press Shift + F10 together — that opens a command prompt window on top of Setup.

diskpart
list disk

You will get a list of every disk in the machine. Look at the column on the right-hand side headed Gpt. If your disk has an asterisk under it — that little star — the disk is GPT. If there is nothing there at all, it is MBR.

So if disk 0 has the asterisk, your drive is GPT, and that tells you that you need to be booting the USB stick in UEFI mode. No asterisk means MBR, and you need the Legacy or CSM entry instead.

Tip: Note down the disk number as well as the style. On a machine with several drives it is easy to check disk 1 and then go and boot for disk 0. The disk you care about is the one you are installing Windows onto.

Step 2: Boot the USB Using the Matching Entry

Restart the computer and open the boot menu again. This is the part most people miss completely: when the boot menu opens, you will usually see your USB stick listed twice. Same stick, two entries. One of them will have UEFI in front of the name and the other one will not.

That is not a bug or a duplicate. That is your motherboard offering you both boot modes for the same drive, and the entry you choose decides how Windows gets installed.

  • Disk is GPT (asterisk present) → pick the entry that says UEFI.
  • Disk is MBR (no asterisk) → pick the other one, the entry without UEFI in the name.

If you only see one entry for your stick, that is a BIOS setting rather than a problem with the USB. Go into the BIOS and look for CSM Support or Boot Mode Selection. If it is set to UEFI only, you are only ever going to get the UEFI entry. Set it to UEFI and Legacy, then save and exit, and both entries should appear in the boot menu.

If you want the longer explanation of what those two entries do and how to choose between them on a fresh install, I go through it properly in my guide on whether to pick the UEFI or Legacy entry when booting a Windows USB.

Step 3: Confirm Setup Now Accepts the Partition

Boot the USB again and run through Setup as normal. When you get back to that same partition screen and select the same partition, you should get a completely different message this time — the one saying your old files will be moved to a folder called Windows.old.

That is the message you want. It means Setup is going to install without wiping your data, and your old user folders will be sitting in C:\Windows.old when the new install boots. Windows keeps that folder for 10 days before deleting it automatically, so copy anything you need out within that window. The full process is covered in how to reinstall Windows without losing data.

The Simpler Way Out (If You Do Not Need the Data)

If you are doing a proper clean install and there is nothing on that drive you need, there is an easier route. On the partition screen, select each partition on disk 0 in turn and click Delete, and keep going until the whole disk shows as one single block of unallocated space. Then select that unallocated space and click Next.

Windows will lay the drive out itself to match the way you booted, so the mismatch just goes away on its own. No diskpart, no BIOS trip.

Warning: Deleting the partitions erases everything on that disk, including any data partition you were hoping to keep. Only take this route if your files are already backed up somewhere else.

Converting MBR to GPT Without Losing Files

If you want to keep the drive exactly as it is but move it from MBR over to GPT — so you can boot in UEFI from now on — Windows has a built-in tool for that, and it runs from the same Shift + F10 command prompt. Validate first:

mbr2gpt /validate /disk:0 /allowFullOS

If that comes back clean, run the same command with /convert in place of /validate:

mbr2gpt /convert /disk:0 /allowFullOS

That converts the whole drive without touching your files. Just remember to go back into the BIOS afterwards and turn CSM off — otherwise the machine will still try to boot the old way and you have not actually changed anything.

Converting MBR to GPT without losing data, step by step

If the Drive Does Not Appear At All

This guide is for when Setup sees your disk and refuses the partition. If the drive selection screen is empty and no disks are listed, that is a different problem — usually a missing storage controller driver on newer Intel laptops, or a SATA mode set to RAID in the BIOS. My guide on fixing “no drives were found” during Windows installation covers that one.

It is also worth making sure the installation media itself is sound. If you built the stick a while ago or it has been through a few installs, remaking it takes five minutes — my Rufus vs Ventoy comparison covers which tool to use for which job.

Frequently Asked Questions

Does this error mean my hard drive is failing?

No. “Windows cannot be installed to drive 0 partition 1” is a partition style and boot mode mismatch, not a hardware fault. The drive is being detected correctly, which is why Setup can list the partition at all — it is just refusing to install onto it in the mode you booted.

Will fixing this delete my files?

Rebooting with the correct boot mode does not touch your data at all. Deleting the partitions to force a clean layout does erase everything on the disk. Converting MBR to GPT with the mbr2gpt command preserves your files, but back them up first regardless.

Which should I choose for Windows 11 — UEFI or Legacy?

UEFI. Windows 11 requires UEFI firmware, Secure Boot and a TPM, and it installs onto a GPT drive. Legacy/CSM is not a supported option for a Windows 11 install, so on a clean install the UEFI entry is the one you want every time.

Why does my USB stick appear twice in the boot menu?

Because your motherboard supports both boot modes and the stick was made to work with both — which is what Rufus, Ventoy and Microsoft’s media creation tool do by default. The entry prefixed “UEFI” boots it in UEFI mode; the other boots it in Legacy/CSM mode.

My BIOS has no CSM option at all. Is something wrong?

No, that is normal on newer motherboards — many have dropped Legacy support entirely. It just means you will be booting in UEFI mode, and your drive needs to be GPT. Convert the disk with mbr2gpt or delete the partitions and let Setup lay it out.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *