How to enable Hyper-V role in VMware VM (nested Hyper-V)

When trying to enable Hyper-V role in your Windows 2012R2 recently installed into VMware VM you may get this:

Don't worry! There is workaround. Switch off your VM and browse the folder (on the VMware datastore, you may have SAN etc, does not matter), just find out .vmx file that is responsible for your VM configuration and do the following change at the end (actually just add these two lines):

vhv.enable = “TRUE”
hypervisor.cpuid.v0 = “FALSE”

In short, this is about:
#nested hyper-v

Start discussion:
Related articles:
This virtual machine appears to be in use, quick resolution. ... more
over 3 years#vmware