Enable Secure Client Scripts
You enable the Secure Client scripts feature in the VPN profile, under the Cisco Secure Client settings.
-
Navigate to Connect > End User Connectivity > Virtual Private Network.
-
Under VPN Profiles, choose a profile to edit.
-
Click Cisco Secure Client Configuration in the left panel.
-
Under Client Settings, check Enable Secure Client Scripts.
- Optionally, check Terminate Script on Next Event to enables Secure Client to terminate a running script process if a transition to another scriptable event occurs. For example, the client terminates a running On Connect script if the VPN session ends and terminates a running On Disconnect script if Cisco Secure Client starts a new VPN session. On Microsoft Windows, the client also terminates any scripts that the On Connect or On Disconnect script launched, and all their script descendants. On macOS and Linux, the client terminates only the On Connect or On Disconnect script; it does not terminate child scripts.
- Enable Post SBL on Connect Script, enabled by default, lets the client launch the On Connect script (if present) if SBL (Start Before Login) establishes the VPN session. The On Connect script is not launched from the SBL GUI but may be launched from the second GUI after login, depending on the PostSBLScriptingBehavior preference; on Windows, it can mimic logon scripts, so administrators might suppress it in SBL mode to avoid redundancy. For more information, see About Start Before Login.