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

45

Solution 1

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

Solution 2

  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

Solution 3

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.

Solution 4

using Powershell

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

so..

Set-NetConnectionProfile -interfacealias Draadloos -NetworkCategory Private

credit to an account called "Reader"

Solution 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.

Share:
45

Related videos on Youtube

user2565974
Author by

user2565974

Updated on September 18, 2022

Comments

  • user2565974
    user2565974 almost 2 years

    so i am learning to write functions. Now i know how to echo stuff into a foreach but i do not know how to print a single row outside a foreach (like i only have 1 row in my table and want to print the id and username out of it) how do i do this? my function :

    public function gegevens(){
        $stmt = $this->conn->prepare("SELECT * FROM gegevens_locatie");
        $stmt->execute();
    
        $result = $stmt->fetchAll();
    
        //Return result
        return $result;
    }
    

    when i call that function on my other page i call it with :

    require_once 'class/class.overig.php';
    $overig = new OVERIG();
    

    i have tried stuff like print_r($overig->gevens()) and with a echo but i cant seem to make it work. So how can i do this?

    • barlop
      barlop over 12 years
      +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.
    • Iszi
      Iszi over 12 years
      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.
    • Daniel R Hicks
      Daniel R Hicks over 11 years
      First make sure that your wireless network is private. Unless you've set a password it isn't.
    • David Schwartz
      David Schwartz over 10 years
      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?
    • Tamara Wijsman
      Tamara Wijsman over 10 years
      Back then, interpret them as public or private on Windows 8 Consumer Preview on my laptop.
    • Daniel R Hicks
      Daniel R Hicks over 10 years
      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".
    • Tamara Wijsman
      Tamara Wijsman over 10 years
      How is that related to this question? Are you trying to address Microsoft?
    • Your Common Sense
      Your Common Sense almost 8 years
      what does it mean, "i cant seem to make it work"? what output you get?
  • MrHinsh - Martin Hinshelwood
    MrHinsh - Martin Hinshelwood almost 12 years
    This does not work if the network is detected as 'Public"... but I want to change what it is detected as!
  • Edward Brey
    Edward Brey over 11 years
    As of Windows 8 RTM, this does work even with a network detected as Public.
  • Jeff Lockhart
    Jeff Lockhart over 11 years
    +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 Atwood
    Jeff Atwood almost 11 years
    this worked, I could not get the accepted answer to work at all!
  • Kurt Koller
    Kurt Koller over 10 years
    same, this works beautifully, and instantly.
  • Joel Rondeau
    Joel Rondeau over 10 years
    +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.
  • Grant BlahaErath
    Grant BlahaErath over 10 years
    This 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.
  • Rastislav Komara
    Rastislav Komara over 10 years
    This solution is proper one. Enabling sharing on public networks is not advisable.
  • Sopalajo de Arrierez
    Sopalajo de Arrierez over 10 years
    secpol.msc is not included in several editions of Windows 8.
  • Mangesh Sambare
    Mangesh Sambare about 10 years
    This doesn't really address the question. Huynh Son Tung's answer is more applicable.
  • user1133203
    user1133203 about 10 years
    This did not work for me. Windows 8.1 (up to date as of 2014-05-17).
  • Tom Anderson
    Tom Anderson almost 10 years
    The switch "Find devices and content" doesn't show up for me, running as user, not administrator.
  • jww
    jww over 9 years
    @Ari - good try. I thought this might help, but it appears Sharing does not equate to Public/Private. Another epic Microsoft UI failure.
  • Rishul Matta
    Rishul Matta about 8 years
    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!
  • Tilo
    Tilo about 7 years
    btw DomainAuthenticated can't bet changed manual. see here serverfault.com/q/814557/153084. and here social.technet.microsoft.com/Forums/en-US/…