User Tools

Site Tools


networking:windows:network_profiles

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
networking:windows:network_profiles [2014/05/12 10:47]
gcooper
networking:windows:network_profiles [2022/08/11 08:44] (current)
gcooper
Line 1: Line 1:
 ====== How to Change Current Network Location Profile ====== ====== How to Change Current Network Location Profile ======
- 
-FIXME Still don't know how to 'identify' an 'Unidentified' network... 
  
 http://blogs.msmvps.com/russel/2013/12/29/set-network-location-to-private-in-windows-8-1server-2012-r2/ http://blogs.msmvps.com/russel/2013/12/29/set-network-location-to-private-in-windows-8-1server-2012-r2/
Line 14: Line 12:
  
 http://blog.mpecsinc.ca/2013/08/server-2012unidentified-network-with.html http://blog.mpecsinc.ca/2013/08/server-2012unidentified-network-with.html
 +
 +<note tip>If you have problems with the Windows Firewall selecting **Private instead of Domain Profile**, try **restarting the NLA service**.  Also try setting the NLA service to ''Automatic (Delayed Start)''.</note>
 +
 +===== 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 ===== ===== 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 http://blogs.technet.com/b/networking/archive/2010/09/08/network-location-awareness-nla-and-how-it-relates-to-windows-firewall-profiles.aspx
 +
 +<note tip>The ''DomainAuthenticated'' category is set automatically.  If you need to change from Private to ''DomainAuthenticated'', try rebooting the server.</note>
 +
 +<note tip>If rebooting is problematic, you might try **disabling, then re-enabling the network interface** in question.</note>
  
 ===== In PowerShell ===== ===== In PowerShell =====
Line 24: Line 42:
 Get-NetConnectionProfile Get-NetConnectionProfile
  
-Set-NetConnectionProfile  -InterfaceIndex 18 -NetworkCategory Private+Set-NetConnectionProfile -InterfaceIndex 18 -NetworkCategory Private
 </file> </file>
  
Line 30: Line 48:
  
 <file> <file>
-Set-NetConnectionProfile  -InterfaceAlias * -NetworkCategory Private+Set-NetConnectionProfile -InterfaceAlias * -NetworkCategory Private
 </file> </file>
  
networking/windows/network_profiles.1399913276.txt.gz · Last modified: 2014/05/12 10:47 by gcooper