If you want to create one full partition using DISKPART, use the following command.For an end-user, formatting the USB drive is easy.
repeat the step 6-8 if you need to delete other partitions.Īll delete partitions will be left as unallocated space.This command will delete the partition that you select from step 7. Replace the * with your disk partition number from step 5. select the partition you want to delete.Make note of the number of the partition that you want to delete. if you want to delete all partitions and create one full size partition, use the following command and go to step 10 below.Replace the * with your disk number from step 3. select your USB disk which you want to delete the partition.Important! Make down the disk number of the disk from which you want to delete the partition. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue. In the Start Search box, type cmd, and then press CTRL+SHIFT+ENTER or right click choose “Run as administrator”
start a command prompt as an administrator (CMD).For MacOS, you can have similar solution here Caution: When you use DiskPart to clean USB drive partition, all data on the USB will be erased. Diskpart enhances the Disk Management graphical user interface (GUI). How to combine two partitions or more into one and restore USB drive to it’s original state? To delete partitions on USB drive, you will need to use the command-line utility: Diskpart.
Disk Management will not provide delete volume option for extra partitions on USB drives if more than one partition is detected. For USB drive or logical drive, if the drive already has more than one partition, Disk Management will not allow you manage extra partitions on removable storage devices, unless you deleted all of the partitions and make a new, full size partition. Windows does have a Disk Management tool for simple disk management operations.