Posted on

How to change windows 10 network from public to private

I’ll make this quick

Open Windows PowerShell and enter the following command


Find the InterfaceIndex of the network you want to change to private. Use your number for the next command. I’ll use 26:

Set-NetConnectionProfile -InterfaceIndex 26 -NetworkCategory Private


Using Windows PowerShell to Change the Connection Profile