Search
Join the Technical Preview Program
See how NVMe-oF removes iSCSI
bottlenecks in your HCI
The Best Hyperconverged
Infrastructure
(HCI) for Enterprise
ROBO, SMB & Edge
The Best Virtual SAN
for Enterprise ROBO, SMB & Edge

How to Extend a Hyper-V VHDX Disk Size Without Downtime

  • February 10, 2026
  • 8 min read
IT Engineer and Technical Author. Karim is a specialist in Linux and open-source ecosystems. A prolific technical blogger, he provides expert guidance on system administration, shell scripting, and server optimization. Karim delivers high-authority content for various industry websites, focusing on enterprise Linux deployments and IT infrastructure management.
IT Engineer and Technical Author. Karim is a specialist in Linux and open-source ecosystems. A prolific technical blogger, he provides expert guidance on system administration, shell scripting, and server optimization. Karim delivers high-authority content for various industry websites, focusing on enterprise Linux deployments and IT infrastructure management.

Introduction

One of the most common challenges system administrators face is the sudden “Low Disk Space” warning on a production virtual machine (VM). In both development-heavy environments and specialized workloads, running out of storage can bring productivity to a halt.

Traditionally, resizing a virtual disk meant scheduling maintenance windows, shutting down the VM, and manually adjusting partitions – a process that is time-consuming, disruptive, and often leads to costly service interruptions. However, with Hyper-V’s modern architecture and the VHDX format, the era of downtime for disk expansion is over.

In this guide, we help you to extend your disk size in Hyper-V without powering off the virtual machine.

Prerequisites for Live Resizing

Before you begin, make sure that:

  • You have access to Hyper-V Manager on the host.
  • The hard disk is in VHDX format (not the older VHD format). VHDX supports live resizing up to 64 TB, whereas the VHD format requires the VM to be powered off.
  • There are no checkpoints. You must delete or merge them before resizing.
  • NIUBI Partition Editor (Free Edition) is already installed inside the VM. You can download and install it from here.

Step 1: Expanding the Virtual Disk (Host Side)

The first step is to expand the virtual disk on the host side.

1. Open Hyper-V Manager and right-click your desired VM (in this example, Windows 11).

2. From the menu, select Settings.

 

Hyper-V Manager | DESKTOP-0MN0BI9 | Settings | Windows 11

 

3. Choose the hard drive from the left pane. Under Virtual hard disk, click Edit.

 

Settings for Windows 11 on DESKTOP-0MN0BI9 | Hard Drive| Edit

 

4. Click Next and follow the step-by-step wizard.

 

Edit Virtual Hard Disk wizard | Locate Disk | Next

 

5. Select the Expand option and click Next.

 

Edit Virtual Hard Disk Wizard | Choose Action | Expand | Next

 

6. Enter the new disk size (in GB) and click Next.

 

Edit Virtual Hard Disk Wizard | Configure Disk | 56 | Next

 

7. You have now successfully expanded the virtual hard disk on the host side. Click Finish to close the wizard.

8. An unallocated space corresponding to the newly added size will appear inside Disk Management in the VM.

 

Edit Virtual Hard Disk Wizard | Summary | Newvirtual disk size 66 GB | Finish

 

Step 2: The “Extend Volume Greyed Out” Hurdle

The next step is to extend the disk volume from inside the VM using Windows Disk Management. In some cases, another partition – such as the Recovery Partition – is located between the C: drive and the unallocated space.

When this happens, the built-in Disk Management tool cannot extend the volume, and the Extend Volume option will be greyed out.

To resolve this issue, you need a third-party partition manager. One such free tool is NIUBI Partition Editor, which allows you to move the Recovery Partition to the end of the disk layout, placing the C: drive and unallocated space next to each other.

Step 3: Moving the Recovery Partition (The Fix)

Inside the VM, open NIUBI Partition Editor. You will see the complete layout of your disk and notice the Recovery Partition positioned between the C: drive and unallocated space.

 

NIUBI Partition Editor v10.2.0- Free Home Edition

 

Right-click the Recovery Partition and select Resize/Move Volume. Drag the Recovery Partition to the right side.

 

NIUBI Partition Editor | Size And Location

 

Now, unallocated space will be next to the C: drive. Click OK and close the window.

In the NIUBI Partition Editor main window, click Apply, then OK to confirm the operation and apply the changes.

 

NIUBI Partition Editor v10.2.0- Free Home Edition

 

Step 4: Finalizing the Extension Inside Windows 11

At this point, the disk has already been expanded in Hyper-V (Step 1), and the Recovery Partition has been moved to the end of the disk. The C: drive and unallocated space are now adjacent. The final step is to extend the disk size inside the VM.

Inside the VM, open Disk Management. You should see a black bar labeled Unallocated next to the C: drive.

 

Disk Manager | Volume

 

Right-click the C: drive and select Extend Volume. Follow the wizard, add all available unallocated space, then click Next and Finish.

 

Extend Volume Wizard | Next

 

You can confirm the new disk size by opening the C: drive properties.

Conclusion

In this article, we have shown you how to extend disk space in Hyper-V without powering off a virtual machine. The process is straightforward and consists of two main stages: expanding the virtual disk in Hyper-V Manager and then extending the volume inside the VM.

However, when another partition, such as a Recovery Partition, exists between the C: drive and unallocated space, it becomes a blocker. In this case, you need to use a third-party tool like NIUBI Partition Editor to move the partition to the end of the disk layout before extending the volume in Disk Management.

We hope you found this guide useful. Good luck!

Hey! Found Karim’s article helpful? Looking to deploy a new, easy-to-manage, and cost-effective hyperconverged infrastructure?
Alex Bykovskyi
Alex Bykovskyi StarWind Virtual HCI Appliance Product Manager
Well, we can help you with this one! Building a new hyperconverged environment is a breeze with StarWind Virtual HCI Appliance (VHCA). It’s a complete hyperconverged infrastructure solution that combines hypervisor (vSphere, Hyper-V, Proxmox, or our custom version of KVM), software-defined storage (StarWind VSAN), and streamlined management tools. Interested in diving deeper into VHCA’s capabilities and features? Book your StarWind Virtual HCI Appliance demo today!