Skip to content

Instantly share code, notes, and snippets.

@reeddunkle
Last active September 16, 2019 13:00
Show Gist options
  • Save reeddunkle/18ed77334896f324ac7a30072d50b5a7 to your computer and use it in GitHub Desktop.
Save reeddunkle/18ed77334896f324ac7a30072d50b5a7 to your computer and use it in GitHub Desktop.
Windows Startup clean disks and convert to gpt

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:

    diskpart
    
  5. Identify the drive to reformat:

    list disk
    
  6. Select the drive, and reformat it:

    select disk <disk number>
    clean
    convert gpt
    exit
    
  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.

Original source: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/windows-setup-installing-using-the-mbr-or-gpt-partition-style

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment