Link to home
Start Free TrialLog in
Avatar of TownTalk
TownTalkFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Install network adapter on Hyper-V VM

I am running Win 10 tech preview on a new pc. I'm trying to get Hyper-V working with some VM's i've imported from my previous pc. I got a Win XP vm working a few months ago, and now i'm trying to get a Server 2008 vm working.

My problem is that whereas the XP vm connects to the internet perfectly via my virtual network adapter, the Server 2008 vm does not. When I go into Manage Network Connections, the page is blank. Do I have to install a driver on the vm so that it can see the virtual network adapter?
Avatar of Kash
Kash
Flag of United Kingdom of Great Britain and Northern Ireland image

first things first.
1 - make sure you have attached a virtual NIC to the VM
2 - if you have and its not appearing, shutdown down the VM. detach. and start as it is without a NIC
3. once in the VM, go to command prompt and type following set devmgr_show_nonpresent_devices=1
4. open device manager and show hidden devices
5. delete hidden NICs
6. restart the VM with virtual NIC attached.
7. also install Integration services
8. this should bring the NIC into VM
Avatar of TownTalk

ASKER

Hi, thanks for the reply.

Yes I had got a virtual NIC attached to the VM. It was connected in exactly the same way as the one in my XP vm was. And the XP vm sees the network just fine.

I removed the virtual NIC and followed your istructions. There were no hidden NIC's in Device Manage. I re-attached the virtual NIC and still nothing appeared. I will say though that there is an item of unknown hardware that it wants a driver for. But I get the 'unknown hardware' message whether or not the virtual NIC is attached. So this might be a red herring.

The wierd thing for me is that in the Action Menu I do not see the option to install Integration Services, although in the vm settings, all services are offered. So i'm thinking this may be relevent.
ASKER CERTIFIED SOLUTION
Avatar of rindi
rindi
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I just checked, the vm is Server 2008 sp1. Which I suppose is good news, because without an internet connection I can't install any updates.

Another problem is looming for me.... Server 2008 in the vm has decided that it needs to reactivate because of  a hardware change. Today is the last day it will allow me access to the desktop. If I don't get this virtual NIC fixed today I will be shut out completely.

So getting back to the original problem... Hyper-V has a Virtual Switch which works in my XP vm, but Server 2008 cannot see any networking hardware. Am I going to be able to fix this?
I'll mention also that I have to Ctrl-Alt-LeftClick to escape from the vm. So i'm thinking that no extensions are installed.
Don't know why I didn't try this earlier.....

I installed a Legacy network Adapter and that works! So i've managed to re-activate windows and now it's busy downloading updates.

Does this give you any clue how I can get the original Network adapter working?
If you imported your guests I'd remove all drivers via the driver manager and then let the OS find them again.
Yes my guests were imported from an XP machine running MS Virtual Server.

I'm not sure what this 'Driver Manager' is that you refer to. Is that in the host or the guest?
It's just the device manager of your guest OS (sorry for the typo, "driver manager").
As I said previously, the standard (non legacy) Virtual NIC is not listed. So there is no driver to remove. But when I browsed around in Device Manager I found something that might be the cause of this..... Under System Devices there is a device called VMBus. It has a yellow triangle against it. When I look at the device status, it says "This device is disabled because the firmware of the device did not give it the required resources. I uninstalled it and it got re-detected and installed with the same status. Is this relevent to my problem?
I don't mean to only remove the NIC driver, but rather the others as well. As the OS was imported most of the drivers will probably not be correct, and that can cause all sorts of issues.
Install/upgrade integration services on VM.
@magnojkumar Rane: There is no option to do this on modern operating systems. Integration services is built into the operatating system and awakens when a vm host is detected.
Yes, you are right. But the integration services versions are different in different Hyper-V versions. Just insert the Integration services disk and check if integration services version is updated or not.

Ref : http://www.veeam.com/kb1855 for Hyper-V IntegrationServicesVersion.
@magnojkumar Rane:

" Just insert the Integration services disk"

I was not aware that there is an integrration services disk for a server 2008 client. My understanding is that integration services are part of the standard OS and do not need to be installed . If there is such a disk, where can I get it?
Follow below steps :
To install or upgrade integration services

1. Open Hyper-V Manager. From the Server Manager Tools menu, click Hyper-V Manager.
2. Connect to the virtual machine. From the Virtual Machines section of the results pane, using one of the following methods:
- Right-click the name of the virtual machine and click Connect.
- Select the name of the virtual machine. In the Action pane, click Connect.
The Virtual Machine Connection tool opens.

3. From the Action menu of Virtual Machine Connection, click Insert Integration Services Setup Disk. This action loads the setup disk in the virtual DVD drive.
4. Depending on the operating system being installed, you may need to start the installation manually. Click anywhere in the guest operating system window and navigate to the CD drive. Use the method that is appropriate for the guest operating system to start the installation package from the CD drive.
5. After the installation finishes, all integration services are available for use. In some cases, it may be necessary to restart the guest operating system to complete the installation.

Ref :  https://technet.microsoft.com/en-us/library/ee941103(v=ws.10).aspx

https://technet.microsoft.com/en-in/library/hh846766.aspx
Thank you for this. I will try it when I get home later....
So this is my problem.... The Action Menu for my vm connection doesn't have the option to insert the Integration Services DiskUser generated image
It turns out that this functionality has been removed, and that updates to Integration services are now delivered via Windows Update. So, i'm no closer.
One thing to make sure of is check the settings of the VM. Under "Management" you should have "integration Services". There you can make sure they are all offered to the VM (particularly the "Guest services").
Yes. All integration services have been offered right from the start.
I never did actually fix this. The solution was to create a new VM and do a clean install of Server 2008. I accepted one of your answers in order to close the thread. Thanks for your input.