How to Format a Drive Through DiskPart

DiskPart is a Windows command line utility that serves as an alternative to the Disk Management program in Windows 7. DiskPart lets you partition, format or resize disks, like Disk Management, but has additional functionality to perform actions on disks that are unavailable in Disk Management. These actions inlcude placing a new partition at a specific location on the hard drive. Also unlike Disk Management, DiskPart does not automatically assign a disk letter to new partitions and drives.

...
DiskPart is a command line utility to manage hard disks.

Step

Click the "Start" menu, then type “diskpart” in the search bar. Press Enter or click “DiskPart.exe” in the search results.

Step

Type “list volume” and press Enter. The volumes or partitions on your system will appear with a volume number, drive letter, label, file system, type, size and status. If you have only one partition on your hard drive, the volume represents the entire hard disk.

Step

Type “select volume” followed by the volume number that you want to format. For example, if the disk is “Volume 3" in the disk list, type “select volume 3" and press Enter. DiskPart responds with “Volume # Is Now the Selected Volume.”

Step

Type “format fs=quick” to do a quick format with the chosen file system. For example, if you want to format your volume in the NTFS format, type “format fs=ntfs quick” and press Enter.