How to set up Private Network on Windows 10?




In some cases this Public network is not safe for the user's computer

By default, Windows will assign all networks as Public, but in some cases this Public network is not safe for users' computers. So it's a good idea to set up Private Network to use.

- Public Network: Whenever your computer is connected to a network, such as Ethernet or Wifi, your computer will ask if you want to share the device with other devices on the same network.

If you click Yes, your computer will be set to Public. And of course your computer will also see other devices connected on the same network.

- Private Network: In stark contrast with Public Network, if clicked No on the confirmation dialog after connecting to a network, your computer will be set to Private. And shared files, printers, ... will be blocked by the firewall (Firewall).

Windows is smart enough and therefore the Firewall will set up according to the options you will choose. After selecting the options, it will be quite difficult for you to change the settings - if you don't know anything about the settings.

In the article below WFISTRICK will show you how to set up Private Network on your Windows 10 computer.

Private Network

Set up Private Network on Windows 10

Here are some ways to set up Private Network on Windows 10, you can consult:

1, PowerShell

To set up Private Network using PowerShell, follow the steps below:

First open the Windows PowerShell window under Admin, then enter the command below and press Enter:

Get-NetConnectionProfile

PowerShell

The command will allow you to display the network name and network classification (Public / Network). Next, enter the following statement into:

Set-NetConnectionProfile -Name network_name -NetworkCategory Private

Note:

Change network_name with your network name.

In case if you want to set up Public Network, follow the same steps but change Private with Network.

2, Local Security Policy

First press the Windows + R key combination to open the Run command window, then enter secpol.msc there and press Enter to open the Local Security Policy window.

Here you find and click Network List Manager Policies.

Now the screen appears a new window named Network.

Local Security Policy

Now switch to the Network Location tab. By default the option is set to Not Configured or Public, you just need to select Private then click Apply / OK to finish.

3. Through Registry Editor

Registry Editor is a useful tool on Windows operating system, this tool allows you to change network settings. However, before using this tool, you should create a backup copy of Registry Editor and create a system restore point to prevent in case something goes wrong.

First open the Registry Editor window. To do this, press the Windows + R key combination to open the Run command window, then enter regedit there and press Enter to open the Registry Editor window. If the UAC window appears, click Yes to continue.

On the Registry Editor window, navigate to the key:

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionNetworkListProfiles

Here you will see some keys with long and special characters. If you connect your computer to 4 different networks, you will get 4 different keys. This means that if you connect more and more networks, you will get more keys.

So just click on each key and find the key you want to set to Private. When you click each folder, you can find the network name in the right pane. Here you can find Category Category.

Double click on the Category item and set the value to 1, then proceed to save the changes.

Through Registry Editor

Values ​​to set up Public Network, Private Network and Domain Network.

Public Network: 0

Private Network: 1

Domain Network: 2

Refer to some of the following articles:

Good luck!




Comments