Delete the hidden physical Nic and virtual Nic after network virtualization failure in Windows.
In Windows, Nic problems may occur when hardware such as the hardware server motherboard and Nic is replaced, the operating system is restored, or network virtualization fails. For example, an undesired Nic exists in the Device Manager, the current network connection cannot be renamed due to a naming conflict, but the IP address conflict cannot be found; virtual Network cards that cannot be deleted after network virtualization fails. Next we will summarize how to delete these NICs with the same visible or invisible Ghost.
1. Identify various network devices and network connections
Because network virtualization will add many new virtual machinesNetwork Device(Including virtual NICS), the situation becomes complex, so we need to distinguish them first. If network virtualization is not performed, skip this step. In the network virtualization environment, the Device Manager should be visible: Physical NICs starting with Intel (different from the physical Nic vendor); Hyper-V Virtual Ethernet Adapter Virtual Nic; microsoft Network Adapter Multiplexor NIC group (NIC groups are supported in Windows Server 2012. You can use the command lbfoadmin to manage Nic groups, which often appear in Network virtualization environments ); after hidden devices are displayed, Hyper-V Virtual Switch Extension Adapter Virtual Switch is also visible.
Net stop winmgmt rename the folder % windir % \ system32 \ wbem \ Repository to Repository. oldrestart the systemwinmgmt/resetrepository disable all the network adapters remove HKLM \ SYSTEM \ CurrentControlSet \ Control \ Network \ Config enable all the network adapters enable nic teaming
4. delete a physical Nic
Redundant physical NICs are often formed after hardware changes or system recovery. Deleting physical NICS is easier, and can be deleted from the Device Manager or the DevCon command line, you can also refer to the virtual network card for deleting in the registry.