How to extend partition/volume in Windows Server 2008

by Lance, Updated on: July 29, 2020

This article introduces how to extend partition in Windows Server 2008 R2 without losing data. Extend Server 2008 volume with Disk Management, Diskpart cmd and NIUBI Partition Editor.

When system C drive is running out of space on Windows Server 2008, if you contact support from OEM manufacturers, they'll tell you to back up, delete and recreate disk partition, and then restore everything. If you do like that, a whole day may be wasted, obviously, it is not the best solution.

To help change partition size, Microsoft provides 2 native tools in Windows Server 2008: Diskpart command and GUI Disk Management. Both tools can shrink and extend Server 2008 volume without losing data (not 100%). However, they only work under restricted condition. In most cases, you still need third party partition software for Server 2008.

1. Extend volume in Windows Server 2008 Disk Management

To extend partition with Windows Server 2008 Disk Management, your disk partition structure must meet the requirements below:

  1. The partition that you want to extend must be formatted with NTFS file system.
  2. There is another partition on the same disk and on the right of the drive that you want to increase.
  3. You must delete this right contiguous partition to get Unallocated space (for example, delete D to extend C).
  4. On MBR disk, the partitions that you want to delete and extend must be the same Primary or Logical partition.

How to extend volume for Windows 2008 server with Disk Management:

  1. Press Windows and R together on the keyboard, type diskmgmt.msc and press Enter.
  2. Right click the right adjacent partition (such as D:) and select Delete Volume.
  3. Right click the partition that you want to extend (such as C:) and select Extend Volume.
  4. Available space is selected by default, simply click Next till Finish in Extend Volume Wizard windows.

Together with Extend Volume, there is another Shrink Volume function in Disk Management, why not extend C drive by shrinking D or other partitions?

Cant extend C

As you see in the screenshot, extending C drive is grayed out after shrinking D. This is because the Unallocated space that shrunk from D is nonadjacent to C drive. If Shrink Volume can make Unallocated space on the left, there's no such issue, but it cannot.

2. How to extend Server 2008 partition with diskpart cmd

The same with previous Server 2003, you can extend Server 2008 partition with DiskPart command. But the same with Disk Management, diskpart can only extend a partition by deleting the right contiguous one. Furthermore, only NTFS partition can be extended.

Steps to extend Server 2008 partition with Diskpart:

  1. Input Windows and R together on the keyboard, type diskpart and press Enter.
  2. Input list volume and press Enter in the command prompt window.
  3. Input select volume D and press Enter. (D is the right adjacent drive.)
  4. Input delete volume and press Enter.
  5. Input select volume C and press Enter. (C is the partition that you want to extend.)
  6. Input extend and press Enter.

Diskpart extend

3. How to extend partition for Windows 2008 server with NIUBI

Comparing with Windows native tools, third party software have many advantages such as:

However, before extending volume in Windows 2008 server with partitioning software, you'd better make backup.

There's potential data loss risk while resizing allocated partitions, because all parameters of associated disk, partition and files must be modified correctly. Some unreliable software could cause system boot failure, partition damage and data loss.

Better than other tools, NIUBI Partition Editor has powerful technologies to protect system and data:

How to extend system partition in Windows Server 2008 R2:

Download NIUBI Partition Editor and you'll see the main window with disk partition structure and other information.

NIUBI Partition Editor

Right click D: (the right contiguous drive) and select "Resize/Move Volume", drag left border towards right in the pop-up window. You may also enter an amount in the box behind "Unallocated space before" (1024MB = 1GB).

Shrink D

Then D: drive D shrunk and 20GB Unallocated space is made on its left.

Shrink D

Right click C: drive and select "Resize/Move Volume", drag right border towards right to combine this Unallocated space.

Extend C drive

Then system partition C is extended to 60GB.

Extend os drive

To modify real disk partition, remember to click Apply on top left to execute. Otherwise, these operations only work in virtual mode.

How to extend partition C in Windows Server 2008:

Video guide

How to extend partition D in Windows Server 2008:

Video guide

  • If you use any types of hardware RAID array, do not break raid array or do any operation to raid controller. Just follow the step above.
  • If you run Windows Server 2008 in VMware or Hyper-V, just install NIUBI to the virtual server and follow the steps above.
  • If there's not enough free space on the same disk, copy this disk to a larger one and extend Server 2008 partition(s) with additional disk space. (To virtual servers, you can increase disk size with VMware/Hyper-V own tools, the additional space is shown as Unallocated at the end, follow the steps to merge Unallocated space to C drive or other partition.)