Resize/Extend VMware/Hyper-V virtual disk partition

Updated on: November 16, 2019

This article introduces how to resize VMware/Hyper-V partition in Windows Server 2008 R2, extend VMDK/VHD virtual disk and system partition without losing data.

How to resize virtual partition in VMware/Hyper-V

Many servers are running as guest in VMware or Hyper-V, comparing with physical server, the virtual servers have advantages while resizing disk partitions. For example:

In most of physical and virtual servers, there is available free unused space in a partition, so you just need to shrink it to get Unallocated space. Then this space can be used to create new or expand other volume without losing data.

Firstly, let's see how to resize VMware/Hyper-V virtual partition with available free space.

Download and install NIUBI Partition Editor to the virtual server, then you'll see all virtual disk partitions with structure and other information on the right, available operations to selected disk or partition are listed on the left or by right clicking.

NIUBI Partition Editor

To resize virtual partition for Windows 2008 server in VMware/Hyper-V: right click any NTFS or FAT32 partition and select "Resize/Move Volume", in the pop-up window:

If you drag left border towards right, Unallocated space is made on the left.

Shrink D rightwards

If you drag right border towards left, Unallocated space is made on the right.

Shrink D leftwards

You may also enter an amount manually in the middle boxes.

How to extend C drive (system partition) in virtual server

Follow the step above to shrink the right contiguous partition (D: or E:) to make Unallocated space on the left. In my server, it is D, in some servers, it is E. When there is contiguous Unallocated space, follow the step to extend system partition C for Windows 2008 server in VMware or Hyper-V.

Right click system C: drive and select "Resize/Move Volume" again, drag the right border towards right in the pop-up window.

Extend C drive

Then C drive is extended by merging the contiguous Unallocated space.

Extend os drive

NIUBI is designed to work in virtual mode first, remember to click Apply on top left to take effect.

If there is not enough free unused space in the right contiguous partition, you can shrink any non-adjacent partition instead. Before merging Unallocated space to C drive, there is an addition step to move Unallocated space from right to the left.

Follow the steps in the video to resize and extend virtual partition for Windows 2008 server in VMware (or Hyper-V).

Video guide

How to increase size of VMDK/VHD virtual disk

If there is no available free space in whole disk, you need to copy to another larger one for physical server. But to VMware/Hyper-V virtual server, you can increase size of VMDK/VHD virtual disk directly.

Steps to increase/expand virtual disk size of VHD in Windows Server 2008 R2:

Step 1: Open Server Manager next to Start menu, expand Roles on top left and then Hyper-V > Hyper-V Manager > your own, click Edit Disk on the right.

Edit Hyper-V disk

Step 2: Click Browse on second Locate Disk tab to select the VHD virtual disk.

Select VHD disk

Step 3: Select Expand and click Next.

Enter new size

Step 4: Enter an amount of new disk size and click Next.

Select VHD disk

Step 5: Click Finish to confirm and start expanding.

Finish expanding

After expanding, additional space will be shown as Unallocated on the end of original disk. Then follow the steps in the video to merge Unallocated space to the virtual partition(s) that you want to extend.

If you want to extend several virtual partitions, combine part of Unallocated space to each partition.

Follow the step to increase size of VMware virtual disk.

Comparing with other software, NIUBI Partition Editor is much safer and faster because of its powerful technologies:

As a disk partition management tool, it helps do many other operations such as merge, copy, convert, wipe, hide, scan partition, etc.