S h o r t S t o r i e s

// Tales from software development

Archive for August 2013

Microsoft Virtual Server 2005 – Network adapter is unplugged

leave a comment »

One of the server VMs that we use for development wasn’t showing up on the network when I started it today. When I used the Virtual Server Remote Control to logon to it, I saw that the network adapter was showing up as ‘unplugged’.

This server has been used on and off for the past 4 years so it was odd that it was suddenly having network adapter problems although I vaguely remembered that the .vmc and .vhd files had been moved a few months back.

First, I checked that the Network Service account that the service runs under had full control permissions on the folder where the .vmc and .vhd files were. It didn’t, so I added these and then restarted the VM. There was an improvement – the network adapter was now showing up as ‘limited connectivity’ rather than ‘unplugged’. The problem was it wouldn’t acquire a DHCP address lease and setting an IP address manually didn’t get it on the network either.

I checked the “C:\Documents and Settings\All Users\Documents\Shared Virtual Networks” folder where the virtual network configurations are stored and found that this and the files in it also didn’t have full control permissions for the Network Service account. I added these permissions, shutdown the VM, restarted the Virtual Server service, then started the VM and it successfully connected to the virtual network.

So, the account that the Virtual Server service runs under needs to have the correct permissions on the both the VM files and the Shared Virtual Networks folder and files for the virtual network adapter to work successfully.


Written by Sea Monkey

August 16, 2013 at 7:00 pm

Posted in Environments

Tagged with