最近,我从系统中卸载了一些VPN软件(VPN software),因为我不再使用它,但是由该软件(software didn)创建的虚拟网络适配器(network adapter)并没有自动删除。当我尝试从适配器列表中删除网络适配器(network adapter)时,删除选项显示为灰色。
经过相当多的故障排除后,我终于能够从我的Windows 10系统中删除网络适配器。(network adapter)在本文中,我将提到您可以尝试的所有不同方法,从最简单的方法开始,再到技术性更强的方法。如果您需要编辑注册表,请确保先备份注册表。
所以,具体来说,这是我遇到的问题。我打开控制面板(Control Panel),进入网络和共享中心(Network and Sharing Center)并点击更改适配器设置( Change adapter settings)。当我尝试右键单击要删除的适配器时,“删除(Delete)”选项不可用。
方法 1 – 使用设备管理器
您可以尝试做的第一件事是打开设备管理器(Device Manager)(单击开始并键入设备管理器(device manager)),展开网络适配器(Network Adapters),然后右键单击要删除的网络适配器。(network adapter)
在这里,您将看到一个名为Uninstall device的选项。希望这不会变灰。如果是,请继续下一个方法。当您选择卸载设备时,将出现另一个窗口,要求确认卸载。
您还将看到删除设备驱动程序软件(driver software)的选项。如果你想完全删除网络适配器(network adapter),我建议选择这个选项来删除驱动程序。如果一切顺利,您应该会看到适配器已从设备管理器和(Device Manager)控制面板(Control Panel)中的网络适配器(network adapter)列表中删除。
如果您没有看到此处列出的设备,您可以尝试点击查看(View),然后点击显示隐藏的设备(Show hidden devices)。
方法 2 – 删除网络配置文件
我们也可以尝试通过命令行删除(command line)网络配置文件(network profile),然后再次尝试方法1(Method 1)。首先(First),您必须通过单击开始(Start)打开提升的命令提示符(command prompt),输入CMD,然后右键单击命令提示符并选择(command prompt and choosing)以管理员身份运行(Run as Administrator)。
现在输入以下命令以查看所有有线(以太网(Ethernet))适配器:
netsh lan show profiles
如果您需要移除无线适配器(wireless adapter),请键入以下命令:
netsh wlan show profiles
如果您收到有关Wired或WLAN AutoConfig 服务未运行的(WLAN AutoConfig service)错误消息(error message),请单击Start,输入 services.msc,右键单击相应的服务并选择Start。
现在,当您运行该命令时,您应该会看到一个配置文件列表。就我而言,我在这台计算机上只有一个配置文件。
接下来,键入以下命令,这将删除所需的接口。
netsh lan delete profile interface="InterfaceName"
同样,如果它是无线接口,请使用wlan而不是lan。当您运行 show profiles 命令时,接口名称(interface name)列在每个标题的顶部(接口名称上的配置文件)。(Profile on interface name)删除配置文件后,重新启动计算机并再次尝试方法 1(Method 1)。
方法 3(Method 3) –通过注册表(Registry)删除适配器设置(– Remove Adapter Settings)
除了删除网络配置文件(network profile),您还可以尝试通过注册表删除适配器设置。删除设置后,您可以返回方法 1 并尝试删除适配器。要删除设置,请打开注册表编辑器(registry editor)(单击开始并键入(Start and type)regedit.msc),然后导航到以下键:
HKEY_LOCAL_MACHINE - SYSTEM - CurrentControlSet - Services - Tcpip - Parameters - Interfaces
您会看到列出的几项带有一长串随机数。如果单击每一个,您将看到分配给该网络适配器的(network adapter)IP 地址(IP address)。
您可以通过打开命令提示符(command prompt)(开始(Start)并键入 cmd)并键入ipconfig来确认哪个网络适配器(network adapter)对应于该注册表项(registry key)。
如您所见,以太网适配器(Ethernet adapter)的IP 地址(IP address)为 192.168.1.233。因此,您将删除以{73123f2a-ad10-4f4b-900e...}开头的 Interfaces 下的键。如果您单击不同的界面,其中一个将具有IP 192.168.247.1,它对应于计算机上的VMWare 网络适配器(VMWare Network Adapter)。同样(Again),这只会删除适配器的设置,而不是适配器本身。重新启动计算机并再次尝试方法 1(Method 1)。
方法 3 – 重置网络设置
在Windows 10中,您还可以重置网络设置,这将删除所有网络适配器,然后重新安装它们。您必须重新配置这些适配器上的任何设置,但它可以帮助删除过时或旧的网络适配器。
为此,请单击开始(Start),然后单击设置(Settings),然后单击网络和 Internet( Network & Internet)。
单击左侧菜单中的状态,然后一直向下滚动(Status)到底部,直到(bottom till)看到Network reset。系统将要求您确认,然后您的计算机将重新启动。如果有问题的适配器在重新启动后消失了,那就太好了!如果没有,请再次尝试方法 1(Method 1)。
方法 4 – 在 BIOS 中禁用
如果有问题的网络适配器(network adapter)内置在主板上,那么您也可以尝试在BIOS中禁用(BIOS)网络适配器(network adapter)。如果您不确定如何访问 BIOS,请阅读我之前关于如何访问BIOS的文章。(BIOS)
进入BIOS后,您必须四处搜索可让您禁用硬件的部分。您通常会看到带有禁用选项的Onboard Gbit或Onboard LAN 。
希望其中一种方法可以帮助您摆脱Windows 机器(Windows machine)上旧的或过时的网络适配器(network adapter)。如果您仍然遇到问题,请随时发表评论,我会尽力提供帮助。享受!
Unable to Delete Network Adapter in Windows 10?
Recently, I uninstalled some VPN software off my system because І was no longer using it, but the virtual network adapter created by the software didn’t get removed automatically. When I tried to delete the network adapter from the list of adaptеrs, the dеlete option waѕ greyed out.
After quite a bit of troubleshooting, I was finally able to remove the network adapter from my Windows 10 system. In this article, I’ll mention all the different methods you can try, starting from the easiest and moving to the more technical. If you need to edit the registry, make sure you backup the registry first.
So, specifically, here’s the issue I had. I opened Control Panel, went to Network and Sharing Center and clicked on Change adapter settings. When I tried to right-click on the adapter I wanted to remove, the Delete option wasn’t available.
Method 1 – Use Device Manager
The first thing you can try to do is open Device Manager (click on start and type device manager), expand Network Adapters, and then right-click on the network adapter you want to remove.
Here, you will see an option called Uninstall device. This should hopefully not be greyed out. If it is, continue to the next method. When you select uninstall device, another window will appear asking to confirm the uninstall.
You’ll also see an option to delete the driver software for the device. If you want to completely remove the network adapter, I suggest selecting this option to remove the driver also. If all goes well, you should see that the adapter has been removed from both Device Manager and the list of network adapters in Control Panel.
If you don’t see the device listed here, you can try to click on View and then Show hidden devices.
Method 2 – Delete Network Profile
We can also try to delete the network profile via the command line and then try Method 1 again. First, you have to open an elevated command prompt by clicking on Start, typing in CMD and then right-clicking on command prompt and choosing Run as Administrator.
Now type in the following command to see all wired (Ethernet) adapters:
netsh lan show profiles
If you need to remove a wireless adapter, type this command:
netsh wlan show profiles
If you get some error message about the Wired or WLAN AutoConfig service not running, then click on Start, type in services.msc, right-click on the appropriate service and choose Start.
Now when you run the command, you should see a list of profiles. In my case, I only have one profile on this computer.
Next, type in the following command, which will delete the desired interface.
netsh lan delete profile interface="InterfaceName"
Again, if it’s a wireless interface, use wlan instead of lan. The interface name is listed at the top of each heading (Profile on interface name) when you ran the show profiles command. Once the profile has been deleted, restart your computer and try Method 1 again.
Method 3 – Remove Adapter Settings via Registry
In addition to deleting the network profile, you can also try to remove the adapter settings via the registry. After you remove the settings, you can go back to method 1 and try to remove the adapter. To remove the settings, open the registry editor (click on Start and type in regedit.msc), and navigate to the following key:
HKEY_LOCAL_MACHINE - SYSTEM - CurrentControlSet - Services - Tcpip - Parameters - Interfaces
You’ll see several items listed with a long series of random numbers. If you click on each one, you’ll see the IP address that is assigned to that network adapter.
You can confirm which network adapter corresponds to that registry key by opening a command prompt (Start and type cmd) and typing in ipconfig.
As you can see, Ethernet adapter is the one that has an IP address of 192.168.1.233. So you would delete the key under Interfaces that starts with {73123f2a-ad10-4f4b-900e…}. If you click on a different interface, one of them will have the IP 192.168.247.1, which corresponds to the VMWare Network Adapter on the computer. Again, this only deletes the settings for the adapter, not the adapter itself. Restart the computer and try Method 1 again.
Method 3 – Reset Network Settings
In Windows 10, you can also reset your network settings, which will delete all network adapters and then reinstall them. You’ll have to reconfigure any settings on those adapters, but it can help remove outdated or old network adapters.
To do this, click on Start, then Settings and then click on Network & Internet.
Click on Status in the left-hand menu and then scroll all the way down to the bottom till you see Network reset. You’ll be asked to confirm and then your computer will restart. If the adapter in question is gone after the restart, then great! If not, try Method 1 again.
Method 4 – Disable in BIOS
If the network adapter in question is built onto the motherboard, then you can also try disabling the network adapter in the BIOS. Read my previous post on how to access the BIOS if you’re not sure how.
Once you are in the BIOS, you’ll have to search around for the section that lets you disable hardware. You’ll usually see something like Onboard Gbit or Onboard LAN with the option to disable.
Hopefully, one of these methods helped you to get rid of an old or outdated network adapter on your Windows machine. If you are still having problems, feel free to post a comment and I’ll try to help. Enjoy!