11-06-2009 12:56 PM - edited 02-21-2020 03:47 AM
I can't get onConnect or onDisconnect scripts to activate.
They download from ASA, will work if launched manually from command line (win-xp), and preferences "enable connection scripts" is checked.
Any suggestion would be appreciated.
Solved! Go to Solution.
11-09-2009 07:18 AM
No problem, glad I could help. Please remember to rate the posts and mark the question as resolved if you're all set.
-heather
11-07-2009 12:23 AM
Are you able to email me the scripts ? I have been looking for them
Thanks
11-07-2009 06:24 AM
They are available on www.cisco.com.
Currently they are under Support>Download Software> Security> Virtual Private Networks> Cisco VPN Clients> Cisco VPN Client Tools> All Releases>AnyConnect>Sample Scripts
11-07-2009 06:39 AM
It sounds like your AnyConnect might not be able to find or is unabled to parse the correct profile to load that has scripting enabled. Check the event viewer logs to see if the AnyConnect found and is using the xml profile with scripting enabled. If you are getting parse errors, try to use our profile editor tool that automatically creates the XML content for you. The tool should be on cisco.com under Security > Cisco VPN Client Tools > VPN Client Tools and Utilities > Profile Editor.
Once you have the new profile uploaded and applied on your ASA, go to your client PC and remove the old/bad XML profiles.
-heather
11-09-2009 07:04 AM
Suggestions about Event Log and your previous posting about location of sample scripts was exactly what I needed to solve the problem. Much appreciated! (Like the other user, I hadn't been able to find the sample scripts either.)
Perhaps you can forward both pieces of knowledge to the "AnyConnect Administrator Guide 2.4" document authors to include in the next revision? "Troubleshooting Scripts", p97/3-61 and "Note...example scripts..." on multiple pages.
Thanks again.
11-09-2009 07:18 AM
No problem, glad I could help. Please remember to rate the posts and mark the question as resolved if you're all set.
-heather
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide