AnyConnect 2.4 client on Windows. Can't get the OnConnect scripting to work Note1) client profile XML has 'enablescripting'=true and downloads to the client from the ASA just fine. Note2) The OnConnect script (OnConnect.cmd) is a simple drive mapping for the XP client. It runs fine when run locally on the XP system.
Problems: a) As a test, I've put the local OnConnect.cmd file is in the 'All Users'\Application Data\Cisco\Cisco ANyConnect VPN Client\Scripts directory as stated in the docs - I have a Script directory too as I was unsure which name was correct. When starting the AnyConnect 2.4 client, all looks good, but the script does not execute. b) When I can get the local OnConnect to work, then I need to know where on the ASA to place the OnConnect script - ASDM Configuration/Remote Access VPN, Network (Client) Access/AnyConnect Customization/Binary? not sure.