How to enable Hyper-V on a VMware Workstation

When faced with this error when installing the Hyper-V role on a VM machine, follow these steps.

Capture

Method 1:
Step1: Select the hardware tab on VM and select processors option on the left pane.

From the drop-down list under virtualization select the prefared mode  eas Intel VT-x/EPT or AMD-V/RVI option.

Check the Virtualize Intel VT-x/EPT or AMD-V/RVI checkbox as well.

Step 2: Exit the VMware Workstation application and locate the VMware folder using the windows explorer, locate the corresponding .VMX file of the virtual machine and add hypervisor.cpuid.v0 = “FALSE” perparameter at the end of the file and save. See useful link: http://bit.ly/2FmZU0A

Method 2:
Step 1: From the command prompt, type the following command to enable Hyper-V on your computer.
Launch the command prompt as an administrator and type the following commands, Note: This command does not enable Hyper-V as a hypervisor and reboot.

c:/>hypervisor.cpuid.v0 = "FALSE"
c:/>mce.enable = "TRUE"
c:/>vhc.enable = "TRUE"

Note: to enable this command again via command prompt simply this command as an administrator

c:/>bcdedit /set hypervisorlaunchtype auto