答案1
看这里:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles
将密钥更改Category
为适当的设置。
Public = 0
Home = 1
Work = 2
Powershell 方法(可能更可靠):
Get-NetConnectionProfile
Set-NetConnectionProfile -InterfaceIndex # -NetworkCategory Public