How Can We Help?
< All Topics
You are here:
Print

Set Windows Network Location/Type

Set Network Location to Private on Windows 8.1/Server 2012 R2

Open PowerShell as Administrator

PSH> Get-NetConnectionProfile
Name : Unidentified network
InterfaceAlias : Ethernet (Local-10)
InterfaceIndex : 18
NetworkCategory : Public
IPv4Connectivity : LocalNetwork
IPv6Connectivity : LocalNetwork

Use the Interface Index from above in the command below

PSH> Set-NetConnectionProfile  -InterfaceIndex 18 -NetworkCategory Private
Table of Contents