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:

  1. Shutdown the VM and close it from the VMs tab.
  2. Locate the path to the VMX configuration file.
  3. 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.
  4. Now another entry needs to be added (mce.enable = “TRUE”) other wise you will end up with a HAL_Memory_Allocation upon start-up.
  5. 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

14992 Total Views 5 Views Today

Abdullah

Knowledge is limitless.

13 Responses

  1. Jason White says:

    Thank you for the info!

    I also had to use (vhv.enable = “TRUE”) to get VT to pass through. (Using Fusion on a MAC)

  2. PM says:

    Wonderful!!!! You saved the day.

    Thank you, thank you, thank you!!!!!

  3. Mahmoud says:

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

  4. Barry says:

    The information is extremely helpful for setting up a test lab!! Worked like a charm for me. Thank you very much.

  5. Mr.Huy says:

    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

    • doOdzZZ says:

      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.

  6. Kiran Barhate says:

    Its worked..save my day.. :)

  7. Ty says:

    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?

Leave a Reply

Your email address will not be published. Required fields are marked *