Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
325 views
in Technique[技术] by (71.8m points)

hyper v - Windows Phone emulator not starting (couldn`t setup the UDP port)

After updating Windows 10 to build 10061 windows phone emulators (all 8.1 and 10) stopped starting. I get the following error: "Windows Phone Emulator is unable to connect to the Windows Phone operating system. Couldn`t setup the UDP port"

I tried "reparing" emulators, but nothing changed.

error

Hyper-V manager shows that virtual machine works, and it can be started directly from Hyper-V manager. As i said, in previous windows 10 TP builds it was OK.

emulator works in background

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

The solutions above did not work for me. I found out that the issue was with the Hyper v adapters so I decided to deleted them which caused hyper -v to create them again.

These are the steps

  1. Run cmd as admin and enter the following commands

    set devmgr_show_nonpresent_devices=1

    start devmgmt.msc

  2. This will startup the device manager and show the list of hyper v network adapters

  3. Right click and uninstall all hyper v network adapters

  4. Open Hyper v manager and delete the virtual machines

  5. From Virtual Switch Manager (right side of hyper-v manager), delete all internal switches

  6. Restart the system and run visual studio and launch emulator

See this for more info http://www.gfi.com/blog/how-to-remove-hidden-network-adapters-from-virtual-machines/


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...