以管理员方式打开 Powershell 输入
1 |
foreach ($n in (get-appxpackage).packagefamilyname) {checknetisolation loopbackexempt -a -n="$n"} |
恢复命令
1 |
foreach ($n in (get-appxpackage).packagefamilyname) {checknetisolation loopbackexempt -d -n="$n"} |