VM on VM: Enable Hyper-V role on Windows Server 2012 inside VMWare

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:

  1. 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”

enable vm in settings

  1. 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:

vmx to enable hyperv

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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s