I have a similar problem like mentioned in this question:
Unable to create the virtual machine
But, my problem is a bit different in the error description:
The Windows Phone Emulator wasn't able to create the virtual machine: Something happened while creating a switch: Xde couldn't find an IPv4 address for the host machine.
I have SLAT compatible hardware, virtualization is enabled in BIOS, my Windows 8 installation is 64bit and it's not virtualized. Hyper-V is installed (tried reinstalling it, but it didn't help). EDIT: VirtualBox or any other virtualization software (except for Hyper-V) is not installed
EDIT2: Seem to have been some other networking software which was installed. Having to remove it sucks big time because I need it professionally. I hope they fix it.
EDIT3: I wrote about it in more details with all I could find on my blog.
I have found the solution for this stupid error. I had working on this issue almost 1 month.
I just did 2 things recently and I emulator did create virtual machine in Hyper-V as well as deployed my application into Emulator.
I hope this would work.
Thanks.
Some of the answers here were helpful and by testing the trial-and-error method, I found solution that worked for me. Note: I have Cisco VPN client installed on Windows 8 64-bit. I did not want to remove Cisco client.
For what it's worth, my problems have seem to go away after I turned off "Deterministic Network Enhancer" on all the vEthernet adapters like this:
I got inspired to try this following the documentation online from Microsoft here. See the section titled "To reconfigure the Hyper-V virtual adapter used by the emulator".
Hope this one sticks. This has been a tiring process trying to keep up with what works and not with this "new and enhanced" emulator.
This worked for me. Go to Windows 8 start screen. Scroll right and see HyperV tile.
Go into Hyper V. Go into the Virtual Switch Manager. Create a virtual switch called "Windows Phone Emulator Internal Switch" Make it's connection type Internal.
Now launch the emulator. It should work.
Had the same error message. After removing VirtualBox, everything works fine
If this problem happens on Windows 10, there's an easy fix... navigate to:
This cleans up all of the virtual network adapters so they can be recreated by the emulator. Once you reboot, delete the emulator and then recreate it and it should create the necessary network adapters in such a way that it will work.
DISCLAIMER: This technique worked for me using Visual Studio Emulator for Android on a Windows 10 machine. I understand it's not Windows 8 and it's not a Windows Phone emulator, but the underlying issue is the same so if anyone lands here and has Windows 10, you may want to try this.