Create a GPT / UEFI Partition During a Windows 10 Install

I recently found this info useful from this link, when I was repurposing an old disk for a temporary and experimental installation of windows.

To manually wipe a drive and convert it to GPT:

  1. Turn off the PC, and put in the Windows installation DVD or USB key.
  2. Boot the PC to the DVD or USB key in UEFI mode. For more info, see Boot to UEFI Mode or Legacy BIOS mode.

  3. From inside Windows Setup, press Shift+F10 to open a command prompt window.
  4. Open the diskpart tool:
  5. Identify the drive to reformat:
    list disk
  6. Select the drive, and reformat it:
    select disk <disk number>
    convert gpt
  7. Close the command prompt window.
  8. Continue the Windows Setup installation.When choosing an installation type, select Custom. The drive will appear as a single area of unallocated space.Select the unallocated space and click Next. Windows begins the installation.