RECOMMENDED: Click here to fix Windows errors and optimize system performance
In Windows 10/8/7/Vista OS, you can select a network from public or private scenarios to share with devices within range. For the network in public locations, you do not need to share it, while you can allow sharing for devices if your system is limited to your home or private location. These parameters can be managed in the Control Panel under the cover of the Network.
However, if you need to navigate to different locations and change the sharing settings of Network in the short term, there are shortcuts that you can use to easily configure these settings. In this article, we discuss different ways to allow or disallow sharing for the network to which you are connected.
Reading: Difference between public and private network.
Change network status from public to private
Change network status via settings
In general, under Windows 10/8/7, you can click on the network icons in the taskbar > Network > Properties and do what you need here.
1 Under Windows 8.1, press the combination Windows + I on the keyboard to display the settings. Now click on the symbol Network below. You can also click the Network icon in the taskbar notification area.
2 In section Networks, right-click the network whose state you want to change and select Enable or disable sharing.
3 Finally, you can choose between Private and Public for your network. When you Yes, enable sharing or connect to devices, the network changes to Status Private.
Use the Group Policy Editor
1 Press the combination of Windows + R and place gpedit.msc in the Run dialog box .
2 Navigate to the left pane :
Computer Configuration -> Windows Settings -> Security Settings -> Network List Manager Policies
3 In the window above, right-click the network whose status you want to change and click Properties. In the window Properties, you can now easily select the network status. Click Apply followed by OK after making your choice.
Change the network status from the command prompt
Open one administrative command prompt and paste the following command and press Enter :
netsh Delete profile name='HomeNetwork'
This command deletes Public can reconnect the network and this time you can select the mode Private at the time of connection. To view the names of all network profiles stored on your system, run netsh show profiles at the command prompt .
I hope you find this advice useful.