How to keep VPN Advanced Settings off after restart?


  1. Posts : 118
    Windows 10 Pro
       #1

    How to keep VPN Advanced Settings off after restart?


    Hi,

    I would like my VPN Advanced Settings to remain Off after restart. They turn back on each time. Seems like Windows should save that setting?
    Checked Services.msc & msconfig but don't see anything to disable that looks like VPN.

    HKEY_CURRENT_USER > Software > Microsoft > Windows > CurrentVersion >Internet Settings > Connections
    has no registry entries with VPN names, probably because I've never added any VPN connections.

    I am signed in with a Microsoft account & do have Sync turned on for this PC. The only other PC running Windows 10 has a local account.

    Can anyone tell me how to permanently disable VPN Advanced Settings?

    thank you,
    richie
      My Computers


  2. Posts : 260
    Win 10 Pro X64
       #2

    Seems you need to keep Remote Access Connection Manager (RasMan) and Secure Socket Tunneling Protocol Service (SstpSvc) services enabled as either Automatic or Manual as only changing the below values in the registry doesn't keep it off

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\Connectivity\AllowVPNOverCellular
    Change Value entry to 0

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\Connectivity\AllowVPNRoamingOverCellular
    Change Value entry to 0

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasMan\Parameters\Config\VpnCostedNetworkSettin gs
    NoRoamingNetwork set to 0


    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\Connectivity\AllowCellularData
    Change Value entry to 0

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\Connectivity\AllowCellularDataRoaming
    Change Value entry to 0
      My Computer


  3. Posts : 118
    Windows 10 Pro
    Thread Starter
       #3

    Hi shimshom,

    It appears you have identified two services that manage VPN connections. Thanks for doing the leg work for me :0)

    I have disabled Remote Access Connection Manager. Guess could have modified the registry for
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RasMan and place a Start registry key of value 4 for disabled. per this article How to Start/Stop Remote Access Connection Manager service
    But perhaps as you said that value won't be retained. I'll play with it a bit.
    & again thank you
    :)
      My Computers


  4. Posts : 260
    Win 10 Pro X64
       #4

    You're welcome and there must be another setting somewhere so even when these services are disabled the sliders stay in the off position but so far I can't find it
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:53.
Find Us




Windows 10 Forums