This article introduces how to resize OS partition on Windows Server 2012 R2, detailed steps to shrink and extend OS partition for Server 2012 without losing data.
Many server administrators need to resize OS partition after running the server for a period of time. For example: the OS partition is getting full, so they want to resize it larger. While in some other servers, there is large amount of free space in the OS partition, but D: drive is running low, so they want to resize os volume smaller to expand D.
Then is it possible to resize OS drive without losing data? Yes, both Windows native Disk Management and third party partition editor can help you.
Resize os partition with Server 2012 DM
The same with previous version, Windows Server 2012 has Shrink Volume and Extend Volume functions in Disk Management tool. Shrink Volume can decrease NTFS partitions towards left and convert part of unused space to Unallocated on the right side. Extend Volume can expand NTFS partitions with adjacent Unallocated space on its right side.
Press Windows and X on the keyboard and click Disk Management from the list.
How to shrink OS partition:
- Right click C: drive and select Shrink Volume.
- Click Shrink to decrease with maximum available space, or enter an smaller amount by yourself.
How to extend OS partition:
- Right click C: drive and select Extend Volume.
- Simply click Next till Finish in the pop-up Extend Volume Wizard.
It is very easy to shrink and extend OS volume in Server 2012 Disk Management. However, both functions have restrictions:
- Shrink Volume cannot shrink a partition towards right and make Unallocated space on the left.
- Only NTFS partition is supported.
- Extend Volume cannot combine Unallocated space to any nonadjacent or the partition on its right side.
- If the right contiguous partition D is Logical, Extend Volume still cannot extend OS partition by deleting it.
To be short, Server 2012 Disk Management can only help you shrink OS drive to create a new one on the right, or extend os drive by deleting the right contiguous partition. In some special situation, Disk Management cannot shrink partition or extend by deleting other one.
Shrink os partition to extend D drive
No matter you want to shrink os volume to expand D or extend OS volume by shrinking D, Server2012 Disk Management cannot help you. So you need third party software such as NIUBI Partition Editor.
Comparing with native Disk Management, NIUBI is much more powerful:
- Both NTFS and FAT32 partitions are support.
- While shrinking a partition, Unallocated space can be made on either side .
- Partitions with Unallocated space on either side can be extended by 1 step.
- Unallocated space can be moved and combined to any nonadjacent partitions.
- It also helps you merge, copy, convert, defrag, wipe, hide, scan partition, etc.
Download NIUBI Partition Editor and you'll see all disk partitions with structure and other information in the main window
Steps to shrink OS partition to expand D: in Windows Server 2012:
Extend os partition by shrinking other volume
In most cases, Server administrators want to extend OS volume without losing data. NIUBI Partition Editor can shrink other partitions to get free space, no matter they are adjacent or not.
Watch the video how to extend os partition in Windows Server 2012:
Expand os drive with other disk
In server servers, there is no other volume in the same disk. In few servers, there is not plenty of free space in other partitions. If you want to enlarge OS partition by taking space from other separated disk, it is possible with all partitioning software.
Instead, you need to copy disk to a larger one with NIUBI Partition Editor, OS volume (and other partitions) can be extended with the extra disk space. Watch the video how to do this:
It is suggested to select the option to turn off computer after clicking Apply. After copying finished, replace small disk or change BIOS to boot from the large disk.
Copying single C drive cannot ensure Windows bootable.