Source: Windows Central
On Windows 10, a partition (or volume) is a logical division of the space available on a physical storage drive with a specific file system and settings that the system presents to the user as a separate drive.
Since a drive can hold many partitions, and sometimes, you may need to organize them, Windows 10 includes multiple tools to ease the process to remove those you no longer need to make more space available to increase the size of another partition. Or you can also use the available tools to clean the storage to prepare it with a different partition scheme and file system.
In this Windows 10 guide, we'll walk you through the steps to delete a partition on an internal or external drive using Disk Management, PowerShell, and Command Prompt.
- How to delete partition using Disk Management
- How to delete partition using PowerShell
- How to delete partition using Command Prompt
Warning: Using these instructions will erase all the data stored inside the partition. If you have any important files you want to preserve, it's recommended to create a backup of that data before proceeding.
How to delete a partition using Disk Management
To delete a partition (or volume) with Disk Management, use these steps:
- Open Start.
- Search for Disk Management.
- Select the drive with the partition you want to remove.
Right-click (only) the partition you want to remove and select the Delete Volume option.
Source: Windows Central
- Click the Yes button to confirm all the data will be erased.
Once you complete the steps, the partition and its contents will no longer be available on the drive making space available to expand another partition or format the drive with a new scheme.
How to delete a partition using PowerShell
On PowerShell, you have at least two different methods to remove a partition, including using the drive letter or partition number with different commands.
Delete partition with an assigned drive letter
To delete a partition that has an assigned letter, use these steps:
- Open Start.
- Search for PowerShell, right-click the top result, and select the Run as administrator option.
Type the following command to get a list of all the available partitions and press Enter:
Get-Volume
Type the following command to delete the partition (and its contents) and press Enter:
Remove-Partition -DriveLetter PARTITION-LETTER
In the command, make sure to replace "PARTITION-LETTER" for the letter of the partition you want to delete.
For example, this command deletes the E partition:
Remove-Partition -DriveLetter E
Source: Windows Central
- Type Y and press Enter to confirm the deletion.
After you complete the steps, the partition will be removed, and the space on the drive will show as unallocated.
Delete partition without an assigned drive letter
To delete a partition that does not have a drive letter, use these steps:
- Open Start.
- Search for PowerShell, right-click the top result, and select the Run as administrator option.
Type the following command to get a list of all the available drives and press Enter:
Get-Disk
Type the following command to get a list of all the available partitions on the drive and press Enter:
Get-Partition -DiskNumber DRIVE-NUMBER
In the command, make sure to replace "DRIVE-NUMBER" for the number of the drive with the partition you want to erase (see step No. 3).
For example, this command lists the partitions of drive 2:
Get-Partition -DiskNumber 2
Type the following command to delete the partition (and its contents) and press Enter:
Remove-Partition -DiskNumber DRIVE-NUMBER -PartitionNumber PARTITION-NUMBER
In the command, make sure to replace "DRIVE-NUMBER" and "PARTITION-NUMBER" for the number of the drive and partition you want to delete.
For example, this command deletes partition number 1 in drive 2:
Remove-Partition -DiskNumber 1 -PartitionNumber 2
Source: Windows Central
- Type Y and press Enter to confirm the deletion.
Once you complete the steps, the command will erase the partition from the hard drive you specified in the command.
How to delete a partition using Command Prompt
Alternatively, you can also use the DiskPart command-line with Command Prompt to delete a storage partition in at least two different ways.
Delete partition with volume command
To quickly delete a partition with the volume command, use these steps:
- Open Start.
- Search for Command Prompt, right-click the top result, and select the Run as administrator option.
Type the following command to start diskpart and press Enter:
diskpart
Type the following command to get a list of all the available volumes and press Enter:
list volume
Type the following command to select the volume you want to delete and press Enter:
select volume VOLUME-NUMBER
In the command, make sure to replace "VOLUME-LETTER" for the letter of the volume you want to delete.
For example, this command deletes the volume number 4:
select volume 4
Type the following command to delete the volume from the drive and press Enter:
delete volume
Source: Windows Central
After you complete the steps, the volume and its data will no longer be available on the drive.
Delete partition with partition command
To delete a specific storage partition with a variant of the DiskPart command, use these steps:
- Open Start.
- Search for Command Prompt, right-click the top result, and select the Run as administrator option.
Type the following command to start diskpart and press Enter:
diskpart
Type the following command to get a list of all the available drives and press Enter:
list disk
Type the following command to select the drive with the partition you want to delete and press Enter:
select disk DRIVE-NUMBER
In the command, make sure to replace DRIVE-NUMBER for the number of the drive with the partition you want to delete (see step No. 4).
For example, this command selects the disk number 2:
select disk 2
Type the following command to list all the available partitions in the drive and press Enter:
list partition
Type the following command to select the partition you want to delete and press Enter:
select partition PARTITION-NUMBER
In the command, make sure to replace "PARTITION-LETTER" with the letter of the partition you want to delete.
For example, this command deletes the partition number 1:
select partition 1
Type the following command to delete the partition from the drive and press Enter:
delete partition
Source: Windows Central
Once you complete the steps, the partition will be erased from the drive, making available the space to create a new partition with a different file system or extend another volume.
More Windows 10 resources
For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:
- Windows 10 on Windows Central – All you need to know
- Windows 10 help, tips, and tricks
- Windows 10 forums on Windows Central

Microsoft is testing 1080p xCloud streams for Xbox Game Pass gaming
Xbox Game Pass Ultimate is currently limited to 720p for streaming to mobile devices, but we've seen evidence that it's about to get bumped up to 1080p. Here's what you need to know.

Here are 10 Xbox games that need 'FPS Boost'
FPS Boost is another impressive feature currently available in the Xbox backwards compatibility utility belt. Here are 10 games we want to see take advantage of enhanced framerates.

XP-Pen Artist 22 PC drawing tablet review: Digital art as easy as it is fun
XP-Pen make a huge range of drawing tablets for hobbyists, beginners, and professionals. Recently, we had the opportunity to take a look at one of their higher-end offerings in the Artist 22 (2nd gen) tablet, and came away incredibly impressed. Here's what you need to know.

These are the best PC sticks for when you're on the move
Instant computer, just add a screen! That’s the general idea of the ultra-portable PC Compute Sticks, but it can be hard to know which one you want. Relax, we’ve got you covered.