Windows 11 Error 504: “The Specified Operation Is Not Supported While Snapshot Is Enabled on the Target Object”
Why This Error Happens
This error typically occurs when working with virtual disks, storage volumes, or Hyper-V virtual machines that have an active snapshot (checkpoint) associated with them. Certain operations—such as resizing a virtual hard disk (VHD/VHDX), converting disk formats, or modifying volume configurations—are blocked by design because snapshots rely on differencing disks that track changes relative to a fixed base state. Attempting to alter the parent object while a snapshot exists would corrupt the snapshot chain, so Windows/Hyper-V intentionally throws Error 504 to prevent data loss.
Step-by-Step Resolution Guide
-
Identify the Virtual Machine or Disk with Active Snapshots
Open Hyper-V Manager (search “Hyper-V Manager” in the Start menu), select the VM in question, and check the Checkpoints pane at the bottom for any listed snapshots. -
Delete or Merge Existing Checkpoints
Right-click each checkpoint under the Checkpoints pane and select Delete Checkpoint (or Delete Checkpoint Subtree if there are nested snapshots). This merges the differencing disk data back into the parent VHDX file. -
Wait for the Merge Process to Complete
Deletion doesn’t happen instantly—Hyper-V merges data in the background, especially if the VM is running. Check the VM status column for “Merge in Progress” and allow it to finish before retrying your operation. -
Verify via PowerShell (Optional but Recommended)
Open PowerShell as Administrator and run:
Get-VMSnapshot -VMName "YourVMName"
If any snapshots are returned, remove them with:
Remove-VMSnapshot -VMName "YourVMName" -Name "SnapshotName"
- Retry the Original Operation
Once no checkpoints remain (confirmed empty in both Hyper-V Manager and PowerShell), retry the disk resize, edit, or conversion operation that originally triggered Error 504.
Alternative or Verification Steps
- Verify the fix: Run
Get-VMSnapshot -VMName "YourVMName"in PowerShell—an empty result confirms no snapshots remain, and the target operation should now proceed without Error 504. - Alternative: If checkpoints won’t delete due to a stuck merge, shut down the VM completely, then use Edit Disk in Hyper-V Manager to manually inspect and repair the VHDX file’s snapshot chain before retrying.