如何通过命令提示符启用或禁用网络适配器
的有关信息介绍如下:
通过命令提示符启用或禁用网络适配器的操作步骤如下:
点击任务栏搜索框或搜索图标,输入CMD,选择以管理员身份运行。
键入以下命令,然后按Enter键以在您的计算机上显示网络适配器的名称:
netsh interface show interface
键入以下命令以禁用Wi-Fi或以太网适配器,然后按Enter:
netsh interface set interface "适配器名称" disable。比如我使用的是“以太网”则添加“以太网”即:netsh interface set interface "以太网" disable(如图所示)。
若要启用网络适配器,使用上述相同方法,在第三步,输入netsh interface set interface "以太网" enable,点按Enter即可。



