Hello everyone, my name is John Clyburn and I am a Sr. consultant in MCS. I recently ran into an interesting problem with System Center Virtual Machine Manager 2019 and Hyper-V on Windows Server 2019 I think you may find interesting. The VM checkpoints showed up in the Hyper-V Manager window as VMs.
I would like to share how I resolved it in hopes that this will save you some time if you ever run into it while troubleshooting.
A few days ago, I noticed that the VM Checkpoints were no longer under their specific VM but rather now showing up in the main Hyper-V manager as a separate entry with the VMs. The environment is SCVMM 2019 and Windows 2019 with Hyper-V.
If you attempt to start the real VM entry (Not the checkpoint entry) it starts.
If you attempt to start the checkpoint VM entry it fails, the following error message:
An error occurred while attempting to start the selected virtual machine(s).
Viewing the properties of the checkpoint’s VM entries in the Hyper-V manager window, you see the hard drives are pointing to the xxx.VHDX files. Viewing the real VM properties in the window you see the hard drives are pointing to the xxx.AVHDX.
Note I also noticed that most of the pairs (real VM and its checkpoint entry) had the above configuration. In a few cases, both VMs and checkpoint entries pointed to the same .VHDX file. Therefore, if the two entries are pointing to the same hard drive .VHDX files, (meaning there is no .AVHDX file) continue but skip the Merge the .AVHDX File section below.
This is an example of what the Hyper-V manager windows looks like. JCT-CM16-01 and JCT-CM16-02 are the real VMs. The other two entries are checkpoints.
Shutdown the VM and merge the checkpoint into the original parent virtual hard disk, delete the VMs from Hyper-V then create a new VM using the original VM VHDX files.
Note steps 2 – 9 should be performed on the Hyper-V host not the SCVMM server.
If necessary, start the REAL VM and Record (Snipping Tool) the following settings from the VM:
All drives VHDX file path.
Shutdown the VM.
Merge the .AVHDX File:
In the Hyper-V Management console, highlight the real VM and choose the Edit Disk option from the Actions menu.
Note this is the VM entry that points to the .AVHDX file.
On the Before you begin page, click Next.
On the Locate Virtual Hard Disk/Locate Disk page, in the Location box browse to the .AVHDX file: