How do I set my wireless network to be private instead of public?

67

19

Trying to maintain good security settings on my laptop, I want my home network to be interpreted as private and the university network at school to be interpreted as public. However, my home network is currently showing as public.

Here is what my Network and Sharing Center looks like:

How do I change my home network from public to private on Windows 8 Consumer Preview?

Tamara Wijsman

Posted 2012-03-01T03:05:19.450

Reputation: 54 163

+1 to remove the -1 somebody did. I've only used XP so I suppose this private/public thing is in windows 8 and maybe a bit earlier. Could be the downvoter thought you weren't using the right terminology. A screenshot may have deterred them from having such a thought. – barlop – 2012-03-01T03:23:34.417

For best security, set all networks as Public. Unless you're hosting file shares or other server-type services from your computer, you shouldn't need to open it up any more than that. – Iszi – 2012-03-01T05:28:54.993

First make sure that your wireless network is private. Unless you've set a password it isn't. – Daniel R Hicks – 2012-11-18T19:26:49.377

Are you asking how to change the network itself? If so, why do you say "How do I change my home network from public to private on Windows 8 Consumer Preview?" Are you trying to change a setting on your network or on your machine? And if on your network, why do you tell us all about your machine and nothing about your network? – David Schwartz – 2013-12-16T00:25:02.197

Back then, interpret them as public or private on Windows 8 Consumer Preview on my laptop. – Tamara Wijsman – 2013-12-16T01:09:01.287

Once again, one should not tell Windows that a network is "private" unless it's encrypted. An out-of-the-box WiFi network is not encrypted and should not be declared "private". – Daniel R Hicks – 2013-12-16T01:54:30.253

1How is that related to this question? Are you trying to address Microsoft? – Tamara Wijsman – 2013-12-17T14:30:40.553

Answers

39

There are a few paths to the correct UI.

"Easiest" : (Use homegroup to get to the UI / No right clicking needed)

  1. Tap Win+W to open the search charm for settings
  2. Type HomeGroup and Click the tile labeled only "HomeGroup"
  3. Click on the "Change sharing settings" button
  4. Then select the "Yes" option which corresponds to private networks

"Most Direct"

  1. Bring up the "Networks" UI via a Click on the network icon from the desktop taskbar or from the system charm (Win-I)
  2. Right Click on your connection and select "Turn Sharing On and OFf"
  3. Then select the "Yes" option which corresponds to private networks

Here is the correct UI:

Network Sharing UI

Ari Pernick

Posted 2012-03-01T03:05:19.450

Reputation: 1 458

2@Ari - good try. I thought this might help, but it appears Sharing does not equate to Public/Private. Another epic Microsoft UI failure. – jww – 2014-12-30T00:31:16.340

5This does not work if the network is detected as 'Public"... but I want to change what it is detected as! – MrHinsh - Martin Hinshelwood – 2012-08-02T22:15:46.423

As of Windows 8 RTM, this does work even with a network detected as Public. – Edward Brey – 2012-12-10T04:53:58.640

2This doesn't really address the question. Huynh Son Tung's answer is more applicable. – Josh – 2014-05-17T13:16:38.690

80

  1. Press Win+R, then type secpol.msc
  2. Click on "Network List Manager Policies"
  3. Double-click on your network
  4. Click on "Tab Network Location"
  5. Set "Location Type" to "Private"

Go back to Network and Sharing Center to check the result.


enter image description here

Huynh Son Tung

Posted 2012-03-01T03:05:19.450

Reputation: 801

2+1 for changing the location type without enabling file sharing. Private networks allow for many other relaxed firewall settings besides those needed for file sharing (e.g. remote desktop). – Jeff Lockhart – 2013-01-30T22:31:33.240

13this worked, I could not get the accepted answer to work at all! – Jeff Atwood – 2013-09-14T09:19:02.593

same, this works beautifully, and instantly. – Kurt Koller – 2013-10-25T22:01:19.873

+1 because this works well on the Windows 8 embedded system I have that has many things disabled which probably caused the accepted answer to fail. – Joel Rondeau – 2013-11-12T20:17:20.457

1This was the hint I needed, the higher voted answer had me turning on sharing for public networks. This answer showed me how to move the improperly designated network from public policy rules to private policy rules. – Grant BlahaErath – 2013-11-15T20:38:21.987

This solution is proper one. Enabling sharing on public networks is not advisable. – Rastislav Komara – 2013-12-22T19:13:46.273

secpol.msc is not included in several editions of Windows 8. – Sopalajo de Arrierez – 2014-03-16T01:26:31.307

1This did not work for me. Windows 8.1 (up to date as of 2014-05-17). – Radim Cernej – 2014-05-17T15:09:51.980

15

Things have changed for Windows 8.1. The public/private setting might be even less discoverable now. Well here is what you need to do:

  • Open the PC Settings (Win+C, Settings, Change PC Settings)
  • Go to Network -> Connections
  • Tap/Click on the network you want to change
  • A page with network details opens
  • There should be a switch "Find devices and content" -- turn it on

Caveats: The switch is not there if the machine is domain-joined and connected to the domain network. I think the switch is also missing if you are connected to an unsecure WiFi.

See also http://windows.microsoft.com/en-us/windows-8/find-pcs-devices-content-on-network.

Tomas Karban

Posted 2012-03-01T03:05:19.450

Reputation: 251

1The switch "Find devices and content" doesn't show up for me, running as user, not administrator. – Tom Anderson – 2014-07-06T07:13:52.600

There is no switch for me as well for "Find devices and content" on my HP notebook with Windows 8.1. My router requires a password. Don't know if there is more to it to make it secure WiFi - Windows says that the security type is WPA2-Personal. I don't know what a domain-joined network is, but I would think I don't have it. Only my laptop and a cord-attached PC on this network. Didn't do anything fancy with it. Incredible that Microsoft makes it so hard - or possibly impossible - to do. – Scooter – 2015-01-14T02:46:42.290

My office laptop had some settings which prevented me from starting nodejs on private network turning the button off made my network public and I can develop at home! – Rishul Matta – 2016-06-12T06:10:35.273

1This worked for me. Windows 8.1, up-to-date as of 2014-05-17. – Radim Cernej – 2014-05-17T15:10:31.070

7

using Powershell

Set-NetConnectionProfile -interfacealias <Ethernet name> -NetworkCategory [Public,Private,DomainAuthenticated]

so..

Set-NetConnectionProfile -interfacealias Draadloos -NetworkCategory Private

credit to an account called "Reader"

BozoJoe

Posted 2012-03-01T03:05:19.450

Reputation: 195

5

The HomeGroup troubleshooter worked for me. It noticed that I didn't have any private networks, and fixed the problem by turning my "public" network into a private network.

Neil

Posted 2012-03-01T03:05:19.450

Reputation: 598

2

While the answer about secpol.msc is great, on my win8.1 there is no such program. I came up with another simple option: forget the network and add it again with the proper settings.

You can do this by clicking on the wireless icon, manage connection settings, manage known networks, select the network by clicking on it, click on forget network. After this you need to connect to the network again with the wifi password and select that you share printers and files, so Windows will put it into the private network category.

inf3rno

Posted 2012-03-01T03:05:19.450

Reputation: 931

2

Correct me if I'm wrong here, but you are trying to keep good security posture by making the change from category of public to private on your home network?

Note that categorizing the network as public is actually more secure in this particular setting. If you change from public to private then you open yourself up more-so. It's a bit of a false positive if you take it at face value. It is asking you if this network is considered a public or private and not actually making it public or private.

justatech

Posted 2012-03-01T03:05:19.450

Reputation: 21

0

on win10 it is quite easy....

  1. left click on your network icon in the task bar. This will list all the currently available wifi connects
  2. left click on your wifi connection. It will be top of the list and have Connected, secured. Also under that will be Properties (underlined)
  3. left click Properties
  4. a settings page will pop up. Right click on the private button and is done!

Shane Bush

Posted 2012-03-01T03:05:19.450

Reputation: 1