cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1336
Views
1
Helpful
2
Replies

connect VPN automatically at Windows startup?

GSKnick
Level 1
Level 1

Is there a way to configure the VPN UI to connect automatically at startup?  If I try to use vpncli to do it, it complains "Connect not available. Another Cisco Secure Client application is running".  I can disable automatic startup of the UI and write a script that uses vpncli to connect and then starts the UI afterward, but that seems awfully circuitous.

2 Replies 2

@GSKnick you can use Trusted Network Detection to automatically connect to the VPN if connected to an untrusted network. If connected to the LAN (trusted network) the VPN won't connect.

https://www.cisco.com/c/en/us/td/docs/security/vpn_client/anyconnect/anyconnect410/administration/guide/b-anyconnect-admin-guide-4-10/configure_vpn.html#id_100236

 

D'oh!  In looking for how to get to the VPN profile editor, I found the option I had overlooked right near the top of the Preferences dialog:  Start VPN when Cisco Secure Client is started.