[Tutorial]: Diskpart Delete Partition on Windows 11, 10, 8, and 7

How to use Diskpart to delete partitions on Windows 11/10/8/7? You can refer to this post to get the full guide. Besides, a powerful third-party tool will be introduced to help you get it done with much more ease.

Cherry

By Cherry / Updated on November 19, 2024

Share this: instagram reddit

Need to delete partitions in Windows

Not all partitions can be involved in your daily needs, sometimes, you may need to delete some partitions for:

● Free up disk space: A partition can take up redundant data and occupy large storage space. For example, some PCs have a recovery partition, and lots of people will copy recovery partition to another drive or USB as a portable recovery drive and delete the recovery partition later to have some free space. 

● Better manage storage space: It can be harder for disk management when there are too many partitions on the hard disk. So, many people delete unnecessary partitions. Before deleting a partition, you can move apps from your current partition to another partition to avoid data loss.

● Resizing partitions: Deleting partitions may be part of the process of resizing partitions. Users may need to delete a partition to create unallocated space, which can then be reallocated to another partition to increase its size.

But how to delete partitions? It's not hard once you find the proper solutions. Here, in the following content, the top 4 practical ways will be introduced to help. For beginners and users who haven't used the command line interface before, it is highly recommended that you go directly to a third-party tool - AOMEI Partition Assistant Standard. As a reliable disk partitioning software, it can be a perfect alternative to Diskpart and save your time and effort.

Download Freeware Win 11/10/8.1/8/7
Secure Download

For other users who want to continue to delete partition using Diskpart, keep reading.

Diskpart alternative partassist.exe of AOMEI Partition Assistant

AOMEI Partition Assistant is a great powerful partition management tool and it provides command lines to manage disks after upgrading it to the professional edition. Here, you can use it to delete partitions as follows.

1. Launch Command Prompt: type “cmd” and hit “ENTER” in the search box.

Then, type: cd C:\Program Files (x86)\AOMEI Partition Assistant (The path is your AOMEI Partition Assistant installation directory), and press Enter.

2. Type: partassist.exe /list:0

Then it will list all the partitions on your disk.

begin

3. Type:/partassist.exe /del:G and press ENTER. The progress will be executed. You can refer to the screenshot below:

delete

delete comlete

Or you can use other commands like “Partassist.exe /del:n” to delete a specified partition. If you want to delete all the partitions on a disk, you can type “Partassist.exe /hd:0 /del:all” at the prompt.

Note:
> "/hd" followed by disk number, which starts with 0.
> "/del:0" and "/del:G" mean deleting the specified partition.
> "/del:all" means delete all the partitions on the disk.

How to Delete Partition Using Diskpart 

Diskpart is a snap-in for disk management on Windows. Different from Disk Management, all the operations are based on command lines. Using Diskpart to delete partitions is very common nowadays.

1. In the search box at the bottom left of the interface, type “cmd” and hit “ENTER” to launch Command Prompt.

2. Type “diskpart” and hit “ENTER” to run Diskpart. Type the following commands one after the other and hit enter.

● list disk
● select disk 1 (1 is the sequence number of the disk where the partition you want to delete is)
● list partition
● select partition 1(1 is the sequence number of the partition you want to delete)
● delete partition (delete partition override)

delete partition: This command is used to delete normal partitions like data drive, or the partition where there is no OS-related files on.
delete partition override:  This functions to use diskpart commands delete partition force. To force delete the partition that is protected by Windows like OEM recovery partition, you can use this command .

delete-partition-cmd

3. Type "exit" to back to the desktop.

Notes:

★ If you are using a dynamic disk, delete the partition can delete all dynamic volumes on the disk. To delete a dynamic partition, you can use the “delete volume” command instead.

★ If you want to delete all partitions on time, please type "clean disk" after "list disk".

To overcome the limits of Diskpart, you can use some third-party software to delete the partition.

How to delete partitions using Diskpart Alternative

However, you could run into much trouble if you use Diskpart to delete partitions. Fortunately, by applying AOMEI Partition Assistant Standard, you can manage your hard disks and their partitions easily by performing different operations including partition creations, partition formatting, and of course, partition deletion. So, if you’re unwilling to delete partition with Diskpart, you might as well turn to this very powerful software. 

Download Freeware Win 11/10/8.1/8/7
Secure Download
★Notes:
This tool supports creating a bootable Win PE media that helps you delete system partition if Windows does not allow you to delete a partition that is related to the OS.
This tool can delete a single partition or delete all partitions on your disk at one time. This can be finished only in three clicks.

Step 1. Launch the program. You can see the basic environment of your hard drives with a concise interface.

Step 2. In the main tab. Right-click the partition you need to delete. Then click the “Delete Partition” button.

Delete Partition

Step 3. After clicking Delete Partition, it will popup a window to choose the way to delete the selected partition and they're  “Delete Partition Quickly” or “Delete Partition and wipe data on it”. Here we highly recommend you choose the former one. The latter will take more time and the data will be erased permanently. Click OK.

Delete Partition Quickly

Step 4. Click Apply at the tool bar to launch the progress.

Apply

Now, you can go to Disk Management and check whether the partition has been deleted successfully.

Using the Disk Management to delete partition

Disk Management is also Windows built-in tool. You can open it by right-clicking This PC, then go to Storage-> Disk Management. Then, right-click the partition you want to delete, click Delete Volume.

Delete

However, there're many limits if you use Disk Management to delete partitions.

★ The to-be-deleted partition shouldn’t be the boot drive, otherwise, you will fail to delete the partition.

★ You can’t remove the OS while it’s still running.

★ You have to delete all logical partitions first before deleting an extended partition.

★ You can’t delete partitions on a removable device like a USB on some old versions of Windows.

To break through these limitations, you can opt for AOMEI Partition Assistant, a tool that supports all Windows versions and can automate advanced functions to successfully delete partitions.

Download Freeware Win 11/10/8.1/8/7
Secure Download

Conclusion

In this post, you’ve learnt to use Diskpart to delete partitions as long as another 2 alternatives – Disk Management and AOMEI Partition Assistant Standard. By comparison, the AOMEI product is the best among them as it’s much more easy-to-use and has fewer limits if you want to delete any partitions. If you want to use this software on Servers, you can try the Server edition.

FAQs about Diskpart delete partition

1. Can I recover data from a deleted partition using Diskpart?

No, Diskpart's "delete partition" command permanently removes the partition and its data from the disk. Once a partition is deleted, any data stored on it is unrecoverable using Diskpart alone. It's essential to back up any important data before deleting partitions to prevent data loss.

2. What precautions should I take before using Diskpart to delete partitions?

Before using Diskpart to delete partitions, it's crucial to back up any important data stored on the partitions you intend to delete. Additionally, double-check your commands to ensure you're selecting the correct disk and partition to delete, as Diskpart operations are irreversible and can result in data loss if performed incorrectly.

3. How to delete a partition in fdisk command line?

Open a terminal or command prompt on your system. Run the fdisk command with administrative privileges. For example, on Linux-based systems, you might use the following command: sudo fdisk /dev/sdX.Replace "/dev/sdX" with the appropriate disk identifier for the disk containing the partition you want to delete (e.g., /dev/sda, /dev/nvme0n1).

Once in the fdisk utility, type "p" and press Enter to print the partition table, allowing you to identify the partition you want to delete. Note the number of the partition you wish to delete. Type "d" and press Enter to initiate the delete partition command.

When prompted, enter the number of the partition you want to delete and press Enter. Repeat the process if you need to delete multiple partitions. Once you have deleted all desired partitions, type "w" to write the changes to the disk and exit fdisk.

Finally, reboot your system to apply the changes.

Cherry
Cherry · Staff Editor
Cherry is an editor of AOMEI Technology, she covers backup & restore, hard disk & partitions management, cloud files transfer, website & database backup and so on for AOMEI. She enjoys helping people find solutions to their problems. She loves traveling, cooking, reading and so on. She takes most of time with her family when she is not working.