Sunday 27 January 2019

I cannot delete Hyper-V Checkpoint

Unable to delete checkpoints for a production server. As per the below screenshot it is showing  backups. How can we delete the checkpoints in this case?

I have encountered this on Hyper-V running on a Windows Server 2012 R2 Datacenter. My Backup Job was failed then noticed a it broken recovery checkpoints for a virtual machine that was created by Hyper-V.



Notice that the options to Delete Checkpoint and Delete Checkpoint Subtree are missing in the above screenshot. Here’s what the options are for a standard checkpoint.

Solution:

To delete a checkpoint in Hyper-V, use the following instructions. The script should work on Hyper-V installed on any operating system, e.g. Windows Server 2008, Windows Server 2012, Windows Server 2016, Windows 10, etc.

1. Start PowerShell run as Administrator mode on the computer where the virtual machine is located. 

2. Type the following command and press Enter. 

Ex: Get-VMSnapshot -VMName ADDC02 | Remove-VMSnapshot 

ADDC02 - my virtual Machine Name

If you are working remote computer follow below command

Ex: Get-VMSnapshot –computername HYPERV01 -VMName ADDC02 | Remove-VMSnapshot 

HYPERV01 – My windows 2012 R2 Data Center Server.




3. Hyper-V will start the merge process in the Hyper-V Manager. Depending on the size of the virtual hard disk, the merge process may take some time so be patient.

No comments:

Post a Comment

McAfee Endpoint Encryption 7.0 – Fatal Error: [0xEE0E0001]

Errors Fatal Error [ee000007] Internal initialization error Fatal error: File access error at startup  Fatal error: 0xEE0D0001 - Fail...