Clear Partition Table in Windows

I’ve always had annoying problems with needing to clear bootable Linux USB drives in Windows to replace them with something else. Under Gnome Disks it’s super easy to do from the GUI as well as doing it with fdisk. Under Windows it’s actually just as simple from the Command Prompt.

  1. diskpart
  2. list disk
  3. select disk <your disk number>
  4. list disk
  5. clean

Now you can use Disk Management to create partitions or use Rufus to write an ISO file.