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 Managed value set to 1 and the the NameType set to 6.

The 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. You might also just disable, then enable the network interface in question.

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.1637343730.txt.gz · Last modified: 2021/11/19 10:42 by gcooper