Remove old settings from network cards that no longer are installed

Remove old settings from network cards no longer installed

Today I had a problem with a virtual guest machine (Windows server 2003) on a Hyper-V host. Now that I have found a solution on my problem I thought it would be nice to share it with your guys. I was getting this error after have made some change with my virtual NIC adapters.

The error I was facing, when I was making changes to the only NIC there was installed, was this one:

The IP address XXX.XXX.XXX.XXX you have entered for this network adapter is already assigned to another adapter Name of adapter. Name of adapter is hidden from the network and Dial-up Connections folder because it is not physically in the computer or is a legacy adapter that is not working. If the same address is assigned to both adapters and they become active, only one of them will use this address. This may result in incorrect system configuration. Do you want to enter a different IP address for this adapter in the list of IP addresses in the advanced dialog box?

The problem was that I had an old “ghost” NIC with some settings applied to it. The NIC was no longer installed so I was not able to remove or change the settings the normal way. First I tried to find the information in the registry, but there were a lot of entries and it didn’t seem to work. Then I did what I always do in those situations. I turned to doctor Google for a quick fix :-) Doctor Google had a solution for me and here it comes:

1. Open a command prompt and enter the commands above.

2. From the view menu select: Show hidden devices

Remove ghost NIC
3. Select the NIC that are removed from the system and right click and chose “Uninstall”
The NIC that are grayed out are no longer in the system

After following the above steps I was able to change the IP settings on my NIC without any warning.

About the author:
I am an IT Professional that has this blog as a hobby project in my spare time. I have been in the IT business since 1996 and want to share some of the thing I have picked up over the years, with people who visit this blog.

>>Subscribe to my Newsletter<<

3 Responses to Remove old settings from network cards that no longer are installed

  1. webnik says:

    You can make this permanent by throwing it in a environment variable.

    If you have the feeling X device is locked or messing about with registry and you really want it dead try Device Remover Don’t let website fool you. Check screenshots if possible to fix it can fix it but program will not win any popularity contests. Very technical and does much more than devices.

    • Dan says:

      Thanks sushant, that worked great. We’re converting a bunch of physical machines to virtual and this is a quick and easy way to get rid of the warning messages when setting the IP address.

Leave a Reply to Dan Cancel reply

Your email address will not be published. Required fields are marked *