5

I am new to Windows Phone 8 application development. I installed SDK 8.0. When I run my application, it shows an error telling me to enable Hyper-V. While searching, I found this MSDN documentation with a solution in the BIOS. But when go to my BIOS settings, then there are no such options available .

Any suggestions?

Keeler
  • 2,102
  • 14
  • 20
Amit Kumar
  • 5,888
  • 11
  • 47
  • 85
  • I added step 2, which is important! Sorry I forgot to mention it at first. – Keeler Jan 12 '14 at 14:58
  • sir in that features tab , no hyper-v checkbox. https://drive.google.com/file/d/0B4BFBh3OR4u0TDJxVlpybUgzZ3M/edit?usp=sharing see the snapshot. – Amit Kumar Jan 12 '14 at 15:10
  • Edited my answer, but I should ask: are you running Windows 8 Pro or Windows 8 Enterprise? Hyper-V does not ship with basic Windows 8. – Keeler Jan 12 '14 at 15:14
  • thanks a lot . i have to install window 8.1. i'll be thank full to you – Amit Kumar Jan 12 '14 at 16:10
  • Please mark as the answer when/if you verify that this enables Hyper-V. I've done this 2-3 times at work, so my instructions should help. – Keeler Jan 12 '14 at 16:14
  • will the window 8.1 preview set up will solve my problem ? – Amit Kumar Jan 13 '14 at 17:57
  • Only if you install Windows 8.1 Pro or Windows 8.1 Enterprise. Basic/vanilla Windows 8.1 does not come with the Hyper-V feature. – Keeler Jan 13 '14 at 19:10

2 Answers2

12

Step 1: Enable Virtualization in BIOS

You need to enable Virtualization Technology (VTx) under the System Security option in the Security tab of your BIOS management menu.

The option may not be called Virtualization Technology or have the term VTx or VT-x in it. It may be called Hardware Virtualization or Virtualization, etc. Also, the option may not be under the Security tab. Since virtualization is hardware-dependent and BIOS interfaces can differ wildly, you may have to do some digging.

Step 2: Enable Hyper-V

You will also need to turn the Hyper-V feature on (it's not enabled in Windows 8 by default).

From Programs and Features Menu:

  1. Go to: Control Panel >> Programs and Features >> click “Turn Windows features on or off” (should be on the left panel).
  2. Check the “Hyper-V” checkbox in that list, then click OK.
  3. Wait for the installation to finish, then reboot.

OR

In Powershell

Enable-WindowsOptionalFeature –FeatureName Microsoft-Hyper-V -All

You should then be able to use Hyper-V.

See this step by step guide for screenshots.

Notes

  1. You must be running Windows 8 Pro or Windows 8 Enterprise. Hyper-V is not available in basic Windows 8. Same applies to Windows 8.1.
  2. Your CPU may not support VTx. Use CPU-Z to find out. Run CPU-Z, then click the 'CPU' tab at the top. There should be a label called Instructions on the left, about halfway down the window. If you do not see VT-x listed there, your CPU doesn't support it, and you're out of luck, I'm afraid.
Keeler
  • 2,102
  • 14
  • 20
  • but there is only virtualization not virtualization technology (vtx) – Amit Kumar Jan 12 '14 at 13:19
  • @AmitKumar Does you CPU support VTx? See above. – Keeler Jan 12 '14 at 13:36
  • yes , there is vt-x tab. but still can not find virtualzation technology in bios settings. i have snapshot of bios settings. but unable to post the images here – Amit Kumar Jan 12 '14 at 13:52
  • sir unable to post image here . can i have your email id please . i need help sir . – Amit Kumar Jan 12 '14 at 13:58
  • https://drive.google.com/file/d/0B4BFBh3OR4u0Y1N6VkNtZjRyRnc/edit?usp=sharing https://drive.google.com/file/d/0B4BFBh3OR4u0NFRUS1lmUW9jUXM/edit?usp=sharing https://drive.google.com/file/d/0B4BFBh3OR4u0WllSTjBfWjlxaWM/edit?usp=sharing sir these are the snapshot . please check it – Amit Kumar Jan 12 '14 at 14:10
  • Read my answer carefully: it's under the `Security` tab, which is to the right of the `Advanced` tab from your screenshot. – Keeler Jan 12 '14 at 14:12
  • sir i have sent you the security tab too . but there is no option of System Security in bios setting => security tab. please check all 3 images . – Amit Kumar Jan 12 '14 at 14:27
1

For those who haven't found a solution for this, I cracked my head around it for a couple of days since my BIOS doesn't have the option to enable it. I found out that you must run the intel hardware execution manager as an administrator and if you have Avast antivirus go to settings/troubleshooting/ and disable (uncheck) hardware assited virtualization. Apparently the option is already enabled in BIOS. Hope this works for you.

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129