connecting to virtual machine management service hangs

Not sure if this is the right place

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 issue

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.

 

Question Info


Last updated September 16, 2019 Views 533 Applies to:
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.

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Hi,

Your question is outside the scope of this Community.

I suggest that you repost in the TechNet Hyper-V Forum.

https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverhyperv

Or in the TechNet Server Forums.

http://social.technet.microsoft.com/Forums/windowsserver/en-US/home?category=windowsserver

TechNet Forums:

https://social.technet.microsoft.com/Forums/en-US/home

Or MSDN Forums:

https://social.msdn.microsoft.com/Forums/en-US/home

Cheers.

___________________________________________________

Bill Smithers - Microsoft MVP July 2013 - June 2020

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.