看看这里:
原文链接:https://www.f2er.com/windows/366320.htmlHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles
将类别键更改为适当的设置.
Public = 0 Home = 1 Work = 2
Powershell方法(可能更可靠):
Get-NetConnectionProfile Set-NetConnectionProfile -InterfaceIndex # -NetworkCategory Public