run a program with anyconnect client

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2012 08:50 AM - edited 02-21-2020 06:19 PM
I am using anyconnect client 2.3.2016. I am wanting to know if i can run a program(specifically a login script)automatically upon vpn startup. I am needing to run this client due to application reasons.
- Labels:
-
AnyConnect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2012 09:17 AM
Hi,
Please check this out:
Keep me posted.
Thanks.
Portu.
Please rate any posts you find helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2012 09:31 PM
I have to do this with a c1900isr. thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2012 03:32 AM
hi mialbert,
you will not be able to push the scripts from the router, however the doc that Portu referred to does say this:
Or use an enterprise software deployment system to deploy scripts manually to the VPN endpoints on which you want to run the scripts.
If you use this method, use the script filename prefixes below:
–
OnConnect
–
OnDisconnect
Install the scripts in the directory shown in Table 3-8.
In other words, rename your script to something like OnConnect_login.bat and put it in the appropriate directory, and it should work.
Note that this applies to Anyconnect 2.4 and later so you would need to upgrade.
hth
Herbert
