Cannot extend volume in Windows Server 2012 R2

by Lance, Updated on: November 21, 2024

This article explains why you cannot extend volume in Windows Server 2012 R2 with Disk Management or with Diskpart command, and how to fix this issue easily.

1. Why cannot extend volume in Server 2012 with Diskpart cmd

Many server administrators like to use command line tool. To extend partition in Windows Server 2012, Diskpart is one of the options, which is native tool integrated from Windows XP. However, it only works under restricted condition. Many people receive error while extending partition with this native tool such as:

Press Windows and R together on the keyboard, input diskpart and press "Enter", type help extend in command prompt and press Enter again, then you'll see the reasons why Diskpart cannot extend volume in Server 2012 R2.

Diskpart restrictions

To be short:

In other words, Diskpart can only extend NTFS partition by deleting its adjacent volume on the right.

2. Why cannot extend partition on Server 2012 via Disk Management

The same with Diskpart, Server 2012 Disk Management cannot extend a partition by shrinking another one, FAT32 partition also can't be shrunk or extended.

Unallocated space can only be made on the right while shrinking a partition with Diskpart or Disk Management. This space cannot be extended to non-adjacent C: drive or the right adjacent partition E with these native tools.

As shown in the screenshot, Extend Volume greyed out for C and E drive after shrinking D.

Extend volume disabled

There are two additional reasons why Disk Management cannot extend partition in Windows 2012 server on MBR disk.

Cannot extend

Unallocated space deleted from a primary partition cannot be extended to any logical drives. Free space  deleted from a logical drive cannot be extended to any primary partition.

On MBR disk, there are maximum 4 entries in master boot record sector, so you can create maximum 4 primary partitions, or 3 primary plus an extended partition. More partitions can only be created as logical in the extended partition.

As shown in the screenshot, disk space of logical drive D is converted to free space after deleting. This free space is still part of the extended partition. When right clicking C drive, Extend Volume is still disabled.

You cannot extend partition pass 2TB on Windows Server 2012 with Disk Management.

As you see in my test server, F: drive is NTFS and there's contiguous unallocated space on the right, but Extend Volume is disabled, too.

This is because, the maximum partition size on MBR disk is 2TB. If you initialized a 4TB disk as MBR, only 2TB space can be used. The remaining 2TB space shows as unallocated, it can't be used to create new volume or expand another one with Disk Management.

Extend Volume disabled

3. What to do if unable to extend volume on Windows Server 2012

In most cases, the reason why cannot extend volume in Server 2012 Disk Management is because that unallocated space is non-adjacent. To fix this issue, you need to move partition D to the right and make unallocated space contiguous to C drive.

What to do if you cannot extend volume C on Windows Server 2012 r2 after shrinking D or E:

Step 1: Download NIUBI Partition Editor, right click the contiguous partition D (E: in some servers) and select "Resize/Move Volume", drag the middle  of this partition to the right in the pop-up window:

Move rightwards

Then unallocated space is moved to the left side.

Move unallocated space

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

Expand C drive

Then unallocated space is merged into C: drive.

unallocated add to C

Step 3: Click "Apply" on top left to take effect.

If you already shrunk D drive and cannot extend volume E with Server 2012 Disk Management , or if you cannot extend FAT32 partition, follow the steps in the video to resize partition with NIUBI:

Video guide

If you cannot extend partition pass 2TB on Windows Server 2012 Disk Management, follow the steps in the video to convert MBR disk to GPT and then extend partition with unallocated space:

Video guide

In addition to helping fix the issue of not being able to extend volumes on Windows Server 2012/2016/2019/2022/2008/2003, NIUBI Partition Editor also helps you merge, copy, convert, defragment, wipe, hide, scan partitions, and much more. Better than other tools, it has unique 1-Second Rollback, Virtual Mode, Cancel-at-will and Hot-Clone technologies to protect your system and data.

Download