How to change network from public to private in Windows 10 from CMD?

How to switch from public network to private network in Windows 10 from CMD?

Windows allows you to configure any network in based on two points: the public network and the private network. If it is a public network, other unknown users can connect to it; If, on the other hand, the network is “private”, you know the other devices that connect to the network and therefore you can share resources and files. Likewise, it is convenient to know what the private and public IP address is to ensure the security of your connection.




Next, we introduce you to relevant information about public and private settings in Windows 10 and a procedure for modify the network from CMD.

What is a public network?

A public network is a public access point to the Internet. These types of networks provide the service of connecting to the network of networks in exchange for a payment that is made to a provider. In public networks it is possible log into different servers found in various parts of the world.

When a user connects to a public network, the system interprets that his computer has been connected directly to a network where other users exist. However, you can access the files of others and see other computers that have been connected to the Internet, making it less secure.

How to change network from public to private in Windows 10 from CMD?

Can I hide my equipment on the network?

Yes, it is possible to hide your device when it is connected to the network. Windows can perform this process via the configuration menu or via tools such as TuneUp Utilities. However, total security for your computer is not guaranteed.



What is a private network?

A private network is an Internet connection point configured as “private”, ie the operating system physically isolates a device from the Internet. In this way, users can configure file sharing in according to your needs.


What are the differences between a public network and a private network?

A public network is accessible by any user as long as they make a payment or subscription with an Internet provider. On the other hand, yes accesses a private network only if the device is within range of the network and a credential is required for this.

A public network can be large (regional, national, global), while a private network is invisible to the outside. Self the levels of protection are not activated, computers on a public network are vulnerable. For this reason, it is necessary to protect yourself to browse safely on public Wi-Fi networks. On the other hand, in a private network, VPNs can be created to preserve the safety of the device during the browsing process.

How to change network from public to private in Windows 10 from CMD?

Steps to switch from public network to private network in Windows 10 from CMD

Initially, you need to open the CMD command prompt. To achieve this, go to the option "Search Windows" or “magnifying glass icon”. There, type cmd and hit the "Enter" key. The command window file will open. Right click on it and select "Administrator Permissions".



Get the network connection from the Windows console

To get the network that allows you to easily connect to the Internet, type the following command Get - NetConnectionProfile.

Set the "Private" network in Windows from CMD

Next, you need to write the command Set – NetConnectionProfile –Name “Network” –NetworkCategory Private. In this command it is necessary to replace "Network" with the name of your network. Your network is now "private".


Set the "Public" network from the Windows console

If you want to successfully re-establish the public network, you just have to type the command Set – NetConnectionProfile -Name “Network” –NetworkCategory Public.

add a comment of How to change network from public to private in Windows 10 from CMD?
Comment sent successfully! We will review it in the next few hours.