Coffeehouse Thread

8 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Windows 8 : How do i change network location for a VPN connection?

Back to Forum: Coffeehouse
  • User profile image

    I have created an IPsec VPN connection. In the Network and Sharing Center i can see that is marked as a "Public network" and i see no option to change that to a "Private network".

    Any idea on how to do that?

  • User profile image

    Microsoft designed this poorly.    

    Easiest way to do it is to connect to the network in question, Open Network and Sharing Centre, and then you'll find the VPN listed under your "real" network connection with a hyperlink below it which reads Home/Work/Whatever, click it, and it will bring up the initial dialog box which you can then click to change it.

    Hyperlink to change VPN mode  

    If you're unable to connect to your VPN due to something this junk screwed up, then use "Change Advanced Sharing Settings" to turn off the "feature" that is causing the problem (customise the type of connection it is).   


  • User profile image

    Problem is that i don't have that option. The VPN connection works just fine and i can connect to the internet.

    Generic Forum Image

  • User profile image

    Alternative methodology:

    Open Regedit
    HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> Windows NT -> Current Version -> NetworkList -> Profiles

    You'll find a list of GUID keys. Each one represents one network, if you click each one you can see their "friendly name" in the ProfileName sub-key/value pair.

    When you locate the connection you want, copy the GUID of that network including the { } characters (right click -> rename -> CTRL-A + CTRL+C -> Escape). Then paste it into the below line replacing the GUID already in place:

    "C:\Windows\system32\rundll32.exe" pnidui.dll,NwCategoryWiz {40087600-D0A0-41C6-B161-AACCD57C9900} 0

    Once you have replaced the GUID in the above paste it either into the Run box (Win+R) or create a new shortcut and paste it into there.

    If you have done it correctly this should bring up the box allowing you to change the network type; if you have done it wrong nothing at all will happen.

    At the top of this box it should list the name of the network you're attempting to change - check this.   

    Showing you where you can find the network name in the config change box

  • User profile image
    Sven Groot

    , fabian wrote

    Problem is that i don't have that option. The VPN connection works just fine and i can connect to the internet.

    In Windows 8 the option can only be accessed via the charms bar. Go to networks there, you'll find an option that's something like "Turn sharing on or off". Despite the confusing and misleading name, that option is actually what you use to change between private and public networks.

    Why they decided to remove this from the Network and Sharing Center and bury it even deeper, I don't know. Especially since it likes to default to private even on direct internet connections with a public IP address (so not terribly secure).

  • User profile image

    hmmm. I see the "Turn sharíng on or off" for my Network connection in the charms bar, but not for my VPN connection. Our VPN server is standard Windows server 2008 R2 btw. Nothing unusual.

    I will wait for the next Windows 8 preview see if this has been changed. Not really a problem for me right now … but strange that it has become that difficult to change ...

  • User profile image

    , Sven Groot wrote

    the charms bar.

     The what? I don't think I've heard that term before... 

  • User profile image

    @ManipUni:OMG You are awesome.


    THANK you so much!!!!!

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.