Todd Baginski's Blog - A SharePoint, Mobile, Office365, PowerApps and Azure Blog

Cleaning Up Orphaned Network Adapters After Migrating MS VPC 2007 / MS VS 2005 VPCs to Hyper-V

Sometimes you are unable to remove the Virtual Machine Additions and network adapters from a VPC made with the Microsoft Virtual PC 2007 / Microsoft Virtual Server 2005 VPC format before you migrate it to the Hyper-V format.  When this happens orphaned network adapters exist in the migrated VPC.  You may not even know you have orphaned network adapters until you reboot your migrated Hyper-V VPC for the first time.  These network adapters can wreak havoc on your Hyper-V VPC.

This post describes how to migrate a Microsoft Virtual PC 2007 / Microsoft Virtual Server 2005 VPC to Hyper-V format when you are unable to remove the Virtual Machine Additions and network adapters before you turn on the VPC in Hyper-V.  The steps in this blog post cause the orphaned network adapters to appear in the migrated VPC and also describe how to remove the orphaned network adapters.

Before we begin I’d like to mention there are several blog posts which document some of the same steps you will find here, here are my favorites.

http://technet.microsoft.com/en-us/library/dd296684.aspx

http://blogs.technet.com/matthts/archive/2008/09/12/vmc-to-hyper-v-import-tool-available.aspx

I haven’t been able to find one blog post which walks through all of the steps and ties them together in this context.  All of the blog posts and instructions I’ve found describe how to migrate VPCs assuming you can remove the Virtual Machine Additions and network adapters before you start the VPC in Hyper-V.  That’s why I created this post.  🙂

Migrate the Microsoft Virtual PC 2007 / Microsoft Virtual Server 2005 VPC to Hyper-V

To begin, create a new Hyper-V VPC in the Hyper-V Manager.  When prompted for the hard drive location select the VHD file for the Microsoft Virtual PC 2007 / Microsoft Virtual Server 2005 VPC you want to migrate to Hyper-V format and start the VPC.

After the VPC is booted up, remove the Virtual Machine Additions left over from the MS VPC 2007 / MS VS 2005 image.

image

When prompted to restart click Yes.

image

After the VPC reboots, install the Hyper-V Integration Services.

image

When prompted to upgrade the HAL, click OK.

image

You will be prompted for the location of the halaacpi.dll.

image

Insert your OS installation media DVD and attach the VPC to it.  (You can also use a mounted ISO file.)

image

Browse to the I386 directory on the installation media and click Open.

image

Click OK.

image

When prompted to restart click Yes.

image

After the VPC reboots click Cancel on all the Found New Hardware Wizard dialogs.

image

Insert the Integration Services Setup Disc again.

image

You will be prompted for the location of the hidusb.sys.

image

Insert your OS installation media DVD and attach the VPC to it.  (You can also use a mounted ISO file.)

image

Browse to the I386 directory on the installation media and click Open.

image

Click OK.

image

At this point your mouse will fail to work in the VPC and you will see the following screen.

image

Use the keyboard to select No, not this time., and select the Next button.

image

On the next screen, use your keyboard to select Install from a list or specific location (Advanced) and select the Next button.

image

On the next screen, use your keyboard to deselect Search removable media (floppy, CD-ROM…) and select Include this location in the search:.  Enter or browse the the I386 directory on your OS installation media and select the Next button.

image

The mouse driver installation begins.

image

Select the OK button.

image 

Enter the path to the I386 directory on your OS installation media and select the OK button.

image 

The mouse driver installation completes.

image

Hooray!  You mouse works again in the VPC and you no longer need to use CRTL-ALT-LEFT ARROW to release it from the VPC and return to the host machine.  Click Finish.

image 

When prompted to restart click Yes.

image

Once the VPC reboots you will notice the network connection icon in the System Tray indicates the network adapter has limited or no connectivity.

image

Inspecting the Network Connections reveals a network adapter named Local Area Connection 3.

image

Opening the properties for the network connection reveals that any static IP addresses and DNS information which was originally set up in the VPC (before it was migrated to Hyper-V) needs to be reconfigured. 

image

Reconfigure the network adapter to use the original network settings.

image

Click OK and the following error occurs.

The IP address <IP Address> you have entered for this network adapter is already assigned to another adapter ‘<Name of network adapter>’.
‘<Name of network adapter>’ is hidden from the Network Connection folder because it is not physically in the computer. If the same address
is assigned to both adapters and they both become active, only one of them will use this address. This may result in incorrect system configuration.

image

Click Yes to essentially cancel the action.  Click Cancel to close the dialog.

Removing the orphaned network adapters

At this point the orphaned network adapters must be removed so the newly reconfigured network adapter settings won’t conflict with the orphaned network adapter.

This Microsoft support article describes how to do this.  The steps in the article are described below.

First open a command prompt and enter the following commands.  The first command configures the Device Manager to show hidden devices.  The second command opens Device Manager.

image

Notice only one Network Adapter is displayed in the default view of the Device Manager.

image

In the View Menu, select Show hidden devices.  Now notice several Network Adapters are displayed in the Device Manager.  The ‘grayed out’ network adapters are the orphaned network adapters that will be removed.

image

To remove the orphaned network adapters, right click them and select Uninstall.

image

Click OK when prompted to confirm the uninstall.

image

After you have removed the orphaned network adapters the Device Manager will look like this.  This list will differ on depending on your VPC.

image

Now you can return to your new network adapter, configure it again and commit the configuration changes without receiving the error message.

image

At this point your migration is complete and the network settings for the VPC are properly restored.

4 responses on “Cleaning Up Orphaned Network Adapters After Migrating MS VPC 2007 / MS VS 2005 VPCs to Hyper-V

  1. Josh says:

    How do you do it on R2 Core ?

  2. Robert Douglas says:

    RKS is one of the leading technology and marketing firm offering best online technical support in New York including White Plains, Westchester, Mamaroneck, Rye, Scarsdale, Larchmont and many more.

    PC technical support New York

  3. R4 Mania says:

    Good…Can you tell me more information…
    Thanks…….

    Nintendo Linker