How to change network profile on Windows Server 2016 from Public to Private

Problem:

My network is marked as public when it should be private.

image

Solution:

Right-click the network icon in the task bar

Click Open Network and Sharing Center

image

Click Change adapter settings

Disable any other networks leaving the network you want to change enabled

image

Open File Explorer

Click Network

image

You will see an error about Network discovery

image

Click OK

At the top of the window you will see a Network discovery message

image

Click it and select Turn on network discovery and file sharing

image

Click No

image

Now your network is private

image

You can now enable your other networks.

Comments (4) -

  • This worked after I removed the gateway from the private network.
  • This is how I did it on my 2016 server:
    You can chage the network location via GPO. If you are not in a domain change: Local Computer Policy > Computer Configuration >Windows Settings > Security Settings > Network List Manager Policies >[properties of the the network name in question] >network location tab then pick your Location type.

    ---
    source: www.riptidehosting.com/.../

    Windows Server 2012 R2
    Administrative Tools –> Local Security Policy –> Network List Manager Policies –> (in right window)  Unidentified Networks (double click).   Here you can change the location type to “Public” or “Private” and you can change the user permissions to allow them to change the type.

  • Thanks for the article - whilst it does work, I noticed it also enables a load of File Sharing rules on the Windows Firewall so be aware of that.  I believe doing it through GPO (as Paul suggested above) is a "cleaner" way to do it.

    Why there isn't an obvious way to do this in Windows is beyond me.

Add comment

Loading