By Hally | Last Updated
Windows grants users privileges to select a network type (private, public and domain) when a new network is connected to the computer. And private and public are two common types we usually use to change the network connection. If you really need to change network type from default public to private in Windows 10, please learn about them at first and then follow 4 ways to do.
What's the difference between public network and private network?
1. Public network:
You can select this type of network to refuse to communicate with any other network device or when you have only one computer in this network. Surely you don't need to change the network type generally to public at most of time because default network type is public network.
While network is public, Windows Firewall will use the Public network type rules to make your computer the most restrictive. It will help to block most of the apps from connecting from the Internet and disabling some features, such as file and printer sharing, network discovery and automatic setup of network devices etc.
2. Private network:
Use this network if you trust the network you are connecting to. And it is usually selected when you are in home or work network. You can share file, setup network device and network discovery etc when you select it.
So do you want to make network private when it is connected to your computer? If you do, please go on to follow the article.
Step 1: Go to Control Panel Network and Internet HomeGroup.
Type "homegroup" in Search box and press Enter to find "HomeGroup" in Control Panel. Click it to open HomeGroup.
Step 2: Click on Change network location link.
Step 3: This will open a charm dialog to ask you that "Do you want to allow your PC to be discoverable by other PCs and devices on this network?"
Click Yes button if you are sure to set your network to Home or Work.
Now go to "Network and Sharing Center" in Control Panel Network and Internet, you can see Network has become "Private network".
If you are an advanced user in your Windows 10 computer, this method will be easier for you to switch the network type between public and private.
Step 1: Press Win + R to open Run box and type in "regedit". Press Enter and click "Yes" to run Registry Editor.
Step 2: Go to following key in Registry Editor.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles
Under the Profiles key, probably you find some sub-keys. Select each one and look for the ProfileName key in the right hand pane. You would know the name of the network and recognize which network you want to change type.
Then change network type by changing Category DWORD value in the right hand pane. Value data can be 0 for Public network, 1 for Private network and 2 for Domain network.
Just double click the Category and you can change the value data to 1. Connected network would be private.
If you have administrative rights, local group policy editor also could help to change your network type in Windows 10 computer.
Step 1: Open Local Group Policy Editor.
Click the Start button, type gpedit.msc then press Enter key. Or type "gpedit.msc" in Run box and press Enter.
Step 2: Change unidentified networks location type from "Not Configured" to "Private".
1. Click Computer Configuration\Windows Settings\Security Settings\Network List Manager Policies. And double-click on Unidentified Networks.
2. Change Location type from Not configured to Private then click OK to close the window.
When you are logged in Windows 10 with administrator or account with admin privileges, you can make full use of PowerShell command to change network type, not only from public to private.
Step 1: Open Command Prompt (Admin).
Step 2: Change network type with powershell commands.
1. Type following command in CMD window to get network name.
Get-NetConnectionProfile
2. Find the network name you want to change its type and run the following command.
Set-NetConnectionProfile -Name "Network" -NetworkCategory Private
The "Network" is the name of your network and you can change the -NetworkCategory switch value to Public or Private.
Note: If you want to change the network type from private to public, just need to type command below instead.
Set-NetConnectionProfile -Name "Network" -NetworkCategory Public
Related Articles: