How do I format an HDD to GPT partition style using Windows 10's installation disk

14,941
  1. Press ShiftF10 to open a Cmd window.

  2. Run diskpart.

  3. Use list disk and sel[ect] disk <num> to choose the physical disk.

  4. Use clean to delete all partitions.

  5. Use convert gpt to create a blank GPT partition table.

Recently this has been added to the official Microsoft documentation site.

Share:
14,941

Related videos on Youtube

starleaf1
Author by

starleaf1

Updated on September 18, 2022

Comments

  • starleaf1
    starleaf1 over 1 year

    I'm trying to install Windows 10 in GPT mode, but unfortunately the disk inside the computer I'm trying to install into is already formatted using MBR.

    I've been working around this problem by first booting into Linux using my thumb drive, formatting the disk as GPT, rewriting the same thumb drive with the Windows image, and then finally installing Windows 10. This is time-consuming and not good for my thumb drive's health.

    Can I format from within the Windows installer?

    Please note that I'm not looking to convert MBR to GPT with the data intact, so MBR2GPT is not an answer.

    • Akina
      Akina almost 6 years
      You need re-partition, not re-format. Start installation, remove all partitions (including hidden, reserved, unknown type, etc.) from HDD, and restart installation - it must ask what style (MBR or GPT) you want to use...
    • starleaf1
      starleaf1 almost 6 years
      @Akina So, I simply need to erase all existing partitions, and then restart?
    • user1686
      user1686 almost 6 years
      To avoid having to rewrite the thumb drive with different images, get a second thumb drive.