Can't connect hyper-v VM to via Virtual Switch - hyper-v

On my computer, I created a Hyper-V VM and virtual switch from the Microsoft documentation using all the defaults a few months ago, everything was fine, I could see the real computer in the Network list and connect to the Internet. I tried adding a second VM using the same virtual switch and now the original VM won't connect. I've removed the second VM, uninstalled and reinstalled Hyper-V, deleted all the VMs and virtual switches and started again, all with no luck.
The closest I've got to it working again is ticking "Enable virtual LAN identification for management operating systems" under the virtual switch which lets the VM see the real computer in the Network list, but the real computers network connection no longer works. I untick the box and the network connection comes back and the real computer is removed from the Network list.
When I uninstalled Hyper-V and reinstalled, the VM was in the list, so I don't know if there are some settings that don't get removed on uninstall, I ran CCleaner to try clearing it all out with no change.
Any ideas how to completely uninstall Hyper-V with all it's hidden settings and details or how to fix the virtual switch issues?

Related

How to run a discontinued videogame on a Windows XP virtual machine?

My friend and I have downloaded some discountinued videogames from Old Games Download - Retrogaming and Abandonware (which I warmly recommend to any CD-ROM aficionado!). We managed to run two of them after downloading them, mounting their .ISO file and installing them on a Windows 10 machine. The process was fairly smooth.
We are struggling to run the other two. They’re only compatible with Windows XP, so we created a virtual box with XP as the OS, but still no luck. We can’t get the virtual box to connect to Wi-Fi in any way, even after following several tutorials found online. We have tried mounting the games’s ISOs in the following ways:
Using Virtual Clone Drive
Using WinCDEmu
Using Win XP Virtual CD Control Panel
And we think we have managed to actually mount the ISO and install the programme on the virtual machine, but the game won’t start anyway. When we try to run it, this window opens:
Monsters & Co CDROM initial window, with title, play button, exit button
But when we click ‘play’ nothing happens. We have checked the “Insert Guest Addition CD Image” setting that triggers Autoplay and it seems to be up and running. What can we try next?
VirtualBox access internet by connecting to your real machine (the host machine) as if it was a router of some kind. There is no need to make the virtual machine (guest machine) use your wifi adapter directly to get internet connection, just add a virtual network adapter to your guest machine and VirtualBox takes care of everything else (but make sure you have checked the appropriated options during installation process so drivers are installed in your host machine).
Now, the game not launching is hard to say, as we don't have any message or other info about what is causing the falling. Yet, this is a 3D game and VirtualBox is not good enough to hand this kind of computation.

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.

Hyper-V kills internet connection when bridging

I am using Hyper-V for the first time (running Windows 8). When I create a new virtual network switch, external, it bridges the VMs network adapter with the WiFi - and that for some reason kills the WiFi's internet connection. Why, and what could I be doing wrong?
Thanks,
A.
If you have VirtualBoxinstalled, check if any of the Hyper-V virtual adapters/bridge connection has the VirtualBox Bridged Networking Driver ticked in the connection properties. If they do, simply untick this service where it is present and this should fix it up for you. No need to uninstall VirtualBox.
I had a static ip-address in my ethernet adapter.
Removed the static entry.
Made my external virtual switch.
Had the extra vEthernet adapter, made my static entries (ip-address, dns-server) in this adapter.
Everything is working fine now.
Chris
I had the same problem, it takes a couple of seconds to setup the connection again. Check this tutorial: https://superuser.com/questions/469806/windows-8-hyper-v-how-to-give-vm-internet-access
I just ran into the same problem, losing the internet connection when creating the virtual switch. Uninstalling VirtualBox which I had installed at the same time fixed the problem for me (just disabling the VBox adapters was not enough), so they seem to be unable to happily coexist.
I ran into the same problem recently when creating an external switch in Hyper-V. Long story short, every time an external switch was created, it would bring my ethernet connection down on my host laptop. I had wifi connection option also but disabled it to just strictly troubleshoot the ethernet network adapter.
I brought down the VM, once turned off, deleted the external network adapter from hyper V virtual switch manager. On the host machine, disabled and re-enabled the network adapter from within network connections (ethernet). Once connected, I brought the VM back online FIRST, then created the external switch second which connected with no issues. Verified I was able to access outside world aka internet on both host and VM.
Maybe you unchecked by accident the Allow management OS to share this network adapter setting that is enabled by default. Disabling this setting will leave your hypervisor OS without network connectivity.
I was able to fix such an issue by disabling Internet sharing on the wireless adapter, creating an Internal virtual switch in Hyper-V first, then disabling VMWare bridge on all involved interfaces, then I made a bridge in Network sharing center by selecting my internal switch and Wi-Fi adapter and after that I was able to select external network in Virtual switch manager in Hyper-V
I ran into the same problem too. I don't know for sure, but after trying all of the solutions above and any others I could find, I renamed my virtual switch to 'realtek' (the type of network card I have installed) instead of taking the default name that I think was 'new virtual switch'. Something else I did may have solved the problem (I modified everything I could find for two days), but I think renaming it is what finally gave me internet access to the vm.

WP8 emulator stopped working

Ok so I was working fine with the WP8 emulator but suddenly after going into Hyper-V manager it stopped working, didn't make any change and even deleted the virtual machine to be created again on debug but no luck
I have tried with the various emulator images but none of them seems to work anymore, event viewer shows no errors on Hyper-V.
What I have noticed is that the virtual machine starts in Hyper-V goes to Windows logo, then hangs for a few minutes in a black screen and turns off afterwards automatically, tried starting it without debuging, directly from hyper-v but nothing works, should I reinstall the SDK? seems to me this is not install related since it worked before
Thanks
Taken from the connect forums, I don't know if it will fix your problem:
I had issues with the emulator and tried several things, including the below solutions and on a few occasions couldn't figure out what the problem was so I restored a previous image since that was quick.
From Discussion "RTW - Can't debug - IP Address Issue"
Uninstall the SDK
Uninstall and reinstall the virtual switches using:
C:> netcfg –u vms_pp
C:> netcfg –c p –i vms_pp
Reboot
Reinstall the SDK
From Discussion "Emulator and wireless adapter issues"
Problem solved! Hyper-V uses same MAC address for guest VMs (virtual
machine) and Host. If the router configured to give the host always
same ip address it will conflict with the emulator. Solution - on the
router remove the host from known PCs and let it give you some new ip
address (not fixed). After you start the emulator it will get the
correct ip address from router. Router will show you two PCs (host and
vm) with the same MAC, but different ip addresses.
Remove the instances in Hyper-V, and then run XdeCleanup.

How do you enable the network on a virtual machine running Vista x64?

I'm running Server 2008 64bit with Hyper-V. I've created a virtual machine with Vista 64bit and installed it. I can't get the Vista virtual machine to see the network adapter.
I've set-up an external network on the Virtual Network Manager (Hyper-V) and associated that with the virtual machine (Vista). I've also tried using a Legacy Network Adapter but that didn't work either although that time the Vista machine saw the network card but couldn't connect through it.
This is (obviously) the first time I've tried to set-up a virtual machine.
Any ideas?
EDIT: I notice that this question has been voted down a couple of times. I know that it's not a programming question but I'm a developer setting up a virtual machine to test my C#/ASP.NET code on and thought that other developers may hit this problem as well when they're doing this...
I don't know Hyper-V, but I know in VMWare you can create a network connection in Bridged mode (meaning the VM will get it's own IP address via DHCP if that's enabled) or host-only mode (meaning the VM can only communicate with the host). When Vista could see the card, could it communicate with the host machine (which would indicate a host-only connection was specified)? What kind of IP address did it have (I would guess Hyper-V has a built-in DHCP server like VMWare does?) -- that might give additional clues.
Sorry I don't know Hyper-V better...
Make sure you have the Hyper-V Tools installed on the Guest VM. You shouldn't need the legacy adapter.
You also may want to make sure you have all of the latest updates which may have addressed your issue. Particularly, KB950050
http://support.microsoft.com/kb/950050
It turns out that Vista x64 running as a VM through Hyper-V doesn't support the virtual network connection/card and that you have to set it up as a legacy network card. When I eventually got the config settings correct for the legacy network and disable the virtual network it connected.
Thanks for the help guys - much appreciated!