This is the registry key path to a Windows computer’s network profiles:
The network profiles are for both wired and wireless connections.
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 (
To change the network Category using PowerShell see this article: