Wednesday, October 27, 2010

Fun with VM network cards

Do you have phantom network cards, that is dev manager reports #2 but you have only one nic!

Also if you experience a long wait during user profile service message, try this from admin cmd

netsh
winsock reset
exit
exit

Repost from Microsoft

The DevCon utility is a command-line utility that acts as an alternative to Device Manager. When you use DevCon, you can enable, disable, restart, update, remove, and query individual devices or groups of devices. To use DevCon, follow these steps:


Download the DevCon tool by clicking the following article number to view the article in the Microsoft Knowledge Base:

311272 (http://support.microsoft.com/kb/311272/ ) The DevCon command-line utility functions as an alternative to Device Manager

Unpack the 32-bit or 64-bit DevCon tool binary to a local folder.

Click Start, click Run, then type cmd and press ENTER.

Type CD:\path_to_binaries to navigate to the devcon.exe is located.

Use the following syntax to find installed network adapters:

devcon findall =net or

devcon listclass net

Note In the output of the previous commands, there is a line for the ghosted network adapter that is similar to the following:

PCI\VEN_10B7&DEV_9200&SUBSYS_00D81028&REV_78\4&19FD8D60&0&58F0: 3Com 3C920 Integrated Fast Ethernet Controller (3C905C-TX Compatible)

Remove the ghosted device by typing the following syntax:

devcon -r remove "@PCI\VEN_10B7&DEV_9200&SUBSYS_00D81028&REV_78\4&19FD8D60&0&58F0"