An AHK script to automate connecting to multiple VPN Profiles via Cisco Anyconnect. It also can automatically copy the security token from Symantec VIP and also click accept on the banner displayed by Cisco Anyconnect.
Basically to replace anyconnectVPNswitcher based on batch scripts.
Install:
- Have AHK installed on you windows box
- Copy the
anyconnectControll.ahk
toC:\Users\Username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
- Copy
anyconnectControll-Sample.ini
intoC:\Users\Username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\anyconnectControll.ini
and update it with your profiles - Start the
anyconnectControll.ahk
and enjoy
Warning: This script expects you to have your user/pass in clear stored in the ini file. That might be a security concern.