the windows phone emulator wasn't able to create the virtual machine - windows-phone

I just installed it on my windows 8. It's NOT running on a VM but is running at a macbook with bootcamp.
When I try to emulate my app, I get this first error:
But then I click "Retry" and give the permission, so it runs normally.
But then, when the windows phone window appears, I get a "loading" screen and then this error appears:
Just for better tagging the post I will write the error: "something happened while creating a switch: Xde couldn't find an IPv4 adress for the host machine"

You must enable virtualization in BIOS and go to Control Panel->Programs->Turn Windows features on or off and choose Hyper-V.

I had this problem.
1- Open the Control Panel.
2- Then programs.
3- Turn Windows features on or off.
4- Further selection for hyper-v.
5- Restart the computer.
6- Repeat the previous steps but put the selection on hyper-v.
7- Restart the computer.
Enjoy ^_^

Not sure if you got to the solution, but I just had the same situation. It turns out that older VPN clients may have compatibility problems with Windows 8. I solved the issue by uninstalling VPN client (and also making sure Hyper-V was enabled).

Related

Network card error while creating Solars 11 VM on hyper-v

I am trying to create Solaris 11 VM on hyper-v.
While installing Solaris I get following message:
No Network interface found , addition driver may be needed.
When installation is done , My IP is not configured in machine.
I found one link where same problem is mention but solution is not clear to me.
https://community.oracle.com/tech/apps-infra/discussion/4282130/solaris-11-4-installation-in-hyper-v
Any help is much appreciated.Thanks
You will need to open up VMWare Workstation, or your VMware app, Go to Settings for your VM, and look for "Network Adapter".
The default is NAT. If that doesn't work, try bridged, or cycle through the options to see if any are supported.
If that doesn't work, you may need to add a new network device. In that case, you will need to do this:
Select Window > Virtual Machine Library.
Select a virtual machine in the Virtual Machine Library window and click Settings.
Click Add Device.
Click Network Adapter.
Click Add.

When trying to install OS in Hyper-V, it ignores boot order and goes to "Start PXE over IPv4" instantly

I'm trying to create a VM from an .iso file on my computer. In my boot order settings, the DVD Drive with as value the .iso is at the top. I've tried several different VM's (Ubuntu18.04, Windows 10 and Windows Server 2016) all of which give me the same problem where they don't boot from the .iso file. Pressing any key doesn't do anything.
I followed tutorials from both my lecturers and articles online when creating the VM's.
I am clueless as to what I'm doing wrong, so any help is appreciated
Black "Start PXE over IPv4 screen
Error message when trying Windows 10 after the black "Start PXE over IPv4" screen
Error message when trying Ubuntu after the black "Start PXE over IPv4" screen
Try disabling Secure boot in the "Security" section of the settings.
I had the same problem with a gen2 Linux vm (running in Hyper-V Manager 10.0.17763.1). Turning off "Enable Secure Boot" allowed booting from an .iso.
I think in some other versions of Hyper-V Manager the setting is under "Firmware"
Just go into VM Settings / Firmware and change the boot order by moving the VHDX image to the top.
Changing to Generation 2 VM is not necessary.
This occurred when I was trying to boot from a Win 10 ISO. After the "Press any key to Boot from DVD..." message displays, it jumps almost immediately to trying to boot from the network (PXE over IPv4). The solution for me was to select 'Reset' from the Hyper-V menu and then immediately start hitting a key before the message showed up.
Worked for me:
Create a new VM.
A "New Virtual Machine Wizard" will start.
During step 3 - "Specify Generation", choose "Generation 1"
When using Windows10 - moving the VHDX to the top Boot order was the solution in my case.
When using Linux - Changing secure boot to use "Microsoft UEFI Certificate Authority" was the solution. I tested CentOS_Stream & Mint - same problem, same solution.
I left enabled "Enable Secure Boot" flag, but selected a different template: from "Microsoft Windows" to "Microsoft UEFI certificate Authority" for my Centos 7 distribution hosted by Windows 10.
This tells the UEFI is needed for Linux installation.
The only solution in my case was to re-create the VM in Generation 1. Changing the boor order or disabling Secure Boot did not resolved the issue at all.
It seems "Quick Create" creates VM in Generation 2 by default. You have to Go with "New" instead of "Quick Create" to choose Generation 1.
In my case I left disabled the "Enable Secure Boot" flag and it worked pretty
Copying a vhdx image from a Windows Server 2012 R2 Hyper-V environment to Windows 10 Hyper-V, I had to create a Generation 1 VM. Generation 2 did NOT work. It booted without the PXE over IPV4 error then.

Universal Windows 10 Emulator not starting up OS

The Windows phone emulator running Windows 10 has been working since I've installed it and last time I used the emulator was a few days ago. Now for some reason when I load my application emulator does not load the OS.
here's the steps I go throuogh to run the app :
-Run "Mobile Emulator 10.0.10586.0 720p 5 inch 1GB (which is my usual emulator to run)"
Message box saying "Configuring Windows Phone for debugging ... "
Another message box appears saying "Click "Retry" to run the emulator in elevated mode. :
You do not have permission to modify internal Hyper-V network adapter settings, which are required to run the emulator
Click retry on the message box
"Are you sure you want to run Windows Phone Packages?" Click Yes
Configuring Windows Phone for debugging box still running
Phone emulator runs but stuck on "OS is starting..."
Message box appears after leaving it running for roughly 15 mins :
"The emulator is unable to connect t the device operation system :
Couldn't set up the UDP port. Some Functionality might be disabled.
will add this to the steps"
I've followed the instructions from forums to go to Hyper-V Manager and delete the virtual switches and virtual machines - which doesn't work. And I also have Hyper-V enabled on windows features.
Any other solutions would be appreciated, Thanks in advance!
UPDATE : so I've left it running just to see if it works eventually, now another message box appears saying :
The emulator is unable to connect to the device operation system : Couldn't set up the UDP port. Some functionality might be disabled.
UPDATE : So I managed to fix it .. a little. It works for the other apps I have as well as newly created universal windows projects. But this specific app doesn't . I notice that this specific one has the "Configuring Windows Phone for debugging" message pop up whereas the other ones don't.
Why not start fresh?
New OS, new install, everything from scratch.
And don't forget to not play with UAC, OS permissions, the firewall, and do not install anything which would install virtual network adapters. Like OpenVPN, USB modems (including an iPhone), etc.
This is a solution, because your problem could be anything.

VMNET0 is missing from virtual network editor of vmware workstation 10

I have installed VMware-workstation-full-10.0.3-1895310 on windows 8.1. Although VMware brige protocol is enabled in my LAN adapter but still I am unable to add and switch VMNET0 to bridged mode.
It says "Cannot change network to bridged: There are no unbridged host network adapters"
So far I have tried the following things:
I have reinstalled it many times
I have restore default settings of virtual network editor
Have also checked that Vmware bridge protocol is enabled
Have checked that whether vmnetbridge service is running or not
have done almost everything present on forums
I had this same problem also. I also run Kaspersky AV, and tried bigapple99's suggestion and unticked Kaspersky Antivirus NDIS 6 filter. This made the NIC show up in the editor, but didn't fix the problem. I noticed I was running the editor as Administrator when it was showing up, so I tried running VMWare Workstation as Administrator too. It worked! I tried reticking the Kaspersky filter, and reopening VMWare Workstation as Administrator, and it still works :) Best of both works, I'll just Run as Administartor now.
I had the same problem after upgrading windows 10. "Repair" VMware workstation version fixed the problem. I'm using VMware Workstation 11.1.3.
It's wired in network editor the "Bridged To" showing nothing in the drop down list (at least it should show "Automatic"). Can you try to untick the Kaspersky Antivirus NDIS 6 filter in LAN property to see whether your NIC will show up in the editor?
I had the same problem today and I thought I'd come back to you since no one answered your post yet.
My problem was coming from Kaspersky AV.
Remove VMWare
Remove Kaspersky AV
Re-Install VMWare
Re-Install Kaspersky
Hope it'll be of some help.
Best,
Alex

no internet on windows phone 8 emulator

I have installed windows phone 8 SDK and tried running a simple app which embeds a WebBrowser on a page. When I try to run the app in emulator the emulator does not get internet connection. It displays an error message saying "You don't have permission to modify internal Hyper-V network adapter settings required to run the emulator". Im sure my login has admin permissions. My machine is 64bit, hyper v is enabled and Hyper v manager is running, hardware virtualization is enabled in the BIOS settings, DHCP is enabled and its connected to a wired network. I have checked all the system requirements. What ever I do it keeps on giving the same error message. I setup everything in a different machine and tried running the app in that machine. The same error message is displayed in the that machine also. Can anyone tell me how to get it working.
DHCP is enabled and its connected to a wired network
Can you run ipconfig /all on your host machine and post it here please?
seems you have problem with your DHCP or maybe multiple DHCP and conflict.
You need to add your user account as a member of the "Hyper-V Administrators" group on the machine.
Detailed steps:
Hit Windows key + Q and search for "local users and groups". Change the search scope to "Settings". Click "Edit local users and groups".
Expand the "Groups" section. Right-click on "Hyper-V Administrators" and select "Add to group".
Add your user account.
Some connection tools on the host can have negative effects when used with the emulator; I found having cisco VPN client installed on the host prevented the emulator from finding the internet. Other VPN clients may have similar side-effects. I simply uninstalled cisco (the inbuilt windows VPN is fine for what I need) and it worked perfectly.
I've also seen problems where it won't find the internet after the host has been suspended / resumed. In that scenario, it turned out to be bad network drivers. I installed a dedicated Intel NIC (rather than the on-board NIC on the motherboard) - problem solved.
Basically, Hyper-V is a bit fussy.
try refreshing the hyper-v by unchecking and then checking it again,this worked for me.
Steps:
1.control panel>>programs>>Programs and features>>turn windows features on and off>>hyper-v
2.uncheck it and restart the pc.
3.again go to control panel an check hyper-v and restart the pc again.
the try to run the emulator,should work..
another possible reason is that you did not start vs2013 as admin