This article introduces how to increase D drive space in Windows Server 2016, 3 ways to increase size of D drive with Disk Management, Diskpart and NIUBI Partition Editor.
System partition C is very likely getting full if you install everything into it. If you install programs and some Windows services to D drive, it also runs out of space. In that case, you can increase D drive free space from other volumes. There are several way to increase D drive size with Windows native and 3rd-party tool. However, Windows native tools cannot increase partition size in most cases.
Increase D drive space with Server 2016 Disk Management
From Windows Server 2008, there is built-in Extend Volume function in Disk Management tool, which can help extend part of partitions without losing data and on the fly.
However, only when your disk partition configuration meet all following requirements, you can increase D drive space with Server 2016 Disk Management:
- There is another partition (such as E:) on the right side of D drive.
- You can delete the right contiguous partition E.
- There's enough free space in another volume to save all files in drive E.
- Both drive D and E are on the same disk.
- Drive D must be formatted with NTFS file system.
Steps to increase D drive free space in Windows Server 2016 Disk Management:
- Transfer all files in the right contiguous partition E to other place.
- Press Windows and X together on the keyboard, then click Disk Management in the list.
- Right click drive E and select Delete Volume.
- Right click drive D and select Extend Volume.
- Simply click Next till Finish in the pop-up Extend Volume Wizard window.
If D and E are different type of partitions in MBR style disk, there are additional restrictions while extending D drive.
- If D is Logical drive and E is Primary partition, you still cannot extend D after deleting E.
- If D is Primary and E is Logical, after running Delete Volume to get Free space, you have to right click this Free space and select Delete Partition.
- If there's another Logical drive F behind E, you have to run Delete Volume for both E and F, and then run Delete Partition for Free space.
Although there's another Shrink Volume function, Disk Management cannot expand D drive by shrinking any volumes. (Learn why)
How to increase D drive size with diskpart command line
Diskpart runs from command prompt and it has many commands. In some ways Disk Management is the GUI version of Diskpart.
But better than Disk Management, the type of partition D is not an issue to Diskpart. That means, as long as the right contiguous drive E is Primary, you can delete it to expand D drive with diskpart, no matter D is Primary or Logical partition.
Steps to increase D drive space with diskpart in Windows Server 2016:
- Transfer all files in drive E to other partition manually.
- Press Windows and R together on the keyboard, type diskpart and press Enter.
- Type list volume and press Enter in diskpart command prompt window.
- Type select volume E and press Enter.
- Type delete volume and press Enter.
- Type select volume D and press Enter.
- Type extend and press Enter.
However, if D is Primary and E is Logical partition, there are 2 additional steps before 6th step:
- Type select partition 0 and press Enter.
- Type delete partition and press Enter.
Diskpart command is a little better than Disk Management while increasing D drive by deleting E, but other restrictions are the same. That means, your disk partition configuration must meet the 5 requirements listed on the top, too.
Better way to increase size of D drive with partition editor
With NIUBI Partition Editor, there are no such limitations and it is extremely easy to increase D: drive space in Windows Server 2016. The most important, you can increase size of D without deleting other volume.
Download NIUBI Partition Editor and follow the steps to increase D drive size by shrinking C or E:
More detailed info about extending D drive in Windows Server 2016.