Format Hard Drive Using DiskPart Format Command & Formatting Tool

Jean updated on Nov 19, 2019 to Partition Master | How-to Articles

Here on this page, we'll include two free methods to help you quick format or fully clean up a hard drive with ease.

PAGE CONTENT:
Format Hard Drive Using DiskPart Format Command
Format Hard Drive with DiskPart Alternative - Formatting Tool

Formatting hard disk, USB flash drive, pen drive, and memory card, etc., is meaningful and helpful in solving some device issues. For examples:

  1. e.g. 1. Incompatible file system error:
  2. In most cases, you have to convert FAT32 to NTFS or NTFS to FAT32 by formatting so to make storage devices recognizable by Windows, Mac or other platforms.

e.g. 2. To format and clean hard drive for Windows installation.

  1. e.g. 3. The hard drive is corrupted or it contains soft bad sectors:
  2. When device access is denied due to the RAW file system, then Windows asks you to format it before you can use it.

DiskPart Format vs Hard Drive Formatting Tool

Generally, there are three ways to initiate the task - Windows quick format (by right-clicking or using Disk Management), Windows DiskPart command, or a free third-party hard drive format tool. Windows quick formatting is easy to get started but with limited functions. 

So the last two options become the best choices. What's the difference though? And which way fits you the best?

Here is a feature comparison list between DiskPart Format Command and EaseUS free hard drive formatting tool for you to refer to:

DiskPart Format Command EaseUS Free Formatting Tool
  • Free
  • Support Quick Format
  • Support clean disk
  • Support to format disk to FAT32/NTFS
  • Designed for advanced users
  • No tech support
  • Free
  • Support Quick Format
  • Support clean disk
  • Support to convert FAT32 to NTFS without formatting
  • Support to format device to FAT32/NTFS/EXT2/3
  • Designed for all levels of users
  • Tech support and online support available

For a new beginner, we suggest you try the free format tool recommended in Part 2. For experienced users, you may run DiskPart command in Part 1 for help.

Note: Both formatting solutions will remove hard drive data completely. Therefore, make sure that you have backed up all important data in advance before taking the operations.

Format Hard Drive Using DiskPart Format Command

To format a hard drive using DiskPart, you need to follow the commands below carefully. Any mistakes will cause serious problems.

Here we'll take how to format hard drive using CMD on Windows 10 as an example to show you to detail steps:

# 1. Quick Format A Hard Drive Partition

Step 1. Open Command Prompt by right-clicking on Windows icon, select "Search" and type: command prompt.

Right-click on Command Prompt and select "Run as administrator".

Step 2. Type diskpart in Command Prompt and hit Enter.

Step 3. Hit Enter each time when you type below command lines in DiskPart to quick format hard drive:

Click to copy
  • list disk
  • select disk 2 (Replace 2 with your disk number)
  • list volume
  • select volume 10 (Replace 10 with the volume number of the partition that you want to format)
  • format fs=ntfs quick (If you need to format a hard drive partition to FAT32 or other file systems, replace ntfs with fat32exfat, etc.)
 Warning
If you accidentally input format without fs=ntfs quick or fs=fat32 quick in DiskPart command prompt, it will execute a full format on your selected hard drive partition.
This command will erase all saved data sector by sector. In other words, you'll permanently lose all erased data on the drive with no recovery chance.

Step 4. Type exit and hit Enter to close the program when DiskPart reports it has successfully formatted the volume.

Quick format hard drive with diskpart command.

# 2. Fully Clean and Format A Whole Hard Drive

Step 1. On Windows 10, press Windows + X, select "Search", and type command prompt, right-click on it and choose "Run as administrator".

Step 2. On the Command Prompt black window, type diskpart and hit "Enter".

type diskpart to format hard drive with command prompt

Step 3. Now type list disk and press "Enter".

All the disk drives will be listed, including your external drives that connected to the computer.

type list disk to format hard drive with command prompt

Step 4. Refer to the list disk information, type select disk + disk number, for example, select disk 1 and press enter. You're telling diskpart to format disk 1.

type select disk 1 to format hard drive with command prompt

Step 5. Go on to type clean. This step starts to clean up all files and folders on the selected hard disk.

type clean to format hard drive with command prompt

Step 6. Type create partition primary and press "Enter".

type create partition primary to format hard drive with command prompt

Step 7. After diskpart successfully created the specified partition, type format fs=ntfs (or format fs=exfat) and press "Enter". You're telling diskpart to format the drive with a file system, let it be NTFS, exFAT, etc.

type format fs=ntfs to format hard drive with command prompt

Step 8. At last, assign a drive letter to the newly created partition by typing assign.

type assign to format hard drive with command prompt

Step 9. Type exit to close the DiskPart Command Prompt window when the process finishes.

That's a complete guide of formatting hard disk with diskpart format commands.

Format Hard Drive with DiskPart Alternative - Formatting Tool

Another easy way to format a hard drive is to apply a powerful DiskPart alternative formatting tool - a free partition manager software for help.

Here we'd like to recommend you try EaseUS Partition Master Free. It offers easy steps to allow you quick format an internal HDD or completely clean up an external USB stick, pen drive or SD card. The whole process will be easier than handling the command prompt.

Download Now

 Windows 10 is supported

# 1. Quick Format Hard Drive 

 

Step 1: Run EaseUS Partition Master, right-click the hard drive partition you intend to format and choose "Format".

Format Hard Drive Partition - Step 1

Step 2: In the new window, set the Partition label, File system (NTFS/FAT32/EXT2/EXT3), and Cluster size for the partition to be formatted, then click "OK".

Format Hard Drive Partition - Step 2

Step 3: Then you will see a warning window, click "OK" in it to continue.

Format Hard Drive Partition - Step 3

Step 4: Click the "Execute Operation" button in the top-left corner to review the changes, then click "Apply" to start formatting the partition on your hard drive.

Format Hard Drive Partition - Step 4

# 2. Fully Clean Up Hard Drive by Erasing Disk

Download Now

 Windows 10 is supported

The following is not a formatting process but it works as the same as DiskPart clean command in cleaning up a hard drive. With it, you can simply erase everything on a hard drive, leaving it as an empty new drive with full size.

Step 1: Install and launch EaseUS Partition Master.

Select the HDD or SSD which you want to wipe. And right-click to choose "Wipe Data".

select wipe data

Step 2: Set the number of times to wipe data.

You can set to 10 at most. Then Click "OK".

set the times

Step 3: Check the message.

A message tells you that the computer would restart after disk erase is recommended. Then click "OK".

check the message

Step 4: Click "Apply" to apply the changes.

Click "Execute the operation" and then click "Apply" to start wiping data.

start wiping data

Bottom Line

On this page, we included two major free methods to help you quick format or fully clean up a hard drive disk by using DiskPart format command lines or a free formatting tool.

If you are having further formatting issues, check the How-To page or use the Search option on our website - https:www.easeus.com to find exact solutions for your issues. 

 
 

100% of people found this article helpful.

 

Frequently Asked Questions

Why Choose EaseUS Partition Master?

"I've used Partition Master Professional many times to create, delete, format, move, rename, and resize partitions."PCWorld

"Partitioning tools have come a very long since the days of complicated command line utilities and EASEUS Partition Master is one of the most advanced programs available."TECH ADVISOR

"I love that the changes you make with EaseUS Partition Master Free aren't immediately applied to the disks. It makes it way easier to play out what will happen after you've made all the changes."Lifewire

Will the "Migrate OS" feature transfer the Windows system files only or the whole C drive?

To ensure that the migrated system will boot normally, the Migrate OS feature will transfer all the files in the system and the boot partitions. Generally, the boot partition is the C drive so the transfer will include all the files in C.

Does EaseUS Partition Master license apply to multiple computers?

The license of Partition Master Professional and Server editions can be used on 1 computer only, while that for for the Technician and Unlimited editions can be used on multiple machines.

What is the difference between EaseUS Partition Master Trial version and the Free version?

Free is for home users only, with most basic functions available such as partition resize and clone. While trial can help you understand how this product works and test what a full license can do on a business or server OS machine.

Will it cause any data loss after resizing the partition in EaseUS Partition Master?

Generally, it will not cause any data loss or boot issue by resizing a partition. However, in order to protect your data, we suggest that you backup the partition before resizing, in case of any unexpected situations such as power outages, computer hardware failures, etc. You can use EaseUS Todo Backup to backup the partition and its trial version is fully functioned for 30 days.

What should I prepare before resizing the partition?

On the partition that is going to be operated, there might be some files being occupied by other programs. To ensure a successful operation, we suggest that you close all the unnecessary software before resizing that partition. Otherwise, EaseUS Partition Master will detect the partition being locked by the other software and require a reboot to resize the partition under boot mode.

About EaseUS Partition Master

All-round disk & partition management software for personal and commercial use. Let it manage your storage drive: resize, format, delete, clone, convert, etc.