Wednesday, July 9, 2014

Hypervisor: "Hyper-V cannot be installed: The hypervisor is already running." --By Babak Hoseini

Another great posting by my friend Babak Hoseini below.  Thank you for contributing Babak.  ~~Shane Killen

There is a module in Windows 2008 and 2012 that called hypervisor. The hypervisor is responsible for abstracting the computer’s hardware and creating multiple virtualized hardware environments, called VMs (Virtual Machine). You can install and run an operating system on each VM and each VM has its own hardware configuration. If you want to install Hyper-V on virtual environments such as VMware Workstation, the following message appears preventing you from continuing the process: Hyper-V cannot be installed: The hypervisor is already running.


It’s important to know that Hyper-V doesn’t work fine on virtual environments such as VMware Workstation. I recommend you to install Windows 2008 or 2012 on a physical server then add Hyper-V role.
There is a solution for fixing this problem that isn’t a good idea because it’s not supported by Microsoft, but it‘s appropriate for learning Hyper-V.
Open Power Shell and type this command:
Enable-WindowsOptionalFeature –Online -FeatureName Microsoft-Hyper-V –All –NoRestart
Do not restart server and run the following command:

Install-WindowsFeature RSAT-Hyper-V-Tools –IncludeAllSubFeature

If you want to install Cluster Service, run::
Install-WindowsFeature RSAT-Clustering -IncludeAllSubFeature

Installing Multipath I/O is optional. If you want to install it, run the following command:
Install-WindowsFeature Multipath-IO

Then restart the server. Now you can open Hyper-V console from Server Manager Console.
In the next post that I present, I will write about how to install Hyper-V on a physical server on GUI interface and creating VMs.
To be continued…

No comments:

Post a Comment

Your comment will be reviewed for approval. Thank you for submitting your comments.