Installing hyper-v inside a vm on Windows Server 2012

less than 1 minute read

 

For a test setup I needed to install a Hyperv inside a vm running Windows server 2012. I did some googling and found the following post http://www.aidanfinn.com/?p=10175 from Aidan saying that its possible on Win 2008.

So I wanted to give it a try but it failed saying that a Hypervisor was already running

 

image

Apparently in Windows 2012 Microsoft wont let you install the Hyper-V role inside a VM. Bummer!

So I gave it another try using Powershell and hoping to bypass the validation check by using the following command: “Install-WindowsFeature –Name Hyper-V -ComputerName hyperv01-IncludeManagementTools –Restart” but it failed as well, with same error!

The only solution was to ping my good friend Mike Resseler who told me to try the following powershell command:

“DISM /Online /Enable-Feature /FeatureName:Microsoft-Hyper-V” which let me install Hyperv just fine!

image

and the following will enable the Hyperv Management console: “DISM /Online /Enable-Feature /FeatureName:Microsoft-Hyper-V-Management-Clients

Thanks,

Alex

Leave a comment