How to Repartition Hard Drive in Windows Server 2016

by John, Updated on: July 27, 2022

Disk partitions are allocated by OEM manufacturers or by yourself while installing Operating System. Is it possible to reallocate partition size without losing data after running the server for a period of time? The answer is yes, there are 2 ways to repartition hard drive in Windows Server 2016/2019/2022 with native and 3rd-party tools. This article introduces detailed steps with both kingds of tools. Select corresponding method according to your own disk partition configuration.

Repartition Windows Server 2016 without any software

There are 2 native tools to help repartition hard drive in Server 2016/2019/2022 - Disk Management and Diskpart. Disk Management has graphical interface with wizard, Diskpart works via command prompt. They work in different way but they have same restrictions.

They can help you shrink a NTFS partition to create new volume or extend a NTFS partition by deleting the right contiguous volume. If you want to do other operations such as shrink and extend FAT32 partition, or extend a partition by shrinking another one, neither native tool can help you.

If you want to reallocate partition size in Windows Server 2016/2019/2022 without these limitations, you need to run third party software. There are many choices, but you'd better back up first and run the safest one, because there's potential system and data damage risk while repartitioning disk drive. Better than other tools, NIUBI Partition Editor has powerful technologies to protect system and data, for example:

It is also 30% to 300% faster because of the advanced file-moving algorithm.

How to repartition hard drive in Server 2016/2019/2022

No matter you use physical server with SSD, HDD, RAID or virtual server in VMware/Hyper-V, as long as there's free space in any partition on the same disk, you can shrink partition to expand another one without losing data. Steps are the same no matter which storage device you use.

Download NIUBI Partition Editor and you'll see the main window. All disks are listed on the right with partition structure and other information. On the top you'll see parameters of single partitions. Available operations to selected disk or partition are listed on the left and by right clicking.

NIUBI Partition Editor

How to repartition hard drive in Windows Server 2016/2019/2022 without losing data:

  1. Right click a NTFS or FAT32 partition (such as D:) and select "Resize/Move Volume", drag either border towards the other side in the pop-up window. If you drag left border towards right, Unallocated space will be made on the left side after resizing.
  2. If you want to create new partitions, right click this Unallocated space and select "Create Volume". If you want to extend other partition (such as C:), right click it and select Resize/Move Volume again, drag the border opposite to the other one to combine Unallocated space.
  3. Click Apply on top left to execute. (Any operations before this step only work in virtual mode.)

How to extend C: drive by shrinking other volumes:

Video guide

How to extend D: drive by shrinking other volumes:

Video guide

Reallocate partition size in Server 2016/2019/2022 with another disk

If there's no available free space on a disk, there are two ways to repartition hard drive without losing data:

  1. If you use physical server, you can copy this disk to another larger one and extend partition with extra disk space.
  2. If you use virtual server, you can expand virtual disk in VMware or Hyper-V. After that, additional space is shown as "Unallocated" at the end of original virtual disk, then merge Unallocated space to the partition(s) that you want to extend.

Besides repartition hard drive in Windows Server 2016/2019/2022 and previous Server 2003/2008/2012, NIUBI Partition Editor helps do many other disk partition management operations.