To delete a partition or logical drive

Using the Windows interface

1.

Open Computer Management (Local) 

2.

In the console tree, click Disk Management.

Where?

Computer Management (Local) > Storage > Disk Management

3.

Right-click the partition, logical drive, or volume you want to delete, and then click Delete Partition.

 Important

When you delete a partition, all data on that deleted partition or logical drive is lost.

You cannot recover deleted partitions or logical drives.

Note

To open Computer Management, click Start, and then click Control Panel. Click Performance and Maintenance, click Administrative Tools, and then double-click Computer Management

You must be logged on as an administrator or a member of the Administrators group in order to complete this procedure. If your computer is connected to a network, network policy settings may also prevent you from completing this procedure. 

You cannot delete the system volume, boot volume, or any volume that contains the active paging file or crash dump (memory dump).

You cannot delete an extended partition unless the extended partition is empty.

All the logical drives in an extended partition be deleted before you can delete the extended partition.

Using a command line

1.

Open Command Prompt

2.

Type:

diskpart

3.

At the DISKPART prompt, type:

list disk

Make note of the disk number of the disk from which you want to delete the partition.

4.

At the DISKPART prompt, type:

select disk n

Select the disk n from which you want to delete the partition.

5.

At the DISKPART prompt, type:

list partition

Make note of the number of the partition that you want to delete.

6.

At the DISKPART prompt, type:

select partition n

Select the partition n that you want to delete.

7.

At the DISKPART prompt, type:

delete partition

 Caution

Deleting a partition on a dynamic disk can delete all dynamic volumes on the disk, thus converting the disk to basic disk To delete a dynamic volume, use the delete volume command instead.

 Important

When you delete a partition, all data on that deleted partition or logical drive is lost.

You cannot recover deleted partitions or logical drives.

ValueDescription

list disk

Displays a list of disks and information about them, such as their size, amount of available free space, whether the disk is a basic or dynamic disk, and whether the disk uses the master boot record (MBR) or GUID partition table (GPT) partition style. The disk marked with an asterisk (*) has focus.

select disk

Selects the specified disk, where n is the disk number, and shifts the focus to it.

list partition

Displays the partitions listed in the partition table of the current disk.

select partition n

Selects the specified partition and gives it focus. If no partition is specified, the select command lists the current partition with focus.

delete partition

On a basic disk, deletes the partition with focus. You cannot delete the system partition, boot partition, or any partition that contains the active paging file or crash dump (memory dump).

Note

To open command prompt, click Start, point to All Programs, point to Accessories, and then click Command Prompt

You must be logged on as an administrator or a member of the Administrators group in order to complete this procedure. If your computer is connected to a network, network policy settings may also prevent you from completing this procedure. 

You cannot delete the system volume, boot volume, or any volume that contains the active paging file or crash dump (memory dump).

You cannot delete an extended partition unless the extended partition is empty.

All the logical drives in an extended partition be deleted before you can delete the extended partition.

You cannot delete partitions on removable media using DiskPart.

For more information about DiskPart, see Related Topics.

Related Topics

DiskPart

Basic disks and volumes



© 2015 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies