Create or Delete Partition with Windows Command Line

Open Windows command Line and follow these steps.

  1. Run Command diskpart
  2. Run Command list disk
  3. Note the disk number that corresponds to your USB drive (it should be obvious going by size)
  4. Run Command select disk X (where X is the number from step 4)
  5. Run Command list partition – There should be two, numbered 0 and 1, each about 7 GB
  6. Run Command select partition 0
  7. Run Command delete partition
  8. Run Command select partition 1
  9. Run Command delete partition
  10. Run Command create partition primary
  11. Exit Command Prompt (type exit or just close the window)

In Windows, go to Computer and try to open the disk. It will ask you to format it.
Format it with the default settings and give it a name if you want.

Leave a Reply