Extend a Windows Server System Drive with GParted When Partitions Aren’t Adjacent
- Christian
- 342 views
GParted can help make space available to C: when a recovery partition blocks it. Plan for WinRE changes and verify recovery status after resizing.


When a Windows Server system drive runs short of space, a larger virtual disk may not be enough. If another partition sits between C: and the free space, Windows Disk Management can’t extend C: into that space. In this Hyper-V virtual machine, the shortage blocked an upgrade to Veeam Backup & Replication (VBR), while a separate E: volume occupied space that could be reassigned.
The approach described here uses GParted Live to remove the intervening recovery partition, extend C:, and then check whether Windows Recovery Environment (WinRE) can be enabled again. That sequence changes the system’s recovery layout, so treat it as a planned maintenance task: first protect the VM, then make sure you understand the effect of deleting the recovery partition.
Windows Disk Management can extend a volume when suitable unallocated space is adjacent to it. It can’t move an existing partition out of the way. GParted supports moving and resizing partitions, but moving the recovery partition didn’t work in this case. The administrator instead deleted it, used the resulting space to grow C:, and later re-enabled WinRE. The result reported was that WinRE was activated on C: without a separate recovery partition; that outcome should be checked on the server being changed.


Make space available on the virtual disk
The first step was to increase the VM’s virtual hard disk using Hyper-V Manager. Select the VM, open its settings, choose the hard drive, and use the available Expand option in the Edit Virtual Hard Drive wizard. The disk size entered during this process was initially 190 GB, then changed to 180 GB. The screenshots document the administrator’s specific VM; choose a size based on your own capacity plan.

The VM in this example runs on Hyper-V, so the virtual disk is expanded through Hyper-V Manager. The instructions apply to that setup; other hypervisors use different controls.




After expanding the virtual disk, Windows showed additional unallocated capacity. The administrator temporarily extended E: into that space, intending to remove E: later and use its capacity for C:. This staging step is specific to the layout in the example. Extending E: alone doesn’t solve the adjacency problem: the recovery partition still separates E: from C:.





Boot GParted Live in the Hyper-V VM
Download the GParted Live ISO from the GParted download page. Because Windows can mark downloaded files with Mark-of-the-Web metadata, the procedure describes opening the ISO’s properties and unblocking it before attaching it to the VM’s virtual DVD drive.


Create a Hyper-V checkpoint before changing partitions. A checkpoint can help return a VM to an earlier state, but it isn’t a substitute for a backup. Attach the ISO, then open the VM firmware settings and place the DVD drive above the virtual hard disk in the boot order. If GParted won’t start, the procedure suggests temporarily disabling Secure Boot.





On this VM, the default GParted Live boot option stalled before loading its Linux environment. Selecting “GParted Live (VGA with large font & to RAM)” resolved the issue; the procedure also reports that other GParted Live modes worked with Hyper-V. Continue through the startup prompts using the defaults described: accept the package configuration, keep the default keymap, select the default language, and start GParted automatically.







Remove the recovery partition and extend C:
Deleting the recovery partition has a real recovery trade-off. In this example it was a 919 MB partition identified as Disk 0 partition 4. Removing it disables the existing WinRE setup, including access to built-in recovery options such as Startup Repair and Safe Mode recovery at startup. Make sure there’s a suitable recovery plan before proceeding.
Before deleting the partition, open an administrative Command Prompt in Windows and disable WinRE:
reagentc /disable

Then boot into GParted and delete the recovery partition, applying the queued operation when prompted. Once it completes, shut down or restart the GParted session as needed, and return the VM’s DVD drive lower in the boot order so Windows starts from the virtual disk.



With the recovery partition removed, use GParted to extend C: into the now-adjacent unallocated space, following the resize prompts and applying the operation. The procedure then returns to Windows Disk Management and deletes E: because that volume is no longer needed. Once E: is removed, its space becomes available next to C:, which can be extended again through Disk Management if that space is part of the intended final layout.







Check WinRE and confirm the usable space
After resizing, return to an administrative Command Prompt and run:
reagentc /enableCheck the resulting WinRE configuration with:
reagentc /infoIn the reported result, reagentc /enable activated WinRE using partition 3, identified as C:, without a separate recovery partition. Verify the output on the VM itself rather than assuming it will match. Finally, confirm that C: has the expected free capacity before resuming the blocked VBR upgrade. The key operational check is both sides of the change: sufficient space for the workload and a known, tested path to recovery.

