Select Page
  1. Use the Windows key + X keyboard shortcut to open the Power User menu and select Command Prompt (Admin).
  2. Connect the drive you want clean and format to your computer.
  3. Type the following command and press Enter:
    diskpart
  4. Type the following command to list all the available drives and press Enter:
    list disk
  5. Use the following command to select the drive and press Enter:
    select disk X
  6. Type the following command to clean the drive and press Enter:
    clean
  7. Type the following command to double-check the drive still selected and press Enter:
    list disk
    If the drive still selected, you will notice an asterisk (*) next to the disk.
  8. Type the following command to create a partition and press Enter:
    create partition primary
  9. Type the following command to select the partition you just created and press Enter:
    select partition 1
  10. Type the following command to set the partition active and press Enter:
    active
  11. Type the following command to format the partition using NTFS and to set a label, and press Enter:
  1. format FS=NTFS label=FG-Drive
  1. Remember to change the WC-Drive in the command with the drive name you want to use.
  2. Type the following command to assign a drive letter and press Enter:
  1. assign letter=F
  1. Remember to change F in the command with a letter you want that isn’t in use by another drive on This PC.Use the exit command to close DiskPart to complete the task.