禁用/启用本地连接的dos命令是什么啊?
发布网友
发布时间:2022-05-12 19:22
我来回答
共1个回答
热心网友
时间:2023-10-19 12:46
运行如下命令:
netsh
interface
show
interface
将显示类似下面的画面:
Admin
State
State
Type
Interface
Name
-------------------------------------------------------------------------
Enabled
Unreachable
Dedicated
Local
Area
Connection
2
Enabled
Unreachable
Dedicated
Local
Area
Connection
Enabled
Unreachable
Internal
Internal
Enabled
Unreachable
Loopback
Loopback
运行如下命令禁用名称为"Local
Area
Connection"的网卡:
netsh
interface
set
interface
name="Local
Area
Connection"
admin=DISABLED
把结尾的"DISABLED"改为"ENABLED"为开启指定的网卡.