I no longer work at Microsoft, so please don't bother leaving a comment here or trying to contact me through my MSDN blog.
You can find my new blog at http://www.technologytoolbox.com/blog/jjameson. My new site also provides copies of all posts from my MSDN blog.
Each time I create (or recreate) a virtual machine in Hyper-V using one of my SysPrep'ed images, I usually end up having to do a quick Internet search for:
device manager show hidden devices
I'm a little embarrassed to say that I simply can't remember the environment variable that I need to set in order to remove what I call "stale" network adapters in Device Manager.
Note that if you don't properly export/import a VM in Hyper-V (and instead simply copy VHDs around like I often do), then you'll end up with a network adapter named something like ""Microsoft Virtual Machine Bus Network Adapter #2" (and a hidden network adapter named "Microsoft Virtual Machine Bus Network Adapter").
I'm not aware of any issues by not deleting these network adapters, but I still like to clean them up anyway.
Here is the process that I use to cleanup the network adapters:
You should now have exactly one VM Bus network adapter (and one Microsoft ISATAP Adapter).
Also, just in case it's not completely obvious, you should do this cleanup before configuring any network settings like DNS servers or a static IP address.
Perhaps if the environment variable was devmgmt_show_hidden_devices (instead of devmgr_show_nonpresent_devices) then I could actually remember it ;-)