Hyper-V virtual machines with “Missing” status
I’m currently running Hyper-V R2 on a machine with 24GB of memory at home. It hosts most of my test machines such as SCCM, SCOM, Exchange, etc. System Center Virtual Machine Manager 2008 R2 (VMM) is installed on a separate box to manage this Hyper-V Host.
Few days ago the Hyper-V machine was powered off unexpectly and when it powered back online, in VMM, the status of 2 virtual machines showed as “Missing”.
I checked the location where virtual machines are stored and without doubt, the vhd, xml and other files for each virtual machine are still there.
I Checked the Event Log and found a lot of Event ID 16310 events in Hyper-V-VMMS logs:
The virtual machine ID in above event belongs to my SCOM server, one of the “Missing” virtual machines.
I googled it and some people somewhere had similar issues and it was because the VM configuration XML file was missing the closing tag “</Configuration>” or there were few additional lines after “</Configuration>”.
In my case, the XML file looks perfectly fine, BUT there is an additional space(“ “) after </Configuration>:
After removing the additional space and restarted Hyper-V Virtual Machine Management service (net stop vmms && net start vmms), the status of my SCOM server is “Stopped” and I was able to successfully start it!
Leave a comment