我有一个Windows Server 2012域控制器,有两个网卡,一个在内部networking,另一个在外部networking。 我怎样才能强制第二个NIC在公共个人资料?
看这里:
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