Windows 10: Set Network Location to Private - Which is most suited method?

Discus and support Set Network Location to Private - Which is most suited method? in Windows 10 Network and Sharing to solve the problem; I wish to set my Ethernet and WiFi networks to Private, but am having problems doing so. I'm looking at this Tutorial, Set Network Location to... Discussion in 'Windows 10 Network and Sharing' started by sassofalco, Jul 11, 2018.

  1. Set Network Location to Private - Which is most suited method?


    I wish to set my Ethernet and WiFi networks to Private, but am having problems doing so.

    I'm looking at this Tutorial, Set Network Location to Private or Public in Windows 10 | Windows 10 Tutorials , but can't determine which is the best method to use to ensure success.


    Set Network Location to Private - Which is most suited method? [​IMG]

    Set Network Location to Private - Which is most suited method? [​IMG]
    .... these show my current WiFi and Ethernet Networks status.

    Appreciate clear advice or direction.

    :)
     
    sassofalco, Jul 11, 2018
    #1
  2. redturtle Win User

    Set Network Location to Private or Public in Windows 10  


    Hi Brink and thank you for the welcome *Smile

    I tried what you suggested but when doing this, i noticed that whenever i am connected to my VPN, the Windows network shows up as "unidentified network" instead of network 1,2,3 or whatever. So when i went into regedit and looked for networks, i found some but none called unidentified.
    There was one network with the value 0 so i changed it to 1 (private) but after checking, my VPN connection still shows as public.

    I am not really sure why it says unidentified network in Windows when i am connected to the VPN but it seems that this is the cause for the problem. If i could only find the VPN network in the list of networks in regedit, i think i would be able to change the value to 1.

    Hmm..not sure how to proceed with this. Any ideas?


    Set Network Location to Private - Which is most suited method? [​IMG]
     
    redturtle, Jul 11, 2018
    #2
  3. sml156 Win User
    Set Network Location to Private or Public in Windows 10


    Hi Brink great job I have one more way of changing the network location so if you ever get the time to add an option 4 here it is, Feel free to delete this post if you do.

    Option 4 To Change Network Location in Settings in Powershell

    open Powershell as an administrator


    Set Network Location to Private - Which is most suited method? [​IMG]


    Enter this command
    Code: Get-NetConnectionProfile[/quote]
    Set Network Location to Private - Which is most suited method? [​IMG]


    Find the interface you would like to change, In my case it is Ethernet-2.
    Note: Originally my interface was called " Ethernet 2 " Powershell would not accept the following commands with a space so I renamed the interface to " Ethernet-2 " .

    To change the interface type or copy paste the following command

    Code: Set-NetConnectionProfile -InterfaceAlias Ethernet-2 -NetworkCategory Private[/quote] Or to set it to Public

    Code: Set-NetConnectionProfile -InterfaceAlias Ethernet-2 -NetworkCategory Public[/quote]
    Set Network Location to Private - Which is most suited method? [​IMG]


    Note you can also change the interface by using other names
    Code: Name : XXXXX InterfaceAlias : Wi-Fi InterfaceIndex : 8 NetworkCategory : Public IPv4Connectivity : Internet IPv6Connectivity : NoTraffic Name : Unidentified InterfaceAlias : Ethernet 2 InterfaceIndex : 14 NetworkCategory : Public IPv4Connectivity : NoTraffic IPv6Connectivity : NoTraffic Set-NetConnectionProfile -InterfaceIndex 14 -NetworkCategory Private Set-NetConnectionProfile -IPv4Connectivity NoTraffic -NetworkCategory Private and so on.[/quote] No matter what I do the changes are not persistent after a reboot no matter what method I have tried in your tutorial I think it has something to do with " Network location Awareness " I think I will have to make a automated task in task scheduler to make it persistant.

    Before and after picks of Network and sharing center

    Set Network Location to Private - Which is most suited method? [​IMG]



    Set Network Location to Private - Which is most suited method? [​IMG]
     
    sml156, Jul 11, 2018
    #3
  4. Hadramawt Win User

    Set Network Location to Private - Which is most suited method?

    Set Network Location to Private or Public in Windows 10  


    Thanks a lot, Brink for your excellent tutorial as always.
    I don't know if you make those scree shots on Windows 10 Pro machine since I have a Windows 10 Home 64-bit on my PC. However, I didn't see any 'properties' in Changing Network Location of Wi-Fi Network.( as you said "B) Click/tap on the wireless network name (ex: Brink-Router2) you are currently connected to, click/tap on Properties, and go to step 7 below. (see screenshot below)

    Set Network Location to Private - Which is most suited method? [​IMG]



    To change the Network location of WiFi Network, I had to select 'advance option', and then Turn on/off Make this PC discoverable
     
    Hadramawt, Jul 11, 2018
    #4
Thema:

Set Network Location to Private - Which is most suited method?

Loading...
  1. Set Network Location to Private - Which is most suited method? - Similar Threads - Set Network Location

  2. Network Settings - Private or Public

    in Windows 10 Gaming
    Network Settings - Private or Public: I currently have two machines, one runs Win11 and the other Win8. Both connect via ethernet cable to a netgear switch which in turn ethernets to the BT Hub - so both are connected to the Internet. I run AVG VPN on both. I recently made both machines discoverable and can...
  3. Network Settings - Private or Public

    in Windows 10 Software and Apps
    Network Settings - Private or Public: I currently have two machines, one runs Win11 and the other Win8. Both connect via ethernet cable to a netgear switch which in turn ethernets to the BT Hub - so both are connected to the Internet. I run AVG VPN on both. I recently made both machines discoverable and can...
  4. public or private network settings

    in Windows 10 Network and Sharing
    public or private network settings: windows 10, network created as private to enable sharing of network devices, but the public network takes over when rebooting, how to make the private settings stay primary? aslo the subnet pickups up the wifi factory address as 192.168.7.1 and locks to 255.255.255.0 no...
  5. Which is safer from intrusion at home? Public network or private network?

    in Windows 10 Network and Sharing
    Which is safer from intrusion at home? Public network or private network?: Hi, I have reason to believe that my computer activity is being monitored by a neighbour and I'd like to know which setting would provide me with the maximum protection against such an intrusion at home. Would it be a public network or a private network? The descriptions I...
  6. private network setting

    in Windows 10 Network and Sharing
    private network setting: i can not open but i see my private folder on my network (i can open public folder only https://answers.microsoft.com/en-us/windows/forum/all/private-network-setting/8690d8e2-4dad-4da2-be83-4f06942f6eab
  7. Setting public to private networks

    in Windows 10 Network and Sharing
    Setting public to private networks: I have a VPN for internet traffic which has a virtual adaptor, that is set to private. But the real adaptor is set to a public network and I want to set it to see other devices, therefore I want to change it to private how do I do this in build 1809? Winver says I have win...
  8. change network location from public to private

    in Windows 10 Network and Sharing
    change network location from public to private: Hi guys I am running a laptop with windows 10 , so how do I change the network profile from public to private . thanks 86368
  9. Public/Private network will not change - all methods not working

    in Windows 10 Network and Sharing
    Public/Private network will not change - all methods not working: Can’t change a publicnetwork to a private one. Tried all posts on what to do - nothing works – remainspublic. Example – when in file explorer – try network – “error” need to makenetwork “accessible click here” which should change to private – does not work. A few weeks, ago...
  10. Set Network Location to Private or Public in Windows 10

    in Windows 10 Tutorials
    Set Network Location to Private or Public in Windows 10: How to: Set Network Location to Private, Public, or Domain in Windows 10 How to Set Network Location to Private, Public, or Domain in Windows 10 A network location identifies the type of network that a PC is connected to with a network adapter. By default, the first...

Users found this page by searching for:

  1. persistent set-netconnectionprofile

    ,
  2. powershell unidentified network