How to extend partition in Windows Server 2008

by Lance, Updated on: November 10, 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 partition editor software.

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 everything, delete and recreate partitions, finally restore from backup. 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 Disk Management. Both tools can shrink and extend Server 2008 volume without losing data (in most cases). 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 all 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 the 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 in Windows Server 2008 using Disk Management:

  1. Press Windows and R hot-keys together, type diskmgmt.msc and press Enter.
  2. Right click the right adjacent partition (such as D:) and select Delete Volume, then the disk space will be changed to Unallocated.
  3. Right click the partition that you want to extend (such as C:) and select Extend Volume.
  4. Disk and available space is selected by default, simply click Next till Finish in Extend Volume Wizard dialog box.

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 partition in Windows Server 2008 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.

Note: Unlike Disk Management that displays partition layout and detailed information, diskpart only displays single partitions in a list. In addition, it doesn't show any Unallocated space.

Steps to extend Server 2008 partition with Diskpart:

  1. Press Windows and R hot-keys together, type diskpart and press Enter.
  2. Input list volume and press Enter in the command prompt window, then you'll see all partitions.
  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.

Note: if you want to extend this partition with only part of Unallocated space, input extend desired=XX (XX is amount in MB).

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 any partitioning software, you'd better make a 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 partition in Windows Server 2008 R2 with NIUBI Partition Editor:

Download this program 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 will be shown as Unallocated at the end, follow the steps to merge Unallocated space to C drive or other partition.)

Besides shrinking and extending partition in Windows Server 2008/2012/2016/2019, NIUBI Partition Editor helps you do many other disk and partition management operations.