In a scenario where you have physically removed hardware from a machine you can no longer see it in device manager. This does not mean that it is gone. Evidence of that is, if for example you had a network card that had a Static IP address set and you remove the card and add a new one then try to set the IP address to the same as the old NIC you will get an error message. The error might look something like “The IP address 192.168.30.100 you have entered for this network adapter is already assigned to another adapter (Microsoft Virtual machine Bus Network Adapter #3) which is no longer present 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”. In Windows Server 2008 R2 and Windows 7 it actually gives you an opportunity to “remove the static IP configuration for the absent adapter”. If you say Yes, this will eliminate the IP conflict problem but does not solve the problem of the adapter still being present in the machine. In older versions of the OS, it was even worse because every time you go into network properties it gives you an error message. Another way this comes up is if you move a virtual machine from one host to another. Like in the case of moving from Virtual Server 2005 R2 to Hyper-V or perhaps you are moving from one Hyper-V machine to another but you did not do an export, you just moved the VHD’s and created a new machine.
Type the following commands pressing ENTER after each line
I also like setting the environment variable in system so I can view the hidden items anytime I want without having to set it manually.
Thank you! Great tip! Helped me removing some unused interfaces from a VM setup using kvm and Red Hat's Virtio drivers.
I'm having the same problem, but windows said: "Failed to uninstall the device. the device may required to boot up the computer" what i have to do???]
How I can get lost network card setting ? for example IP address , Gateway , DNS settings . I need it to put on new card
--- Not sure. The easy thing that comes to mind is check DNS on the network before you bring the server back up
thanks for your help. Worked like a charm
Good information, but one thing to note. I couldn't see the hidden items if I went to Device Manager via Computer/Properties. I had to use the "start" method on the command line.
Awesome post, pulled hair out over this one!
Just a tip to those trying to find IP addresses, etc. I always run an ipconfig /all >> c:\ipsetup.txt from a cmd prompt when everything is initially built. Also 2008 R2 and VMWare seem to have this issue as well when installing SP1, so I run the ipconfig gathering command before the Service pack install. Will save tons of grief later.......
I don't know what happened, but I turned my puter on and tried to get online - got msg that there was NO NETWORK CARD.... had my cable company come out and check it - tech couldn't find it anywhere - just vanished. He was able to give me a wireless connection, but said that he didn't know how long it would be good. What should I do now?
nice post! very helpful!
Also check in your DHCP server which may have the IP address in dhcp Hosts! If you remove that too, can help!
Great man same problem occured but we solve it because of you man ! Thanks a lot ! Gr8
WOW, that helped , Big Thanks
Very good article. I found it stupid to set this as a Env variable, meanwhile you have in the menu "Show Hidden Devices", it should have a "Show Non-Present Devices" also ... this kind of thing make Windows not logic and confiousing. Anyway thx
this was super helpful, thank you!