This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
networking:windows:network_profiles [2014/05/02 12:02] 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 ' | ||
http:// | http:// | ||
Line 14: | Line 12: | ||
http:// | http:// | ||
+ | |||
+ | <note tip>If you have problems with the Windows Firewall selecting **Private instead of Domain Profile**, try **restarting the NLA service**. | ||
+ | |||
+ | ===== Registry ===== | ||
+ | |||
+ | The registry key path to a Windows computer’s network profiles (wired and wireless): | ||
+ | |||
+ | '' | ||
+ | |||
+ | :!: The **Domain** connection type also needs the **Managed** value set to '' | ||
+ | |||
+ | 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:// | ||
+ | |||
+ | <note tip>The '' | ||
+ | |||
+ | <note tip>If rebooting is problematic, | ||
===== In PowerShell ===== | ===== In PowerShell ===== | ||
Line 20: | Line 42: | ||
Get-NetConnectionProfile | Get-NetConnectionProfile | ||
- | Set-NetConnectionProfile | + | Set-NetConnectionProfile -InterfaceIndex 18 -NetworkCategory Private |
</ | </ | ||
Line 26: | Line 48: | ||
< | < | ||
- | Set-NetConnectionProfile | + | Set-NetConnectionProfile -InterfaceAlias * -NetworkCategory Private |
</ | </ | ||