Avatar of GCITech
 asked on

Hyper-V host services stop after a few minutes

I am working at a small school district, and their domain controller (Server2012R2) also hosts 2 Hyper V machines. I dont know if this is relevant, but recently there was an unplanned shut down.

The issue is when attempting to start any of the virtual machines, an error pops up stating: Windows could not start the Hyper-VRemote Desktop Virtualization Service service on Local computer
Error 126: The specified module could not be found.

The interesting part is, you can remove the Hyper-V feature from the server, then reinstall it, and the virtual machines will boot, and run fine, until they are rebooted or shut down, as long as you start them quickly after reinstallation of Hyper-V.  If you wait as long as 5 minutes or so, it is already broken again.
The Hyper-V services are all off, when it is not working, and you cannot turn them back on.
Any suggestions will be appreciated.
VirtualizationWindows OSHyper-VDesktops

Avatar of undefined
Last Comment

8/22/2022 - Mon
Philip Elder

A domain controller should _not_ have the Hyper-V Role enabled. Period.

There may be some useful stuff in the event logs but as Phillip says the host should just be the host and not run any other roles. You're probably breaking the license agreement as standard covers two VMs or the real server but you have both.

Thanks guys.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
David Johnson, CD

Hyper-VRemote Desktop Virtualization Service

This leads me to want to investigate the remote desktop services role as Remote Destkop Virtualization Service is a RDS function. 
Philip Elder

Is there two partitions on the host?

If this was a standalone Hyper-V host without the other Roles you would be able to re-install, configure Hyper-V, and import the VMs and be up and running in about 30-45 minutes.

The DC Role with the Hyper-V Role breaks things. Plus, it kills the ability to recover simply from a problem at the host level.

Mr. Phillip,
I am able to remove & reinstall now, and fix only works for 5 minutes or so. I am not understanding the separate partition fix. Please elaborate.
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.

View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Philip Elder

@andyalder gives the best route to take. Set up a temporary Hyper-V in say a desktop, install Windows Server, set up and DCPromo, then DCPromo the current Hyper-V host DC out, workgroup it, and finally re-install the host OS, configure the Hyper-V Role, and import the existing VMs.

You can then set up another VM, DCPromo it, transfer the FSMO Roles, and DCPromo the temp DC out.

Thanks for the help