Are you stuck with Hyper-V cannot be installed a hypervisor is already running? We can help you fix it.
This error displays when we try to install Hyper-V in a virtual machine.
At Bobcares, we often get requests to fix Hyper-V errors as a part of our Server Management Services.
Today, let’s see how our Support Engineers this error for our customers.
Causes for Hyper-V cannot be installed a hypervisor is already running
This error occurs when we try to install Hyper-V in a server which is already a virtual machine.
The sample error looks like:
Thus, the workaround is to install all the components for Hyper-V from Powershell.
Let’s discuss how our Support Engineers install Hyper-V in the virtual machine.
How to fix Hyper-V cannot be installed a hypervisor is already running?
Recently one of our customers contacted us saying that he was unable to install Hyper-V in his server and getting this error. The server was already a virtual machine. Let’s discuss how our Support Engineers help our customers install Hyper-V in the hypervisor server.
We can resolve this error by installing it from the Powershell. We need to install all the services manually.
Thus, we open the Powershell as an administrator.
Next, we install the Hypervisor. Thus, our Support Engineers use the command.
Enable-WindowsOptionalFeature –Online -FeatureName Microsoft-Hyper-V –All -NoRestart
Then we need to install the RSAT administrator tools. For that, we run the command,
Install-WindowsFeature RSAT-Hyper-V-Tools -IncludeAllSubFeature
Now a warning appears. Warning: You must restart this server to finish the installation process.
We ignore the message. And then we restart the server only after completing the whole process.
Next, we install the cluster service to support cluster in Hyper-V. Thus, to install the service we use the command,
Install-WindowsFeature RSAT-Clustering –IncludeAllSubFeature
Then we install Multipath I/O to enable multiple paths to the storage. We use the below command to install multipath.
Install-WindowsFeature Multipath-IO
Finally, we restart the server using the command
Restart-Computer
After the reboot, we can see that the Hyper-V is present, and we can also create a Virtual machine without any error.
[Need assistance with Hyper-V – We can help you with it]
Conclusion
In short, we’ve discussed the causes of the error. Also, we saw how our Support Engineers fix this error by installing Hyper-V in a virtual machine.
Shortly, it worked! Thank you for providing a useful tutorial with only needed information and thank you for putting commands that we can copy and paste!
Thank you very much for this informative steps. It worked for me.
Thank you for the update.
it says The term ‘Install’ is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ Install -WindowsFeature RSAT-V-Tools -IncludeAllSubFeature
+ ~~~~~~~
+ CategoryInfo : ObjectNotFound: (Install:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Hi,
Our Experts can help you with the issue, we’ll be happy to talk to you on chat (click on the icon at right-bottom).
thanks guys everything work great !!
Hi Krimo,
Glad to know that our article helps you solves the issue ?
It worked on Windows Server 2012 Datacenter. Thank you so much!
Hello Peter,
We are glad to know that our article helps you solves the issue 🙂
worked perfectly. thanks alot
Hi Tetbis,
Thanks for the feedback. We are glad to know that our article was helpful for you 🙂 .