Open In App

How To Change Network Settings of Window From Public to Private?

Last Updated : 19 Dec, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

Use public networks to connect to networks at your place of employment, at home, or in public. In most situations, you ought to employ this. Other network devices won’t be able to see your PC. As a result, you are unable to share files and printers on your PC. Other networked devices can find your PC, and you can use your PC to share files and printers. Users and equipment on the network should be known to and trusted by you.

Change Windows Network Settings from Public to Private:

Switch from a Public Network to a Private using Wi-Fi Settings:

Step 1: Open settings in windows.

Step 2: On the left pane, select Network and Internet.

 

Step 3: Select Wi-Fi.

Step 4: Select the connected network.

Step 5: After selecting the Private network option on the network profile type.

 

 

Switching from a Public Network to a Private using Ethernet LAN Settings:

Step 1: Open settings in windows.

Step 2: On the left pane, select Network and Internet.

Step 3: Select Ethernet.

Step 4: After selecting the Private network option on the network profile type.

 

Switching from a Public Network to a Private using the Registry:

Step 1: Open Registry Editor in Windows.

Step 2: Follow the path Computer > HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft\Windows > NT > CurrentVersion > NetworkList > Profiles. This registry section contains a list of all network connections on your computer. There is a separate registry key for each network connection with a name in GUID format ({xxxxxx-xxxxx-xxxxx-…}).

 

Step 3: Check your network name in the ProfileName registry string value. The network type is specified in the category parameter. The values are:

    0 - Public Network
    1 - Private Network
    2 - Domain Network

 

Step 4: Hit OK and now your network is private.

Switch from Public Network to Private using PowerShell:

Step 1: Open Windows PowerShell as an administrator.

Step 2: Run the following command to see the connected network profile:

> Get-NetConnectionProfile

 

Step 3: Now make your network profile public to private using the following command:

> Set-NetConnectionProfile -Name 
"<Enter Your Network Name Which 
You Want to make Private>" 
-NetworkCategory Private

Step 4: Now check your network profile using the step 2 command.

 

Switch from Public Network to Private using Local Group Policy Editor:

Step 1: Open Local Group Policy Editor in Windows.

Step 2: Go to the path: Windows Settings > Security Settings > Network List Manager Policies.

 

Step 3: Right-click on your connected network and select Properties.

Step 4: Select Network Location.

Step 5: Select Location Type:- Private.

 


Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads