Can’t shrink C drive in Windows Server 2008 Disk Management
Windows Server 2008 native Disk Management utility has Shrink Volume functionality, which is able to shrink C drive and any data volumes on the fly. However, sometimes it is unable to shrink partition C. This article shows why and what to do if you cannot shrink C: drive in Windows Server 2008 (R2) Disk Management.
Why cannot shrink C drive?
There are two common reasons and I’ll explain one by one.
Not enough space available
Press and on keyboard to start Run, type diskmgmt.msc and press Enter.
Right click C drive and select Shrink Volume in Disk Management.
Enter the amount of space and click Shrink.
Disk Management report an error message: There is not enough space available on the disk(s) to complete this operation.
Explanation: Disk Management use all available space by default, when I shrink C drive, the max available space is 47473MB. However, many types of files are writing into C drive continuously, so the max available space is less than 47474MB when clicking Shrink, of course I cannot shrink C drive with that value.
Solution: do not use the default value, enter a smaller amount, then you can shrink partition C without issue.
There’s unmovable files
Have you noticed the tip in the shrinking window? – You cannot shrink a volume beyond the point where any unmovable files are located.
Only part of the servers have such issue, but if there are any unmovable files, you can’t shrink C drive or can only shrink little space. For example: in my another test computer, there is still 7.53GB free space in C: drive, but the available space is 0 and the Shrink button is greyed out.
Explanation: For example, C drive is made up of 4 blocks, if the unmovable files are located in block 3, you cannot shrink C drive to block 2 or 1, although there is free space there.
Solution: The unmovable files include Paging file, Hibernation and other large files. You cannot locate these files and transfer to other partition manually. Instead, you need server partition software such as NIUBI Partition Editor.
What to do when unable to shrink C in Server 2008 DM?
Comparing with Server 2008 Disk Management, NIUBI Partition Editor has many benefits when shrinking a partition drive, for example:
- Shrink C drive to minimum size because it can move all “unmovable” files.
- Shrink C drive and generate Unallocated space on either left or right side.
- Besides creating new volumes, Unallocated space can be used to extend other partitions in the same disk.
In the pop-up window,
If you drag the left border rightwards, Unallocated space will be generated on the left side of C drive.
Besides creating new volume, Unallocated space can be used to extend other partitions.
To extend the adjacent drive D:
Right click D and select “Resize/Move Volume”.
Drag the left border leftwards to combine the Unallocated space.
Then drive D is extended to 50GB.
To extend drive E:
Right click D and select “Resize/Move Volume”, drag the middle position leftwards to move Unallocated space to the other side.
Click OK, 20GB Unallocated space is moved to the right side of drive D.
Right click E and select “Resize/Move Volume” again, drag the left border leftwards to merge the Unallocated space, then drive E will be extended.
NIUBI Partition Editor is designed to work in its own virtual mode. The operations you do will be listed as pending on bottom left for preview. You may click Undo to cancel the unwanted operations or click Apply to modify real disk partitions.
Comparing with previous Server 2003, Server 2008 Disk Management has the ability to change partition size with Shrink Volume and Extend Volume functionalities. However, sometimes you can’t shrink C drive with Server 2008 Disk Management as I explained above. The better option is running disk partition software such as NIUBI Partition Editor. It is able to shrink C drive without the limit of “unmovable” files. Unallocated space shrank of C can be used to extend any other partitions in the same disk. Of course, you can use it to do many other disk partition management operations.