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.
      Windows-R-shortcut-command-prompt
    2. Type “diskpart” in the Command Prompt window and press Enter.
      diskpart
    3. Type “list disk” and press Enter. This will display a list of all the disks attached to your computer.
      List-Disk
    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.
      Select-the-Drive-to-Format
    6. Type “clean” and press Enter. This will erase all data on the selected disk.
      Clean-the-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.
      Create-Partition-Primary
    8. Type “select partition 1” and press Enter. This will select the partition you just created.
      Select-Partition-1
    9. Type “format fs=ntfs quick” and press Enter. This will format the partition using the NTFS file system.
      format-fsntfs-quick
    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.

    Share.
    Unknown's avatar

    Hollands Web is a web design and digital solutions agency specializing in WordPress development, web hosting, SEO, and custom digital solutions. Our team shares practical insights, guides, and strategies to help businesses build, improve, and grow their online presence.

    Leave A Reply

    Ready to get started?

    Are you ready
    Let’s Make Something
    Amazing Together

    Need help? Contact our experts
    Tell us about your project

    Groningen, Netherlands.

    Kuipenstreek 1,
    Oosterwolde 8431 LX

    Istanbul,
    Turkey.

    Hırka-i şerif mah.
    Fatih 34091

    Newsletter

    Sign up to our newsletter!

    © 2026, Holland’s Web. All Right Reserved.