如何在命令行模式下禁用或启用网卡
先看show interface 的结果, 然后选择你要disable的interface. 注意带空格的名称需要用引号.
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
netsh interface set interface name="Local Area Connection" admin=DISABLED
posted on 2005-06-03 12:39 鬼蝶[DFCG] 阅读(9472) 评论(15) 编辑 收藏 举报