Yes, you can delete all partitions on an SSD at once in Windows 10. Is there a free tool that can completely wipe out all partitions and erase the disk in one go? Yes, the built-in disk utility in Windows – DiskPart – can do this job.

Here, this guide will help you free up disk space using the free DiskPart tool. Here, besides deleting volumes, you'll learn more command-line options to create, extend, and format volumes with this utility. Let's get started.

Alternative way to delete all partitions on a hard drive using DiskPart – The easiest method

For some Windows beginners, DiskPart command line might be a little complicated to manage disks. Here, we recommend you a reliable DiskPart alternative that makes it easier and more efficient to delete all partitions on a disk than using DiskPart.

  • Supported operating systems: All Windows operating systems
  • Audience: Windows beginners
  • Time to complete: 1-2 minutes

"Use a partition management software to delete all partitions"

A reliable partition manager software called AOMEI Partition Assistant Professional might help you out online, which outperforms hundreds of disk management utilities in the global market. For most Windows users, it would be fantastic to delete all partitions on a drive with just a few clicks.

With the partition manager software – Partition Master, its “Delete All” feature can simply meet your need with a few clicks.

< strong > Step 1. Launch AOMEI Partition Assistant and then click "Partition Manager".

Before deleting any partitions on a disk, make sure you have backed up important data.

Step 2: Choose to delete a partition on the hard drive or delete all partitions.

  • Delete a single partition: Right-click the partition you wish to delete, then select "Delete."
  • Delete all partitions: Right-click the hard disk where you want to delete all partitions, then select "Delete All."

Step 3: Click OK to confirm the deletion.

Step 4: Click Run xx Task, and then click Apply to save the changes.

0:00 - 0:26 Remove a single volume; 0:27 - 0:53 Remove all partitions.

How to Use DiskPart to Delete All Partitions - A Step-by-Step Guide

In DiskPart, there are two commands that can be used to remove all partitions on a Windows computer. These commands are designed for different purposes:

Comparison Item DiskPart Clean Command DiskPart Clean All Command
Purpose Delete all partitions at once and quickly clean drive data. Delete all partitions and overwrite the hard drive, clear and reset the hard drive.
Outcome The deleted partitions and data can be recovered. The deleted partitions and data will be permanently removed and cannot be restored.

So how do we use these two commands? Let's give it a shot.

Before we begin, open Disk Management and make a note of the number of the disk that you wish to completely erase all partitions from:

Right-click the Windows icon > Disk Management, and then click the disk number.

Notice:
The Diskpart clean and clean all commands will delete all partitions, and all saved data on the hard drive will be removed as well. Before you begin, please make sure to back up all important data in advance.

#1. Use the DiskPart Clean Command to delete all partitions - Clean the disk

Step 1: Press Windows + R to open the search menu, type cmd, right-click on "Command Prompt," and select "Run as administrator."

Open DiskPart

Step 2. Click Yes to allow Windows to run the Command Prompt as an administrator.

Step 3: Type diskpart, and then press Enter.

Step 4. Enter the following commands one at a time, pressing Enter after each:

    • list disk
    • select disk # (Replace # with the number of your target disk)
    • clean

Delete all partitions using cmd

5. When the process is finished, type exit to close the Diskpart command window.

Now you may see your disk as Unallocated in Disk Management. You can also use Diskpart to force delete partition.

#2. Use the Diskpart Clean All command to delete all partitions

It can also be used to: Wipe a hard drive, or reset it.

Step 1: Press Windows + R to open the "Run" window, type cmd, and then right-click on "Command Prompt."

Click "Run as administrator," type diskpart, and press ↵ Enter.

Step 2. Click Yes to allow DiskPart to run with administrative privileges on Windows.

Step 3: Type the following commands, pressing Enter after each:

    • list disk
    • select disk 1 (replace 1 with the number of the disk you want to wipe)
    • clean all

Use Diskpart to delete all partitions and clean the hard drive

4. When you're done, type exit to close the Disk Partitioning window.

Your hard drive has now been reformatted. You have lost all your data.

Did any of these methods help you delete your partition? If you liked this page, feel free to share it with others who might need it.

The Chinese characters " " translate to "no-break space" in English. In the context of HTML, it is a non-breaking space character used to prevent words or characters from breaking onto a new line.

Additional tip: Use Disk Management to delete all partitions

Another Windows user-friendly partition deletion tool is Disk Management. It can delete all partitions for free. The only shortcoming of this tool is that it cannot delete all partitions at once.

You may have to do this a few times. Here's how to delete all partitions on the hard drive:

Step 1: Right-click the Windows icon and select Disk Management.

Right-click a partition on the target disk, and select “Delete Volume”.

Step 3: Select Yes to remove the selected disk.

Delete all partitions with Disk Management

Step 4. Repeat this process to delete all partitions on the target disk.

How to quickly remove all partitions from a drive? To quickly remove all partitions from a drive, follow these steps: 1. **Open Disk Management**: - On Windows, press `Win + X` and choose "Disk Management." - On a Mac, open "Disk Utility." 2. **Survey the disk layout**: Examine the disk management interface and identify the drive you want to clear. 3. **Delete Partitions**: - Right-click on each partition, starting from the top, and select "Delete Volume" (Windows) or "Erase" (Mac). - Confirm the warning dialog that appears to proceed with deleting the partition. 4. **Remove Primary and Extended Partitions** (optional): If your drive has a primary partition and an extended partition, you'll need to delete the extended partition first, then the primary one. After deleting the primary partition, its space will automatically merge into unallocated space. 5. **Wait for Completion**: Removing partitions may take some time, especially for larger drives, so be patient. 6. **Verify the Result**: Once all partitions are deleted, the drive should appear as one large "Unallocated" or "Free" space. At this point, you can choose to create new partitions or format the entire drive. Please note that this process will permanently erase all data on the partitions, so make sure to back up important files beforehand.

DiskPart is a command interpreter that helps Windows users manage disk drives on their computers. It is as effective as third-party partition management software and Disk Management for administering hard disks:

But which is the fastest way to erase all partitions on a disk? We tested these three methods on a 2 TB disk with four volumes, and here are the results that may interest you:

Comparison Items Disk Management: Clean Up Command Disk Management: Delete Volume AOMEI Partition Assistant: Delete All Partitions
Steps to delete all partitions At least 5 steps Over 5 steps 3 steps
Time Consumed 45 seconds 40 seconds 35 seconds
Advantages
  • Free
  • Delete all volumes at once
  • Free
  • User-friendly
  • Support deleting system drive with bootable media
Suitable for Users Experienced professionals Beginners Users of all levels

As seen in the table, all three tools can remove volumes from a computer. With its Wipe All feature, Partition Master is the simplest solution for cleaning a disk. In addition, if you plan on cleaning the OS drive, Partition Master is your best choice.

"Frequently Asked Questions about the 'DiskPart Delete Command'"

We've prepared a comprehensive guide to help you use the DiskPart command-line utility to delete all partitions on your Windows HDD, SSD, or even an external storage disk. If you have more questions, check the answers below.

1. Can I stop the DiskPart Clean All process?

No, once you press the Enter key, you can't stop or pause the DiskPart clean all command.

Even if you close the DiskPart command window, the operating system will continue to execute the command in the background, and all your partitions will be deleted.

Therefore, we recommend that you proceed with caution because it will permanently delete all partitions and data, an irreversible process that cannot be stopped.

2. How to use Diskpart to delete a partition?

Before you use DiskPart to delete a volume, back up any important files to an external disk.

Step 1: Press Windows + R, type cmd, then right-click on Command Prompt and select "Run as administrator."

Step 2. Enter each of the following lines in order, pressing Enter after you type each one:

    • diskpart
    • list disk
    • select disk #
    • list partition
    • select partition #
    • delete partition

Step 3: Type exit to close Disk Management.

Use Diskpart to delete partition

3. How to Remove All Primary Partitions in Windows 10 via Diskpart

Step 1: Right-click the “Windows” icon, select “Disk Management,” and check the volume number of the target disk on all primary partitions.

Step 2: Open DiskPart, and type each of the following commands on a separate line, pressing Enter after each:

    • diskpart
    • list disk
    • select disk #
    • list partition
    • select partition #
    • delete partition

Repeat this process to select and delete all primary partitions on your computer.

Step 3: Type exit to close the Disk Management utility.

4. Popular Diskpart Commands

As mentioned, DiskPart is an advanced disk utility that experienced Windows users employ to manage partitions. Here are some popular DiskPart commands you can apply to set or change a hard drive:

Format the device using DiskPart:

    • List Disks
    • Select Disk #
    • List Volumes
    • Select Volume #
    • Format fs=ntfs quick or Format fs=fat32 quick

Create the partition using DiskPart:

    • List disks
    • Select disk #
    • Create primary partition
    • Format fs=ntfs
    • Assign drive letter

Use DiskPart to extend a partition:

    1. list disk
    2. select disk # (replace # with the number of your target disk)
    3. list volume
    4. select volume # (replace # with the number of your target drive's partition)
    5. extend size=number (MB is usually the default unit of size)
    6. exit

Step 1. Open DiskPart.

Step 2: Type the following commands, pressing Enter after each one:

    • List Disks
    • Select Disk #
    • Clean
    • Create Primary Partition
    • Format fs=ntfs
    • Assign

Step 3. Repeat this process to create additional partitions on the hard drive.

4. Type exit to close the disk partition utility.

**6. Using sfdisk to delete all partitions in Linux**

Step 1. Open a terminal on your Linux computer.

Step 2: Type each of the following commands on a new line, then press Enter:

    • Run as Administrator
    • List all disk information
    • Partition /dev/sdx (replace 'x' with the letter of your target disk)
    • Delete partition
    • 1 (replace with the actual partition number, e.g., if it's partition 1)
    • Delete partition again

Step 3. Repeat this process to remove additional Linux partitions.