I have recently been experimenting with VPN connections, and wish the firewall to behave like a private connection on the VPN. Most guides will tell you to open up the Network and Sharing centre and change from there. However, I am unable to click on the text Public and therefore had to search for another way.
This requires the use of
PowerShell (PS), either directly, or through the
Command Prompt (CMD). As I am not a regular PS user I will be using CMD.
Start PS or CMD as an Administrator.
If in PS:
If using cmd add
powershellas a prefix.
The connection I wish to change has the
Name: OSL 3and
To set/change the
Set-NetConnectionProfile -InterfaceIndex 38 -NetworkCategory Private
or in CMD
powershell Set-NetConnectionProfile -InterfaceIndex 38 -NetworkCategory Private
Note: Make sure you select the correct
The Network and Sharing Centre now shows this network location as private.