This is the registry key path to a Windows computer’s network profiles:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles
The network profiles are for both wired and wireless connections.
The DWORD Category
value sets type of connection:
0 = Public (sharing disabled)
1 = Private (home, sharing enabled)
2 = Domain (AD, sharing enabled)
The Domain connection type also needs the DWORD Managed
value set to 1 and the the DWORD NameType
set to 6.
FYI: The biggest impact and usage for these three network types is to control the Windows Firewall (wf.msc
) rules.
To change the network Category using PowerShell see this article:
http://windowsitpro.com/powershell/how-force-network-type-windows-using-powershell