Set Windows Network to Private

Set Windows Network Category to Private

Open an elevated PowerShell session

Get current profiles. Make sure you are logged on to the network you want to change.

Get-NetConnectionProfile

Change the network in your list to be Private

Set-NetConnectionProfile -Name "MYNETWORK" -NetworkCategory Private

Check that everything went fine

Get-NetConnectionProfile