page contents

About the Post

Author Information

HOW To FIX: Shadow (a.k.a. “ghosted”) NIC’s in Hyper-V or SCVMM 2008R2

In my last post, I talked about recovering from a failed Storage Migration (QSM) in SCVMM. After you attach the old VHD file, you may find that you are not able to add the NIC settings back, like the IP address because there is a hidden NIC that is in the system but does not show in device manager. Here is an error that you will receive when you try to change the NIC settings:

Then when you look at device manager you only see one NIC:

Here is what you do to solve this issue:

Run the command prompt as an Administrator and type the following:
set devmgr_show_nonpresent_devices=1 (Shows hidden devices that are attached but not seen)
Note: This was an old trick learned from this article.

Then run Device Manager from the command line (start devmgmt.msc) and now choose “Show hidden devices.” Then expand the network adapters and you will see the issue more clearly.

Notice the additional NIC that holds your original settings?

So let’s go ahead and remove both NIC’s and then we will add them later:

Confirm the action by selecting OK!

Notice that you NIC’s are no longer seen in Device Manager:

Now, lets add it back by doing a new “Scan for hardware changes” in Device Manager

Now, we have our NIC back to just one

And after we configure the NIC settings, we no longer get the warning and it is the correct settings:

Last but not least, you will need to clear out the DNS and NetBios Cache by typing the following:

ipconfig /flushdns
nbtstat -R
nbtstat -RR
ipconfig /registerdns

Tags: , , , , ,

Comments are closed.

Copy Protected by Chetan's WP-Copyprotect.