Move/Merge Unallocated Space in Windows Server 2019/2022

by John, Updated on: August 10, 2022

"Unallocated" space is part of disk space that is not belong to any partitions. In Windows native Disk Management console, you can create new volumes with Unallocated space. You can also increase partition size with Unallocated space when it is contiguous and on the right of this partition. But if you want to move Unallocated space or merge Unallocated space to the right adjacent or any nonadjacent partition, Disk Management cannot help you. This article introduces how to move/merge Unallocated space in Windows Server 2019/2022 without losing data on the disk.

How to move Unallocated space in Windows Server 2019/2022

The most common reason why many people want to move Unallocated space in Server 2019/2022 is because that Disk Management cannot extend C drive after shrinking D or other partition. As the screenshot shows, Extend Volume is disabled for both C: and E: drive after shrinking D.

Extend Volume disabled

"Extend Volume" function can only add Unallocated space to the left contiguous partition. But Disk Management "Shrink Volume" function can only make Unallocated space on the right when shrinking partition. As the same screenshot above, this Unallocated space is nonadjacent to C drive. To extend C drive in Server 2019/2022 with the nonadjacent Unallocated space, you must run safe software to move Unallocated space to the left. When Unallocated space is contiguous, C drive can be extended easily.

How to move Unallocated space in Windows Server 2019/2022 to the left:

  1. Download NIUBI Partition Editor, right click D: drive and select "Resize/Move Volume".
  2. In the pop-up window, drag the middle  of this partition towards right, then Unallocated space will be moved to the left (next to C drive).Move Unallocated
  3. Click Apply on top left to confirm and execute.

How to merge Unallocated space in Windows Server 2019/2022

After moving Unallocated space from right of D to the left, you can combine Unallocated space to C drive with either Disk Management or NIUBI.

If you want to merge Unallocated space to the right contiguous partition E, you can combine with NIUBI directly without moving Unallocated space to the end of disk. To do this, right click E and select "Resize/Move Volume", drag left border towards left in the pop-up window.

Follow the steps in the video to move and merge Unallocated space in Windows Server 2019/2022:

Video Server 2019

Is it possible to move Unallocated space from another disk?

In few servers, there's not plenty of free space in other partitions on the same disk, some people ask whether it's possible to move Unallocated space from another hard disk. The answer is no. There are 2 options when entire disk is full:

  1. To local server with physical disk, follow the steps to clone disk to a larger one, then additional space can be added to C drive and other data partitions.
  2. To virtual disk in guest server, follow the steps to increase virtual disk size in VMware or Hyper-V. After that, additional space is shown as Unallocated at the end of disk, then follow the steps above to move and merge Unallocated space.

Besides moving and mering Unallocated space in Windows Server 2019/2022 and previous Server 2016/2012/2008/2003, NIUBI Partition Editor helps do many other disk and partition operations.

Download