Setting network type using PowerShell
Open PowerShell with administrative privileges Run the following command: Get-NetConnectionProfile See the network name you want to change its type and run the following command: Set-NetConnectionProfile -Name “REF” -NetworkCategory Public Where REF is the name of your network and you can change the -NetworkCategory switch value to Public or Private.