Windows 10: How to configure VPN connection to connect automatically


  1. Posts : 148
    Windows 10 Pro Creator Editiion
       09 May 2017 #1

    How to configure VPN connection to connect automatically


    I have a VPN that I wish to connect to every time I start the system, instead of starting it manually.

    How can I do that in Windows 10 (I'm fairly sure it could be done in Windows 7)?

    Thanks
    Dave
    Last edited by perdrix; 10 May 2017 at 09:27.
      My ComputerSystem Spec


  2. Posts : 346
    Windows 10 Pro 1709 16299.309
       10 May 2017 #2

    Marking this thread with similar interest.
      My ComputersSystem Spec


  3. Posts : 148
    Windows 10 Pro Creator Editiion
    Thread Starter
       10 May 2017 #3

    I found a method that uses the task scheduler which is described here:

    https://superuser.com/questions/7377...vpn-at-startup

    which seems to work OK, but I wonder if there's a "better way"?
      My ComputerSystem Spec


  4. Posts : 4,474
    Mac OS High Sierra 10.13.5
       10 May 2017 #4

    The VPN has to know that it is set as a task to check for connection and start using the VPN.

    Are you using the built in VPN that Microsoft uses? I have had no problems with OpenVPN with my SmartDNS proxy that I use for Kodi.
      My ComputerSystem Spec


  5. Posts : 148
    Windows 10 Pro Creator Editiion
    Thread Starter
       10 May 2017 #5

    Yes, I'm using the L2TP builtin VPN client.

    Dave
      My ComputerSystem Spec


  6. Posts : 346
    Windows 10 Pro 1709 16299.309
       11 May 2017 #6

    Has anybody tried it using the start task method ?

    I have a StrongVPN setup. When I first tried it using their client software and PPTP, it would start automatically. But I had terrible latency issues with PPTP. I setup a SSTP connection. It works great (Fixed the latency issues), but even using their client software, it starts running at boot up, but does not connect. I have to do that manually. The other issue is what happens if the VPN connection goes down during a session ? I know with the client software, it detects when the connection gets dropped and re-connects automatically. I have an open ticket with StrongVPN on the connect issue, however no solution yet.
      My ComputersSystem Spec


 

Related Threads
I have a preferred WiFi Connection, but Windows 10 seems to require that I manually connect to it. How can I make this automatic? In case it matters, I use an ethernet connection too, and run both, because they are different subnets each with...
I have a Windows 10 server with an incoming VPN connection created. Right now it specifies a range of IP addresses for the client to use. The alternative is to set it to have your DHCP assign the client's IP address instead. This is what I would...
I've done everything according to the book (or manual if you want) and mapped my OneDrive so I won't have all the cloud files stored on my hard drive (small tablet) and it works as long as I open the drive (click on it) in File Explorer, despite...
Hi, I have been using the windows shared internet option between two laptops (one connected trough wifi to internet and the second laptop connected with the first one with an ethernet cable), but out of the sudden the second laptop was unable to...
Hi Everyone, I have noticed since upgrading to Windows 10 I am unable to Log into my work network which uses Server 2008. It keeps giving me the following error. I have added it to the compatibility mode settings but still get the same error....
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 05:57.
Find Us