Add Hyper-V Role on Windows Server 2012 under VMware Workstation 9
Olla! Today I decided to do my tests on Windows Server 2012 and I won’t say anything about it till I am completely done but I came across something that should be pretty handy to anyone who seeks this post :-).
If you’re trying to add the Hyper-V role to your Windows Server 2012 while hosted as a VM under VMware Workstation 8/9 you will need to do the following:
- Shutdown the VM and close it from the VMs tab.
- Locate the path to the VMX configuration file.
- Open the VMX file and add this line at the end of it (
hypervisor.cpuid.v0 = "FALSE
“) without quotes this will get you past the (Hyper-V cannot be installed: A hypervisor is already running.) error message. - Now another entry needs to be added (mce.enable = “TRUE”) other wise you will end up with a HAL_Memory_Allocation upon start-up.
- Save the VMX file and power on your VM.
Now use the above at your own risk, please take a look at this post http://www.virtuallyghetto.com/2010/10/1200-undocumented-vmx-parameters.html for more information about the hidden good stuff.
Abdullah^2
Thank you for the info!
I also had to use (vhv.enable = “TRUE”) to get VT to pass through. (Using Fusion on a MAC)
Wonderful!!!! You saved the day.
Thank you, thank you, thank you!!!!!
Glad to know I was able to help :).
Thanks Abdullah for this nice tips,
i tried it with windows server 2012 R2 but i could not get the virtual machine to work i got error message “Dictionary problem.”
Hello, can you please check the VMX file for double entries? You might have a repeated configuration parameter somewhere.
The information is extremely helpful for setting up a test lab!! Worked like a charm for me. Thank you very much.
Glad it helped :).
Tôi đã làm giống như bạn hướng dẫn nhưng vẫn không được,tôi đã tìm tập tin.vmx nhưng không tìm thấy nó ở đâu.Mong các bạn có thể giúp dùm tôi.Cảm ơn
Hello,
Can you please tell exactly what you’re doing? You can find the VMX file in the same directory where you have created the virtual machine in.
Its worked..save my day.. :)
Glad I was able to help :-).
I have tried this fix and keep getting the following error:
“Error while opening the virtual Machine: A file access error occurred on the host or guest operating system”. Any ideas as to why this might be the case? Could I have copied this incorrectly?
Hello,
You’re getting this while starting up the virtual machine on VMware Workstation?