netsh禁用启用本地连接

netsh interface set interface mi8 disabled
netsh interface set interface mi8 enabled

mi8是本地连接名称,需要管理员身份启用cmd

原文地址:https://www.cnblogs.com/BeyondTechnology/p/9606276.html