I was trying out Server 2012, and wanted to test a Hyper-V live migration, but didn’t have the resources to stand up 2 physical machines.
I had already installed VMware Workstation 9, configured 2 guest VMs with Server 2012, and wanted to Install Hyper-V within the guests.
When I tried to install the Hyper-V role, the following error occurred:
“Hyper-V cannot be installed: A hypervisor is already running.”
Shut the virtual machine down. Backup the .vmx file, then open it with a text editor and add the following lines at the end:
hypervisor.cpuid.v0 = "FALSE"
mce.enable = "TRUE"
Save the .vmx file.
If you attempt install the Hyper-V role now, it will fail with the following error:
“Hyper-V cannot be installed: The processor does not have required virtualization capabilities."
Edit the settings of the VM in VMware and make the following change:
In Processors, tick the “Virtualize Intel VT-x/EPT or AMD-V/RVI and click OK.
Start the VM and install the Hyper-V role