Customizing the AnyConnect Client
import the script myscript.bat, the script appears on the adaptive security appliance as
scripts_OnConnect_myscript.bat. On the remote computer, the script appears as
OnConnect_myscript.bat.
To ensure the scripts run reliably, configure all adaptive security appliances to deploy the same scripts.
If you want to modify or replace a script, use the same name as the previous version and assign the
replacement script to all of the adaptive security appliances that the users might connect to. When the
user connects, the new script overwrites the one with the same name.
Select a file as the source of the script. The name does not need to be the same as the name you provided
Step 5
for the script. ASDM imports the file from any source file, creating the new name you specify for Name
in Step 3.
Table 67-12
Table 67-12
Required Script Locations
OS
Microsoft Windows 7 and Vista
Microsoft Windows XP
Linux
Mac OS X
Windows Mobile
Fields
Import—Launches the Import AnyConnect Customization Objects dialog, where you can specify a file
to import as an object.
Export—Launches the Export AnyConnect Customization Objects dialog, where you can specify a file
to export as an object.
Delete—Removes the selected object.
Platform—The type of remote PC platform supported by the object.
Object Name—The name of the object.
Modes
The following table shows the modes in which this feature is available:
Firewall Mode
Routed
•
Cisco ASA 5500 Series Configuration Guide using ASDM
67-90
shows the locations of scripts on the remote computer:
Directory
%ALLUSERPROFILE%\Cisco\Cisco AnyConnect VPN Client\Scripts
%ALLUSERPROFILE%\Application Data\Cisco\Cisco AnyConnect VPN Client\
Scripts
/opt/cisco/vpn/scripts
Assign execute permissions to the file for User, Group and Other.
Note
/opt/cisco/vpn/scripts
%PROGRAMFILES%\Cisco AnyConnect VPN Client\Scripts
Security Context
Transparent Single
—
•
Multiple
Context
System
—
—
Chapter 67
Clientless SSL VPN
OL-20339-01