Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

How to fix Non-Adjacent Partition on Windows Server Using GParted

Posted on 09/11/202609/11/2026 Christian By Christian No Comments on How to fix Non-Adjacent Partition on Windows Server Using GParted
  1. Home
  2. Windows Server
  3. How to fix Non-Adjacent Partition on Windows Server Using GParted
fixing windows non adjacency with GParted

Running out of disk space on the Windows system drive can become a serious problem, particularly when installing updates, or maintaining enterprise applications as discussed here “Upgrade Veeam Backup & Replication to v13.1.2.57“. As you can see, while attempting to patch Veeam Backup & Replication (VBR). The installation could not proceed because the C: drive did not have sufficient free disk space. Please see How to fix Error 202: AMD Software Installer Fails to install Update, and Resolve Veeam ONE “The specified property cannot be found” and License Mismatch Errors During upgrade.

Looking at the disk layout, I noticed that the system had sufficient available capacity on the E: drive which we had previously created for a different purpose (task). However, there was one obstacle: a Windows Recovery partition was sitting between C: and E:.

This meant that Windows Disk Management could not extend C: or merge with E using the available space on E: Rather than purchasing a commercial partition-management licence, I decided to explore free alternatives that could move partitions, redistribute available space and extend the system volume.

Please see “Aomei Free Partition Manager: Fix unable to Extend Volume on Windows protected by BitLocker, and “A Review of MiniTool Partition Wizard – Disk Utility Tool.

resize tool
resize tool
Minitool
Minitool

Expand Disk Partition

As you can see below, the low disk space shows the drive hosting the Veeam installation update directory has run out of free space

Localdisk

To fix this, you need to expand the disk partition by clicking on “Edit” the Hard Drive as shown below.

Note: To get to this settings, yu need the Hyper-V Manager since my VBR is running on Hyper-V. Then select the VM and click on settings.

Edit Hard drive

On the Edit Virtual Hard Drive Window and click on Next as the Expand window is the only available button at this time.

expand drive

Since I already had a Partion E already created for a different purpose. I will delete this and recreate it as we progress by deleting the volume. But let us create a new unallocated disk space first

configure disk
Please ignore the fact I entered 190 here. I changed this to 180 GB afterwards.

Click on finish to the edit of the Hard Disk as shown below.

Summary

As mentioned above, I will extend Drive E and delete the volume at a latter time and extend this with Drive C.

Unaallocated volume

Here I am extending E: with the new volume by right clicking on it and selecting “Extend Volume”.

Extend Volume E drive

On the select disk, click on Next

Disk selected

Click on Finish to complete extending the Drive E.

Complete extending volume

As you can see, this is the issue we wish to solve with GParted as we cannot merge Drive C and E together as we currently have a different partition in between. That is, it doesn’t support merging non-adjacent partitions.

Merge E with C

Fixing Non-Adjacent Partitions with a Free Tool

Note: You can manage and extend partitions in Windows using DiskPart (CMD), PowerShell, or third-party partition management tools. However, I have decided to use GParted in this guide because Windows DiskPart and PowerShell cannot move existing partitions to make unallocated space adjacent to the system drive.

Although GParted supports moving partitions, I encountered issues when attempting to move the Recovery partition. I therefore decided to delete the Recovery environment partition and use the resulting unallocated space to extend the C: drive. This allowed me to extend the system partition without moving the Recovery partition.

To fix this without losing data, we can use a free, reliable partition manager such as using GParted (the industry-standard open-source partition editor). It supports moving and resizing partitions. To proceed, I will hed over to the following website and download the GParted as shown below.

Gnonome Partition Download

Since the ISO was downloaded from the internet, do not forget to right click on it and select properties to unblock it as shown below.

This Windows security feature “called “Attachment Execution Service (AES)” attaches a hidden tag called the Mark-of-the-Web (MotW) to files downloaded from the internet.

unblock file

Next, attach the GParted ISO to the VBR server (VM) via the HyperV Manager as shown below.

attach image to VM

Before proceeding, create a snapshot, which is referred to as a checkpoint in HyperV. A checkpoint is not a substitute for a backup.

Please see how to create or delete snapshots on VMware Workstation, how to Create a Snapshot on vSphere Web Client, how to Manage VMware Snapshots: Delete or Edit or Revert a Snapshot, and Virtual Machine Snapshot vs Backup.

Created a snapshot

Enter the VM firmware settings, and move the DVD drive above the virtual hard disk in the boot order and click on OK.

Move DVD Drive Up

If GParted does not boot, temporarily disable Secure Boot as shown below.

Disable Secureboot

Next, start and connect to the VM.

Start VM

Note: I also found out that selecting the default options as shown below gets the GParted Live boot process stuck. Therefore, it was unable to load its Linux kernel and initial boot environment due to hardware compatibility issues etc.

I read that this problem was not present in earlier version of Windows Server 2022, 2025 Generation 2 VMs. But selecting the below entry from the boot menu resolved it “GParted Live (VGA with large font & to RAM”). Other modes of GParted Live entry also works with HyperV.

vga with large font

GParted environment is starting and configuring its hardware support before loading the graphical partition editor.

gparted process

Click on OK in the Package Configuration

cossole date

On the default “Don’t touch keymap”, click on Ok

dont touch keymap

I will hit enter for the default language

English
enter 33 and hit enter

I will also proceed with the default mode to use GParted automatically.

Hit Enter to continue

Since the Move did not work for me with GParted on Windows as I have tested, I will proceed and delete this partition (Windows Recovery Partition).

Note: It is safe to delete the 919 MB Recovery Partition (Disk 0 partition 4), but doing so will permanently disable the Windows Recovery Environment (WinRE). This means that the built-in advanced startup tools (like Startup Repair, Safe Mode recovery, or system restore prompts from boot) won’t be accessible unless you recreate it later

resize and move pertiton

Please see How to fix Update Error 0x800f0831 in Windows or Windows Server, Backing Up OpenShift Is Not the Same as Recovering It, and Veeam Agent for Windows deployment failing with Access Denied.

Delete Recovery partition

First, let us disable the Windows Recovery Environment by uisng the command below. We can do this by opening an administrative Command Prompt which ensures it cleans up pointers cleanly.

reagentc /disable
disable recovery environment

Now, delete the recovery environment partition.

delete patition

When prompted, click on Apply

apply

As you can see, the operation has completed. Click on Cose of re-initite the GPart boot process if it is stuck if you intend to perform other operations. Else, switch (move) the DVD Drive Boot Order further down.

operation completed

Now, we have a free unallocated space. Let us extend the C drive this this unallocated space (deleted Windows Recovery Environment). To do this, right click on C: and select extend and following the prompts.

Extend drive

Click on next on the select Disks wizard and click on Next

disk

Click on Finish to complete this process.

Finish extending volume

Please see Restoring a Physical Ubuntu Server to VMware using Veeam Agent and Export as Virtual Disks, Action required: Update Devolutions Remote Desktop Manager Before July 21, and how to Back Up and Restore Microsoft Entra ID with Veeam Backup & Replication v13.

Delete Volume

Since I no longer need the Drive E as mentioned perviously. I will now delete the volume (partition) as shown below by opening the Disk Management tool and right-click New Volume (E:). Then select Delete Volume.

delete volume

On the confirmation prompt, click on Yes.

Confirm disk deletion

Now that we have the unallocated space adjacent to C:. We can now extend it without issues. To do this, right click on C and select extend

extend volume

Follow the prompts and on the final wizard as shown below. Click on Finish.

complete extending volume for C

Please see Azure Resource Inventory (ARI) for Engineers: Improving Control and Compliance, Azure Load Balancer: Configuring for SQL Server Always On Availability Group Listener on Azure Virtual Machines, and Azure Virtual Desktop: Build Custom Session Host Images Using Image Builder Templates [Part 07].

Re-enable the Windows Recovery Environment

With the command below, we can now recreate the Recovery Environment.

reagentc /enable

You can also check the status of the WinRE by launching command prompt as an Administrator

reagentc /info

As you can see, reagentc /enable successfully hooked into partition 3 (C: drive) and activated WinRE without needing a separate standalone partition.

Re-enable recovery enviornment

As you can see. We have finally extended the hard disk space and we can now proceed with our intended uppgrade as referenced in the first blog (paragraph) above.

we have free space

I hope you found this article on “how to fix Non-Adjacent Partition on Windows Server Using GParted” very useful. Please feel free to leave a comment below.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Windows Server Tags:Expand Disk Partition, Extend Volume Grayed Out, fix Non-Adjacent Partition on Windows Server, Fixing Non-Adjacent Partitions with a Free Tool, Non-Adjacent Partition on Windows Server Using GParted, Windows Disk Management

Post navigation

Previous Post: Upgrade Veeam Backup & Replication to v13.1.2.57: Fix VBR Update Failures Due to Low Disk Space on Windows Server

Related Posts

  • images 6
    Important Areas to Master on WSUS Windows Server
  • image 14
    How to fix Unknown Hard Error on Windows Server and Windows 10 Windows
  • Screenshot 2020 05 16 at 15.33.24
    How to install Telnet via the command line Windows Server
  • FileNotFoundError Errno 2 No such file or directory
    Fix FileNotFoundError: [Errno 2] No such file or directory Scripts
  • screenshot 2020 03 13 at 20.24.17
    How to install additional packages via Cygwin Windows Server
  • fghj
    MDT deployment failed and Stuck at Command Prompt: Windows installation does not proceed via PXE boot Windows Server

More Related Articles

screenshot 2020 04 26 at 19.14.07 Windows 2016 Servers do not show up on the WSUS console Windows Server
FTP How to install and configure an FTP Server on Windows Server Windows Server
TeamPass Password manager Install and configure TeamPass Password Manager Password Manager
what is saml e1690630549650 What is SAML – Security Assertion Markup Language Windows Server
Connect to FTP Server Secure FTP Login Issue: NAT Router Configuration for Passive Mode and Port Forwarding Windows Server
CMtrace How to install and debug logs with the CMTrace Tool Windows Server

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • screenshot 2020 03 31 at 22.22.43
    How to create, edit and delete a scheduled task via the Command Prompt Windows Server
  • Locate Find and Grep Required 1
    A Brief Introduction to Linux and How to Create Disk Partition in Ubuntu Linux Linux
  • group policy 1280x720 1
    Error: The processing of Group Policy failed because of lack of network connectivity to a DC. This may be a transient condition. A success message would be generated once the machine gets connected Windows Server
  • How To Put Multiple OS ISO Files In One Bootable USB Disk
    USB Drive: Create a Multiboot with Multiple OS ISOs Windows
  • ETWindows
    An Overview of Event Tracing for Windows Windows
  • Extend C drive with additional Software
    Aomei Free Partition Manager: Fix unable to Extend Volume on Windows protected by BitLocker Windows
  • Telegram Bot for wordpress
    Configure Telegram to receive Blog Notifications JIRA|Confluence|Apps
  • powershell commands lede 1024x276 1
    Enable WinRM on Windows Servers and Windows PCs Scripts

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,746 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.