How to Change Network Connection From Public to Private

Table of Contents

In some cases, you need to change the network connection from public to private in Windows 10, 11. An example, Windows Remote Management using PowerShell doesn’t work in Public profile.

Method 1: Change the network profile using Windows settings

1. Right click on the network icon in the Windows taskbar at the bottom right corner of your screen.

2. Select Open Network & Internet settings option.

How to Change Network Connection From Public to Private

3. In the Settings window, select Change connection properties option.

How to Change Network Connection From Public to Private

4. Now, in the Network settings page, under Network profile select Private option.

Note

The changes are saved automatically, so you just need close the settings page.

How to Change Network Connection From Public to Private

Method 2: Using PowerShell to change the network connection

1. Right click on the Window Start icon then open Windows PowerShell Admin ( in Windows 11, select Terminal Admin).

How to Change Network Connection From Public to Private

2. Run Get-NetConnectionProfile command to get the network name. In this case, the network name is Network and the network category is Public.

Get-NetConnectionProfile
How to Change Network Connection From Public to Private

3. Run the following command to change the network profile from Public to Private.

Set-NetConnectionProfile -Name "NetworkName" -NetworkCategory Private

To verify it works, run the command Get-NetConnectionProfile again then check the NetworkCategory.

How to Change Network Connection From Public to Private

Leave a Comment

Required fields are marked *