Published by


Brink's Avatar
Administrator

Posts: 25,175

Show Printable Version 


How to Delete Volume or Partition in Windows 10

information   Information
In Windows, you can delete a volume or partition on a disk, except for a system or boot volume or partition.

When you delete a volume or partition on a disk, it will become unallocated space on the disk. You could then extend another volume/partition on the same disk into this unallocated space to add the unallocated space to the volume/partition.

This tutorial will show you different ways on how to delete a volume or partition on a disk in Windows 10.

You must be signed in as an administrator to delete a volume or partition.
warning   Warning
When you delete a volume or partition, all data and configuration information for the volume/partition is also deleted.

CONTENTS:
  • Option One: Delete Volume or Partition on Disk in Disk Management
  • Option Two: Delete Volume or Partition on Disk in Command Prompt
  • Option Three: Delete Volume or Partition on Disk in PowerShell





Delete Volume or Partition in Windows 10 OPTION ONE Delete Volume or Partition in Windows 10
Delete Volume or Partition on Disk in Disk Management

1. Right click on the Start button to open the Win+X menu, and click/tap on Disk Management (diskmgmt.msc).

2. Right click or press and hold on the partition/volume (ex: "F") you want to delete, and click/tap on Delete Volume. (see screenshot below)

Name:  Delete_Volume_in_Disk_Management-1.jpg
Views: 130
Size:  102.5 KB

3. Click/tap on Yes to confirm. (see screenshot below)

Name:  Delete_Volume_in_Disk_Management-2.png
Views: 129
Size:  13.4 KB

4. The volume/partition will now be deleted, and show as Unallocated space on the disk. (see screenshot below)

Name:  Delete_Volume_in_Disk_Management-3.jpg
Views: 130
Size:  92.6 KB






Delete Volume or Partition in Windows 10 OPTION TWO Delete Volume or Partition in Windows 10
Delete Volume or Partition on Disk in Command Prompt

1. Open an elevated command prompt or command prompt at boot.

2. Type the commands below one at a time into the command prompt, and press Enter after each command. Make note of the volume number (ex: "5") of the drive letter (ex: "F") you want to delete. (see screenshot below)

diskpart

list volume

Name:  Delete_Volume_in_command_prompt-1.png
Views: 126
Size:  24.1 KB

3. Type the command below into the command prompt, and press Enter. (see screenshot below)

select volume <number>

Note   Note
Substitute <number> in the top command above with the actual volume number (ex: "5") you want to delete from step 2 above.

For example: select volume 5
Name:  Delete_Volume_in_command_prompt-2.png
Views: 127
Size:  26.7 KB

4. Type the command below into the command prompt, and press Enter. (see screenshot below)

delete volume

Name:  Delete_Volume_in_command_prompt-3.png
Views: 126
Size:  28.8 KB

5. The volume/partition will now be deleted, and show as Unallocated space on the disk. You can now close the command prompt if you like.






Delete Volume or Partition in Windows 10 OPTION THREE Delete Volume or Partition in Windows 10
Delete Volume or Partition on Disk in PowerShell

Note   Note
To see more usage options for the Remove-Partition command, see: Remove-Partition - Microsoft Docs

1. Open an elevated PowerShell.

2. Type the Get-Volume command into the elevated PowerShell, press Enter, and make note of the drive letter (ex: "F") of the partition/volume you want to delete. (see screenshot below)

Name:  Delete_Volume_in_PowerShell-1.jpg
Views: 126
Size:  51.1 KB

3. Type the command below you want to use into the elevated PowerShell, and press Enter. (see screenshot below)

Remove-Partition -DriveLetter "<Drive Letter>"

Note   Note
Substitute <Drive Letter> in the command above with the actual drive letter (ex: "F") you want to delete from step 2 above.

For example: Remove-Partition -DriveLetter "F"
Name:  Delete_Volume_in_PowerShell-2.png
Views: 124
Size:  14.2 KB

4. When prompted, type y to confirm, and press Enter. (see screenshot above)

5. The volume/partition will now be deleted, and show as Unallocated space on the disk. You can now close the elevated PowerShell if you like.


That's it,
Shawn