Hyper-V allows you to create and manage virtual hard disks for your virtual machines. However, sometimes, when you try to change a virtual disk, you may receive the error message, Cannot change disk because a disk merging is pending. This usually happens when Hyper-V cannot complete a previous checkpoint merge. In this article, we’ll cover ways to resolve this issue without losing your virtual machine data.
Error applying Hard Drive changes
Cannot change disk since a disk merging is pending.
Cannot change disk to …. because a disk merging is pending for virtual machine <UID>. Wait until the merge is finished and then try again.

Cannot change disk since a disk merging is pending Hyper-V error
Hyper-V uses differencing disks, called AVHDX files, to keep track of changes made after you create a checkpoint. When you delete a checkpoint, Hyper-V combines these changes into the main virtual disk. However, this process might not finish because of not enough storage, an unexpected shutdown, a failed backup, or a file-locking problem. As a result, Hyper-V could end up with an incomplete merge operation, which may stop you from changing the virtual disk.
Before you start, back up the affected virtual machine. This includes its VHDX and AVHDX files. Do not delete AVHDX files manually, as they may contain the latest changes made inside the virtual machine.
If you see Cannot change disk since a disk merging is pending in Hyper-V, follow the solutions mentioned below.
- Shut down the virtual machine and allow the merge to finish
- Delete the existing checkpoints
- Manually merge the AVHDX file using Hyper-V Manager
- Use PowerShell to merge the pending virtual hard disk
- Check available storage and backup-related file locks
Let us talk about them in detail.
1] Shut down the virtual machine and allow the merge to finish
Sometimes, Hyper-V cannot complete a checkpoint merge while the virtual machine is running. Shutting down the VM allows Hyper-V to complete the pending merge operation, provided the disk chain and storage are healthy. This is the simplest approach and should be your first attempt. Follow the steps below to do the same.
- Open Hyper-V Manager on your Windows Server.
- Now, locate the affected virtual machine.
- Then, right-click it and select Shut Down.
- Wait until its status changes to Off.
- Open the folder containing the VM’s virtual disk files.
- Check whether the AVHDX files are being merged into their parent disks.
- Allow the operation to finish completely before starting the VM again.
- Open the VM’s Settings and check whether you can now modify the hard disk.
Do not forcefully turn off the VM or interrupt an ongoing merge. If the operation does not progress, move to the next solution.
2] Delete the existing checkpoints

Hyper-V may have retained checkpoints that were not deleted properly, particularly after an unsuccessful backup operation. Removing the unwanted checkpoints through Hyper-V Manager allows the platform to merge their associated differencing disks into the parent disk. However, make sure that the checkpoints are no longer required before deleting them. To do so, you need to follow the steps mentioned below.
- Open Hyper-V Manager.
- Select the affected virtual machine and locate the Checkpoints section in the middle pane.
- Expand the checkpoint tree to see the available checkpoints.
- Right-click or select the checkpoint you want to remove, select Delete Checkpoint, and confirm your selection if prompted.
- Wait for Hyper-V to complete the merge before attempting another disk operation.
If you want to remove a checkpoint and all its subsequent checkpoints, use the Delete Checkpoint Subtree option where appropriate. Avoid deleting checkpoints indiscriminately, particularly on production VMs.
3] Manually merge the AVHDX file using Hyper-V Manager

Sometimes, a checkpoint disappears from Hyper-V Manager, but its associated AVHDX file remains in the virtual machine’s storage folder. This can happen when backup software creates temporary checkpoints but fails to remove them. You can use the Edit Virtual Hard Disk wizard to merge the differencing disk into its immediate parent. To manually merge the files, follow the steps given below.
- Shut down the affected virtual machine.
- Open Hyper-V Manager.
- Select Edit Disk from the Actions pane.
- Browse to the location of the affected AVHDX file.
- Select the file and click Open. Now click Next and select Merge.
- Choose To the parent virtual hard disk.
- Click Next, review the selected disk, and select Finish.
- Wait for the operation to complete.
If the VM has multiple differencing disks, merge them in the correct child-to-parent order. Do not merge an arbitrary AVHDX file directly into the base VHDX.
4] Use PowerShell to merge the pending virtual disk
If the graphical wizard does not resolve the issue, you can use PowerShell to identify and merge the differencing disk chain. Get-VHD displays the parent-child relationship, while Merge-VHD performs the merge.
First, open Windows PowerShell as administrator on the Hyper-V host, then run the following command to identify the virtual disk paths.
Get-VMHardDiskDrive -VMName "VMName" | ForEach-Object { Get-VHD -Path $_.Path | Select-Object Path, ParentPath, VhdType }
Replace VMName with the actual name of your virtual machine. Check the output and identify the child disk and its immediate parent. Then, ensure that the VM is shut down and the disk chain is not attached. Finally, execute the following command.
Merge-VHD -Path "C:\VM\Child.avhdx" -DestinationPath "C:\VM\Parent.avhdx"
Replace both paths with the actual file locations identified earlier and wait for PowerShell to finish the operation. Finally, repeat the process for additional differencing disks, working from the youngest child towards its parent. Do not run this command without verifying the disk relationship and backing up the complete chain.
5] Check available storage and backup-related file locks

A checkpoint merge requires sufficient free storage and uninterrupted access to the virtual disk files. If the host runs out of space or a backup application keeps a disk file locked, Hyper-V may be unable to complete the merge. Checking these conditions can help resolve a pending operation that repeatedly fails. Follow the steps below to do the same.
- Open File Explorer on the Hyper-V host.
- Go to the drive where your VM’s VHDX and AVHDX files are stored.
- Right-click the drive and choose Properties.
- Check the available free space to make sure there is enough storage for the merge.
- Look for any backup application that is still running or has reported a failed backup.
- Review the logs of the backup application and confirm that it has cleaned up its temporary checkpoints.
- If a file is locked, open Resource Monitor and use its handle search to find the process that is using the AVHDX or VHDX file.
- Fix the backup or file-locking issue before trying to merge again.
If there is not enough storage, arrange for additional storage before proceeding. Do not delete virtual disk files to free up space.
Hopefully, these solutions will resolve your issue.
Read: Hyper-V Cannot delete checkpoint: Catastrophic failure (0x8000FFFF)
Can I cancel merge in progress in Hyper-V?
No, Hyper-V does not provide a supported option to safely cancel an active virtual disk merge. Interrupting the operation by shutting down the host or terminating the process can corrupt the virtual disk chain. Allow the merge to finish before making further changes. If it appears stuck, investigate available storage, disk activity, and file locks.
Read: Hyper-V encountered error copying virtual hard disks to destination folder
How do I move a Hyper-V virtual machine to another disk?
You can move a Hyper-V virtual machine using the Move wizard in Hyper-V Manager. Right-click the VM, select Move, and choose Move the virtual machine’s storage. Specify the destination drive and select which virtual machine files you want to move. Follow the wizard to complete the operation. Ensure sufficient destination storage is available before starting.
Also Read: Error applying Hard Drive changes in Hyper-V.