Windows Network and Sharing Center: Difference between revisions

mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 19: Line 19:


Use this command, combined with the information garnered with the above command to change it from Public to Private or vice-versa: Set-NetConnectionProfile -InterfaceIndex WhatEverNumber -NetworkCategory [Public/Private] (use the word Public or Private without the [ ]s)
Use this command, combined with the information garnered with the above command to change it from Public to Private or vice-versa: Set-NetConnectionProfile -InterfaceIndex WhatEverNumber -NetworkCategory [Public/Private] (use the word Public or Private without the [ ]s)
===Advanced Sharing Settings===
And don't forget to check those pesky Advanced Sharing Settings too.  Because of course windows will secure everything for Private networks, and open it up to the world for Public networks.  Funny to say, but Windows can do this.
===Caveat (...and I do NOT like that word, but.)===
If the Network Type is: Unidentified Network, then no matter what the DWORD Value for Category is set to via the Registry or PowerShell, the type will always show as Public.