Re-posting from this thread:
https://answers.microsoft.com/en-us/windows/forum/windows_other-performance/connecting-to-virtual-machine-management-service/f1c6c189-7937-4bac-b800-0400292ada7c
ORIGINAL POST from itr88:
Overview of environment
Hyper-V host 1 - Server 2016 - not domain bound - static IP - 4 nics (1 mgmt 2 guests and 1 spare)
- software additional to OS (webroot / labtech / veeam backup & replication)
- Runs two guests
--guest1 = DC / FS / DNS / DHCP / Backup server
--guest2 = WEBSERVER
Situation
This morning at 4am, the host reboot because of monthly patches (was not suppose to but a different story altogether), issue since then.
Can connect to host, but cannot connect to hyper-v manager, stuck on this: "connecting to hyper v management service"
We have done the following in troubleshooting
-Setup DHCP and DNS (as this is running on the DC that is not running atm)
-Run MOFCOMP %SYSTEMROOT%\System32\WindowsVirtualization.V2.mof
-Uninstall webroot and labtech and patches.
-Ran DCOM fixes and various other attempts to fix this
We have then booted from OS disc, reinstalled OS, after reinstall could access Hyper-V manager, imported VM's, one failed, one succeeded, rebooted server and back to square one, unable to connect to hyper-v manager service.
Hyper-V still runs as we have the webserver running, and we can do some management via powershell, but that's it.
Anyone encounter this or a similar issue, we've searched the internet and we can't find anything closely related to this issue.
RESPONSE:
Did you end-up figuring out what happened, or find a fix?
We experienced the exact same issue on June 17th (the day after your post).
We have two VM host servers. After scheduled Windows patches in the middle-of-the-night, both rebooted. One came up normal. But when the other
host rebooted, it came up, but none of the VMs were online.
Same thing - It was stuck on "connecting to hyper v management service".
We tried the following, but had no luck
- Reviewed Error logs - (nothing useful, other than the service was not able to change the states of the VMs)
- Tried running MOFCOMP %SYSTEMROOT%\System32\WindowsVirtualization.V2.mof
- Uninstalled the recent Windows patches, rebooted
We're running a Lenovo System X server. We initially thought perhaps it was a firmware issue / incompatibility issue with the latest patch, but uninstalling
the patch didn't help.
We ended up re-installing Window Server 2016, after updating all system firmware. Ran all Windows Updates, then reinstalled Hyper-V role.
With no VMs added, we started Hyper-V manager and it came up.
We did not restore any of the prior VMs. Instead we created a new one. Started it. Rebooted the host, it all came up.
We added two more VMs, rebooted the host, all came up.
Since then, we added the rest of our VMs but have not rebooted the server. We are definitely concerned about not having yet determined the root cause
of this issue, troubleshooting (besides reinstalling everything from scratch) or a fix. Nothing we did brought the service back, so this is still of great concern.
Any new information you may have on this issue would be highly appreciated.