Extend partition in Windows Server 2012

Updated on: June 6, 2019

This article introduces how to extend disk partition in Windows Server 2012 R2 without losing data. 3 tools to expand server 2012 partition with detailed steps.

One or more partitions run out of space after running the server for a period of time. It is great if these partitions can be extended without wasting a long time to recreate partitions and restore from backup. There are two kinds of tools to help extend disk partition: Windows native utilities and third party disk editor software.

This article gives detailed steps how to extend partition drive in Windows Server 2012 (R2) with these tools.

Extend partition with Diskpart command tool

Diskpart is a command line tool that integrated from Windows XP with set of commands. Extend command can expand a partition fast and without losing data. However, the main preconditions include:

How to extend with Diskpart in Windows Server 2012:

  1. Press Windows and R on keyboard, type diskpart and press Enter.
  2. Type list volume and press Enter in diskpart command prompt window, then you'll see all single partitions without structure.
  3. Type select volume D and press Enter. (D is the letter or number of the adjacent partition)
  4. Type delete volume and press Enter.
  5. Type select volume C and press Enter. (C is the letter or number of the partition that you want to expand)
  6. Type extend and press Enter.

Transfer files to other place before deleting this partition.

Diskpart extend

Extend partition in Server 2012 Disk Management

Different with Diskpart that runs via command prompt, Disk Management works with graphical interface. From Windows Server 2008, there is advanced Shrink and Extend Volume functions to help resize partition without losing data.

The same with Diskpart command, Disk Management cannot help you extend a partition by shrinking other one, because:

This is the reason why you have to delete the right contiguous partition before extending. If there is no or you cannot delete this partition, these native tools are completely useless.

Steps to extend partition via Windows Server 2012 Disk Management:

  1. Back up or transfer files in drive D (for example).
  2. Right click it and select Delete Volume.
  3. Right click the left partition (C:) and select Extend Volume.
  4. Click Next till Finish in the pop-up Extend Volume Wizard window.

Extend volume disabled

Extend volume with partition editor software

Comparing with both Diskpart cmd and Disk Management tool, NIUBI Partition Editor is much more powerful, it is able to:

Download NIUBI Partition Editor and follow the steps in the video to extend partition drive on Windows Server 2012.

How to extend partition C by shrinking other volumes:

Video guide

How to extend partition D by shrinking other volumes:

Video guide

By this method, Operating System, programs and associated settings, as well as anything else keep the same with before. You won't see any difference except partition size changed.

Extend partition volume with other disk

Note that free unused space can only be transferred insides a hard disk. If you want to extend a partition to other disk or add space to this partition from other separated disk, it is impossible with any partitioning software. Because a hard disk is physical unit and the size is fixed. A 500GB disk can't be decreased to 300GB or increased to 1TB, right?

If there is no other partition or not enough available space in the same disk, copy this disk to a larger one and extend partition with extra disk space, follow the step in the video:

Video guide

If you want to extend partition on RAID 0, 1, 5, etc. do not break array or do any operations to raid controller, simply follow the step in the video. There is no difference to resize and extend partition in hardware RAID arrays or VMware/Hyper-V virtual disk.

No matter how your disk partitions are configured, there is a way to extend partition in Windows Server 2012 with NIUBI Partition Editor.