How to Merge With DiskPart

By Kenrick Callwood

DiskPart is a simple partition management system included with Windows Vista and 7. The program works through a command line interface similar to MS-Dos and lets you perform additional tasks not offered through the normal Disk Management interface. With DiskPart you can extend volumes to assimilate unallocated space. This makes it possible to merge with DiskPart by first freeing the space from a volume you no longer need and allocating it to the desired partition.

Step 1

Copy any files located on the drive where you are going to free the space to an external hard drive, DVD, CD or other partition.

Step 2

Open the "Start" menu. Type "diskpart.exe," then click the link in the results pane.

Step 3

Type "list volume" without the quotes at the command prompt.

Step 4

Type "select volume (number)" without the quotes to select the volume you no longer need. Replace "(number)" with the number beside the desired volume as listed in the DiskPart window.

Step 5

Type "delete volume" (without the quotes) to delete the selected volume and free up the space.

Step 6

Type "select volume (number)" without the quotes to select the volume you want to merge with the free space. Replace "(number)" with the number beside the desired volume as listed in the DiskPart window previously.

Step 7

Type "extend" without the quotes to merge all of the free space with the specified volume.

Tips & Warnings

  • Windows XP users must download DiskPart from Microsoft to perform this task (see Resources).
  • Deleting the volume will cause you to lose any information you have not saved in another location.