Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Phone Emulator error, Hyper-V components not running, Windows 8.1 hosted in Windows Azure

Environment:

Windows 8.1 Enterprise 64-bit hosted in Windows Azure
Visual Studio Ultimate 2013 (Update 2)

I get the following error when trying to run a very simple phone app. I know MS says a VM-within-a-VM environment isn't supported, but I know it can work. Has anyone had success with this? Any help is greatly appreciated.

Windows Phone Emulator

The Windows Phone Emulator wasn't able to ensure the virtual machine was running:

Something happened while starting a virtual machine: 'Emulator WVGA 512 MB.' failed to start.
(Virtual machine ID CADD6546-129A-4683-9A2D-52EAE777E888)

The Virtual Machine Management Service failed to start the virtual machine 'Emulator WVGA 512 MB.'
because one of the Hyper-V components is not running
(Virtual machine ID CADD6546-129A-4683-9A2D-52EAE777E888).

Prior to seeing the error, the emulator emits the on-screen messages:

Loading ... 

The Windows Phone OS is starting ...

And then the error. Of all the Hyper-V services available, the Hyper-V Virtual Machine Management service is the only one which is running.

Thanks,

Chris

like image 724
cni Avatar asked May 21 '14 21:05

cni


1 Answers

I had the same issue with Visual Studio running on windows 8.1 in vmware player What I had to do to solve the problem was this :

Tick the box "Virtualize Intel VT-x/EPT or AMD-V/RVI" in the processor settings of your VM

Add the line "hypervisor.cpuid.v0 = FALSE" in the file "Windows 8 x64.vmx" (add it between line 5 and 6. Not sure this matters, but at this line I'm sure it works)

Should be working fine

like image 184
DevBob Avatar answered Oct 02 '22 14:10

DevBob