If you ever tried to install Windows Server 2012/R2 on VMWare Workstation, and enable the Hyper-V role, you would have probably encountered the following error:
Hyper-V cannot be installed: A hypervisor is already running
The trick to allowing this Hyper-V on VMware is in two settings:
- Ensure that you are supporting hypervisor in your VMWare processor settings. Select Processors and under the Virtualization Engine section, check “Virtualize Intel VT-x/EPT or AMD-V/RVI” and “Virtualize CPU performance counters”
- Edit your .vmx file to include the following options:
hypervisor.cpuid.v0 = "FALSE" mce.enable = "TRUE" vhv.enable = "TRUE"
This is a partial screenshot of my .vmx file:
When done, restart your VM. You should now be able to add the Hyper-V role to your Windows Server 2012/R2 in your VMWare :)000