Webmasters may need to a remove Hidden Network Adapters in Windows in order to assign a previously used static IP address for a new network interface.
As a part of our Server Management Services, we help our Customers to fix Windows related errors regularly.
Let us today discuss one of the possible method to perform this task.
Why do we need to remove Hidden Network Adapters in Windows?
Webmasters often notices that they are unable to set the previously assigned static IP address for a new network interface. A typical error message looks like:
Our Support Engineers generally notice this error message after cold migration of virtual machines between hypervisors/sites, or while configuring multiple VLANs on a single NIC in Windows.
Windows automatically hides the devices that are present in Windows configuration, but are not physically connected to the computer.
The hidden network adapter in Windows remains if we physically disconnect the previously installed network card.
The main problem of hidden network adapters is that we cannot assign an IP address of old network adapter to a new network card.
Thus we may need to remove the configuration of disconnected NICs before assigning an old IP address to a new network adapter.
How to Remove a Non-Existent Network Card Using the Device Manager?
One of the possible method to uninstall hidden or physically removed network adapters is through Device Manager console .
To open the Device Manager console in the special mode we can open the command prompt as an administrator. Then we can use the command:
set devmgr_show_nonpresent_devices=1
Finally, to start the Device Manager console we can use:
devmgmt.msc
Now, in the top menu, click View -> Show hidden devices. Then, expand the Network adapters section.
Hidden network cards should appear in the list . Select the network card that we want to remove, right-click it -> Uninstall Device.
Remove Network Adapter Settings from the Registry
At times our support engineers have noticed that even after removing an unused NIC in the Device Manager we still cannot assign the old IP address to a new adapter.
In such cases, one method that we go for is to remove the IP configuration of the old NIC from the registry.
The IP settings of the network interfaces is under the registry key HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces.
This registry keys contains some {Interface GUID} keys.
We can check them one-by-one until we find the interface and the IPAddress value assigned to the old network interface.
In Windows we can assign multiple IP addresses (aliases) to a single network adapter. Thus the IPAddress parameter may contain more than one IP address.
Remember the name of the registry key and then remove the keys:
- HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\{your_NIC_ID}
- HKLM\SYSTEM\CurrentControlSet\Services\{your_NIC_ID}
Then, restart the system and try to assign the old static IP address to a new network adapter.
Further, it is also recommended to reset the network.
[Need some help to remove Hidden Network Adapters? – We’re available 24*7]
Conclusion
In short, webmasters may face issues while assigning a previously used static IP address for a new network interface. Today, we saw one of the possible methods of how our Support Engineers remove Hidden Network Adapters in Windows.
0 Comments