1.Click Start > Run and type “CMD”, pressing Enter should open a new terminal.
2.We need to next start the Disk Part tool, type “DISK PART” into the Command Line and press Enter.
3.Next let’s display and identify which volume we would like to format. Type “list volume” and press Enter. You should see a list of available volumes. Identify the one which you wish to format, be careful selecting the wrong volume will spell disaster!
4.Type “select volume <x>” and press Enter, where <x> is the volume you wish to focus on.
5.Type “clean” and press Enter. This removes any and all partition or volume formatting from the disk in focus.
6.Type “create partition primary” and press Enter. This creates a primary partition on the current disk. After you create the partition, the focus automatically shifts to the new partition. It is possible to create multiple partitions if you like. To do this you would add the option size=<x> where <x> is the size in megabytes (MB) you would like the partition to be. If no size is specified, like in my example, the partition continues until there is no more unallocated space.
7.Type “format fs=ntfs quick label=test” and press Enter. This will now perform a quick format, using a ntfs file system and labeling the drive “test”. You may wish to use the file system fat32 in place of ntfs if you would like to use the drive with other operating systems.
8.Lastly type “assign letter <x>” and press Enter, where <x> is the letter you would like to assign the drive.
9.You can close the Disk Part tool and Command Prompt using the “exit” command. You should now see your freshly formatted drive in My Computer, ready to use.