Has anyone come up with a solution to force a vpn connection at login with windows 10? I am looking for a no touch way to log into the existing windows vpn profile on a windows 10 machine? I found many articles on how to accomplish this in Win7 but, nothing firm on Windows 10. Any ideas? The machines are joined via Azure AD Join. Thank you.
Direct access is your friend
Honestly, the best solution that I’ve found is to use Win10 Enterprise and setup directaccess.
Anyconnect or DirectAccess.
Forticlient for Fortigate devices has this built in.
I am not ready to go to build 1703, but if you are brave enough to try it, they implemented a new “AutoVPN” feature that may work for you.
I created a scheduled tasks GPO that looks for Rasman event id 20267 and then will run the task at VPN Connection. This is assuming you are using windows RAS.
https://www.microsoft.com/en-us/download/details.aspx?id=54183
I don’t have the auto-login answer, but have been looking for it. I just solved on Windows 10 VPN annoyance though… if you have to manually connect to VPN via Windows VPN to many sites, it becomes annoying because connections are NOT in alphabetical order when clicking on the Network Icon.
I just found a video to help with that.
Windows 10 VPN Connections sorted in alphabetical order FIX
You would think this would be default behavior, but it is not?
Thank you but this requires Cisco AnyConnect. We are using Cisco Meraki L2PT vpn via the windows client. I was hoping someone may have a solution for forcing the windows client to run.
In order to use a VBS script, it appears I will have to key in the user and pass to the profile. This would leave it basically in plain text which is a risk. If the windows vpn profile already has the info saved, will I need it in the script?
This seems to be for 1607 (Anniversary Update) rather than 1703 (Creators Update)
Direct Access is a Microsoft technology, nothing to do with Cisco. There is no way that I’m aware of for running the Windows L2TP client either at or before login.