Whenever I connect my LAN wire to my system, Windows 10 automatically detects it and connect to it as Private Network. How would I change it to public network since most of my applications are set to access internet in public network only.
I don't know about Windows 10, but for Windows 8 you go into PC Settings then into Network > Connections and then turn Find Devices and content to off. This should turn your network into a public one.
You can also do this via Windows Powershell. Make sure to start it elevated (Run as Administrator)
- Run Get-NetConnectionProfile command to find the list of all connected interfaces. Note the interface ID of the connection that you are trying to change.
- Run Set-NetConnectionProfile -InterfaceIndex [Interface ID] -NetworkCategory Public