When you try to install Hyper-V role in a VM running Windows Server 2012 R2 over VMWARE you will have this error.
To solve it :
- You need to turn off your VM Windows Server 2012 R2
- Browse DataStore and download file *.vmx from your VM Windows Server 2012 R2
- Edit the file with notepad and add the next lines
hypervisor.cpuid.v0 = "FALSE"
mce.enable = "TRUE"
vhv.enable = "TRUE"
The first line solve the previous error and all other lines, solve this error:
Now, you need to modify line guestOS = "ServerOSname" to guestOS = "winhyperv"
Once modified the file, upload it to the same MV and edit settings to change processor type:
Change to Automatic to Intel VT-x/AMD-V ...
Clic ok and run VM and try install hyper-V role.
I hope to help you.