What Command Can You Use to Delete a Partition in Windows?

I'm attempting to delete my partition table with some easy commands without navigating through a menu or doing anything else. I don't want to create a new partition table after deleting it.

Best Answered by

Roxanne· Answered on Sep 26, 2023

How to Delete Partitions via Diskpart

If you think deleting partitions on Disk Management is inconvenient, I recommend another Windows built-in tool - Diskpart. Let's delve into the full tutorial of removing partitions via command lines. This process will erase all your data, so do a full backup before that.

Step 1. Bring up the Run box by typing the "Windows + R," type cmd, and click OK.

Step 2. Use the following commands to begin the deletion process:

(Place "O" with the target disk or partition name. Hit "Enter" each time to confirm each command.)

  • diskpart
  • list disk
  • select disk O
  • list partition
  • select partition O
  • delete partition override
  • exit

Prime Alternative to CMD: EaseUS Partition Master

As you can see, this method is quite complicated and requires a basic understanding of commands. If you are tech-savvy, EaseUS Partition Master is easier and more effective. Refer to the simple instruction to delete partitions within three steps using EaseUS Partition Master:

Free Download 

Windows 11/10/8/7100% Secure

Step 1. Click "Partition Manager" after starting EaseUS Partition Master.

Step 2. Right-click your hard drive and select to delete partition or delete all partitions in the menu.

Step 3. Click "Yes" > "Execute xx Task" > "Apply" to finalize the deletion procedure.

People Also Ask

Need to Delete the Recovery Partition in Windows 8.1, How?

If you want to delete the recovery partition in Windows 8.1 to free up space for your C drive, you are coming to the right place. By reading this post, you will learn two applicable methods.


Dec 01, 2023

Can I Force Delete Partition via Diskpart?

Do you want to delete a partition only to find out it cannot be deleted since it's a system-protected one? What can you do to remove this partition? Read on, and you will learn the answer to the 'Can I force delete partition via Diskpart' question.

Tracy King

Oct 24, 2023

Can I Delete HDD Partition with CMD?

Do you have an extra partition on your HDD? Is there any way you can delete it? You may wonder if the Command Prompt has the ability to meet your request. Read this article, and we will give a comprehensive answer and recommend you an easier alternative.

Tracy King

Oct 25, 2023

What Happens If You Delete a Recovery Partition?

Do you know what a recovery partition is? Are you wondering what happens if you delete recovery partition? You can read this post to get comprehensive answers and learn how to restore the partition if it's missing.


Nov 29, 2023

Is There Any Way to Delete Recovery Partition in Windows 7?

Many users believe that the recovery partition in Windows 7 is taking up their valuable space. Then, this post will discuss whether you should delete the recovery partition and provide the safest way to help you do that.


Oct 16, 2023

Can I Delete a Partition on a USB Drive in Windows 10/11?

If you want to delete a partition on a USB drive in Windows, you are coming to the right place. This post will teach you two ways to remove the partitions from your USB drive.


Sep 21, 2023