Cisco Cisco ScanSafe Wi-Fi Hotspot Security
Cisco CWS
– AnyConnect Web Security Deployment Guide
27
Appendix
The AnyConnectInstallationScript.CMD, AnyConnectRemovalScript.CMD, GetChassisType.VBS, and
DetectLaptop.VBS scripts below are examples and provided as-is. Although they are safe and known to
work as intended, they are not officially supported by Cisco TAC. However, you may find support at the
DetectLaptop.VBS scripts below are examples and provided as-is. Although they are safe and known to
work as intended, they are not officially supported by Cisco TAC. However, you may find support at the
AnyConnectInstallationScript.CMD is the main script that performs the installation.
AnyConnectRemovalScript.CMD is used to remove the AnyConnect client when installed with the hidden
option.
GetChassisType.VBS is a tool used to determine what type of form factor the endpoint is.
DetectLaptop.VBS is called by the installation script when the detect laptop option is enabled.
VPNDisable_ServiceProfile.XML is used on OS X machines to prevent the installation of the AnyConnect
VPN client.
AnyConnectInstallationScript.CMD, GetChassisType.VBS, and DetectLaptop.VBS should be used
together and reside in the same folder for proper execution.
AnyConnectInstallationScript.CMD and AnyConnectRemovalScript.CMD must reside in the same folder
as the AnyConnect Security Mobility MSI files for the autodetect option to work (i.e. SOURCE=0).
Note that AnyConnectInstallationScript.CMD and AnyConnectRemovalScript.CMD are a Windows
command shell scripts. GetChassisType.VBS and DetectLaptop.VBS are visual basic scripts. Please be
mindful when assigning the file extensions as noted below.
To create the scripts, copy the text for each script as instructed below, paste into a simple text editor with
word wrap disabled, and save the file with the proper file extension as noted in the names of each file.