User Tools

Site Tools


networking:windows:network_profiles

This is an old revision of the document!


How to Change Current Network Location Profile

Registry

The registry key path to a Windows computer’s network profiles (wired and wireless):

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles

:!: The Domain connection type also needs the DWORD Managed value set to 1 and the the DWORD NameType set to 6.

The DWORD Category value sets type of connection:

0 = Public (sharing disabled)
1 = Private (home, sharing enabled)
2 = Domain (AD, sharing enabled)

How NLA Works

http://blogs.technet.com/b/networking/archive/2010/09/08/network-location-awareness-nla-and-how-it-relates-to-windows-firewall-profiles.aspx

The DomainAuthenticated category is set automatically. If you need to change from Private to DomainAuthenticated, try rebooting the server.

In PowerShell

Get-NetConnectionProfile

Set-NetConnectionProfile -InterfaceIndex 18 -NetworkCategory Private

or perhaps:

Set-NetConnectionProfile -InterfaceAlias * -NetworkCategory Private

In the GUI

:!: You can also see these settings in gpedit.msc.

Run secpol.msc.

Restore Unidentified Networks to:

  • Default Not Configured
  • Private (Work)
  • Public

Bonded Connections (NIC Teams)

Set the Network Location Awareness service to Automatic (Delayed Start).

networking/windows/network_profiles.1637268052.txt.gz · Last modified: 2021/11/18 13:40 by gcooper