Hyper-V Virtual Disk Cannot Be Expanded

Mikko Hämäläinen 20 Reputation points
2026-11-28T01:36:10.0766667+00:00

Why does Hyper-V fail to expand a virtual hard disk even though the virtual machine is powered off?

Windows for business | Windows Server | Storage high availability | Virtualization and Hyper-V
0 comments No comments

1 answer

Sort by: Most helpful
  1. Jason Nguyen Tran 31,625 Reputation points Independent Advisor
    2026-11-28T02:33:45.9433333+00:00

    Hi Mikko,

    This one catches a lot of people, because "powered off" doesn't always mean the disk is free to be resized. The most common cause is checkpoints: if the VM has any, it's actually writing to a differencing disk (.avhdx), and Hyper-V won't let you expand the parent disk until you delete the checkpoints and the merge has finished.

    You can check quickly with Get-VMSnapshot -VMName <VM name>, and Get-VHD -Path <path to disk> will show whether the disk has a parent path or is still attached to something. Also make sure the VM is really Off and not Saved, since a saved state still keeps the disk in use. Next, check whether something on the host is holding a lock on the file, such as backup software, antivirus scanning, or the disk still being mounted in Disk Management, and look in the Hyper-V-VMMS event log for the exact error. A few other things can block the resize too: Hyper-V Replica being enabled on the VM, the disk being a shared VHDX, or an older .vhd file that's already at its 2 TB limit (in that case, convert it to .vhdx first with Convert-VHD). Once nothing is blocking it, Resize-VHD -Path <path> -SizeBytes 200GB usually works more reliably than the wizard and gives a clearer error if it doesn't.

    One last tip: after expanding, start the VM and extend the partition inside the guest with Disk Management or Resize-Partition, otherwise the extra space just shows up as unallocated.

    If this answer helped, please click "Accept Answer" so others with the same issue can find it more easily.

    Jason

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.