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


Why need to delete partitions?

Usually, there are 2 reasons why people want to delete a partition in Windows 11, 10, 8, 7. 

● 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’re too many partitions on the hard disk. So, many people delete unnecessary partitions, create unallocated space and allocate them to other existing partitions. Before deleting a partition, you can move apps from your current partition to another partition to avoid data loss.

But how to delete partitions? It's not hard once you find the proper solutions. Here, in the following contents, the top 4 practical ways will be introduced to help.

How do I delete a partition in Windows 11, 10, 8, 7?

▶ Method 1: Using the Diskpart to delete partition

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".

▶ Method 2: 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.

▶ Method 3: Using powerful third-party freeware to delete partitions

As mentioned above, you could run into much trouble if you use Diskpart or Disk Management to delete partitions. Fortunately, by applying Qiling Disk Master 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. 

★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 warn the data will be losted. Click OK.

Delete Partition Quickly

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

▶ Method 4: Diskpart alternative partassist.exe of Qiling Disk Master

To overcome the limits of Diskpart, you can use some third-party software to delete the partition. Qiling Disk Master 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 in the same way as in Method 1.

Then, type: cd C:\Program Files (x86)\Qiling Disk Master (The path is your Qiling Disk Master 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.

Conclusion

In this post, you’ve learnt to use Diskpart to delete partitions as long as another 2 alternatives – Disk Management and Qiling Disk Master Standard. By comparison, the Qiling 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.

Related Articles


Is this information helpful?     

What can we do to improve this information? (Optional)
Refresh Please enter the verification code!