Coffeehouse Thread

8 posts

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

Back to Forum: Coffeehouse
  • User profile image
    fabian

    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
    ManipUni

    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
    fabian

    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
    ManipUni

    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
    fabian

    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
    GoddersUK

    , Sven Groot wrote

    the charms bar.

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

  • User profile image
    brandi97

    @ManipUni:OMG You are awesome.

     

    THANK you so much!!!!!

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.