先看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
转载于:https://www.cnblogs.com/leeairw/archive/2005/06/03/167247.html