Delete an undeletable checkpoint in Hyper-V

Delete an undeletable checkpoint in Hyper-V

Q. I have a VM snapshot in Hyper-V that I cannot delete using Hyper-V Manager, how can I delete it?

A. If you run the command Get-VMSnapshot -VMName <VM> you may see a snapshot that is of type Recovery and in Hyper-V Manager there is no option to delete it. Additionally if you try and manually run Remove-VMSnapshot -VMName <VM> no error is returned but the snapshot is not removed. The solution is to run the following:

Get-VMSnapshot -VMName <VM> | Remove-VMSnapshot

If there are multiple snapshots you can add the -Name <snapshot name> parameter to the Get-VMSnapshot.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish