禁用/启用本地连接的dos命令是什么啊?

运行如下命令:
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"为开启指定的网卡.






posted on 2015-08-19 17:13  哈哈哈哈BBA  阅读(753)  评论(0编辑  收藏  举报

导航