Best Way To Format a Hard Drive Using CMD with Diskpart

Best Way To Format a Hard Drive Using CMD with Diskpart

Formatting a hard drive or SSD is the same as buying a new hard drive because the process erases all data in one go. Formatting a hard drive allows you to clean both internal and external storage media.
Here are the steps to format a hard drive using CMD with Diskpart:

  1. Open Command Prompt by typing “cmd” in the search bar or by pressing Windows Key + R, typing “cmd“, and press Enter.
  2. Type “diskpart” in the Command Prompt window and press Enter.
  3. Type “list disk” and press Enter. This will display a list of all the disks attached to your computer.
  4. Identify the disk you want to format. Note its disk number.
  5. Type “select disk [disk number]” and press Enter. Replace [disk number] with the actual disk number you identified in the previous step.
  6. Type “clean” and press Enter. This will erase all data on the selected disk.
    Note: After creating a new partition here you can convert the disk to MBR/GPT Disk
  7. Type “create partition primary” and press Enter. This will create a new primary partition on the disk.
  8. Type “select partition 1” and press Enter. This will select the partition you just created.
  9. Type “format fs=ntfs quick” and press Enter. This will format the partition using the NTFS file system.
  10. Wait for the formatting process to complete. This may take a few minutes.
  11. Type “exit” and press Enter to exit Diskpart.
  12. Type “exit” and press Enter again to close the Command Prompt window.

Your hard drive is now formatted and ready for use.

Leave a Reply

Your email address will not be published. Required fields are marked *