logo
Windows 10Format Disk Partition Using Command Prompt

How to Format Disk Partition Using Command Prompt

By Achilles Hill | Last Updated

We usually format partitions in a disk through Disk Management. However, there is one more way available. In this tutorial, we will walk you through the steps to format disk partition using Command Prompt, which is also an effective way for partition formatting.

how to format disk partition using command prompt

Part 1. Back up data in disk partitions using CloneGo

Please note that all the data in partition will be deleted during formatting, so make sure you already back up important data in it. Using third-party software to backup data is effort-saving and efficient. CloneGo is the reliable partition clone software for backup. You can back up the partition using CloneGo in the way below.

Step 1: Open CloneGo and choose Backup function.

Step 2: Select a partition and click on Choose button to select a folder for storage. Then click on the Start button for backup. When the backup is completed, click OK to confirm.

select a partition to back up

Part 2. Format disk partitions using Command Prompt

Step 1: Run Command Prompt as administrator.

Type "cmd" or "command prompt" in the search box in the lower-left corner. Right-click the icon and select Run as administrator.

Step 2: Open DiskPart command prompt.

On the Command Prompt window, type diskpart and press enter button.

Step 3: Select a partition.

Type list volume and hit enter. All available volumes can be seen including hidden volumes. Find the partition to be formatted based on the information presented. The letters in the second column are the partition names. For example, C for disk C, which is the System disk.

list-volume

Then type "select volume +volume number" and hit Enter. For instance, "select volume 5" means that volume 5 is the selected partition.

select volume

Step 4: Format the disk partition.

Type "format fs=ntfs quick label=data" and press Enter. Wait a few seconds and the volume can be successfully formatted.

This Command-line means that to format the partition using the NTFS file system and to name the partition "data". NTFS can be replaced by FAT32 if you want to format the partition using the FAT32 file system. Data can be replaced by any other name.

format partition

Step 5:(optional) You can assign a drive letter for it by typing "assign letter = drive letter" and press Enter. Replace the "drive letter" with the letter you want, and be careful not to use the letter that is assigned before.

Step 6:Type exit and press Enter twice to stop DiskPart and close the Command Prompt.

exit command prompt

Related Articles: