Security
MSI
Verified recipe
Cisco AnyConnect Silent Install Switches (Intune & SCCM)
Silent install switches
/quiet /norestart
Silent uninstall switches: /quiet /norestart
Intune Win32 app settings
Paste these into the Program and Detection rules steps when you add Cisco AnyConnect as a Win32 app.
Install command
msiexec /i anyconnect-win-x.x.xxxxx-core-vpn-predeploy-k9.msi /quiet /norestartUninstall command
msiexec /x {ANYCONNECT_GUID} /quiet /norestartDetection rule (File)
C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client\vpnui.exe- Device restart behavior: no restart required.
SCCM / ConfigMgr deployment type
Installation program
msiexec /i anyconnect-win-x.x.xxxxx-core-vpn-predeploy-k9.msi /quiet /norestartUninstall program
msiexec /x {ANYCONNECT_GUID} /quiet /norestartValues in braces (for example a product GUID) depend on the exact version you deploy. Swap in the value from your installer, or let InstallMage read it for you.
Deployment notes
VPN client. Pre-deploy MSI available from Cisco. Requires profile XML.
Windows Installer packages install silently with msiexec /i <file>.msi /qn (or /quiet) and uninstall with msiexec /x {ProductCode} /qn.
FAQ
- What are the silent install switches for Cisco AnyConnect?
- Cisco AnyConnect installs silently with /quiet /norestart (it uses a MSI installer). Full command: msiexec /i anyconnect-win-x.x.xxxxx-core-vpn-predeploy-k9.msi /quiet /norestart
- How do I silently uninstall Cisco AnyConnect?
- Run: msiexec /x {ANYCONNECT_GUID} /quiet /norestart
- What detection rule should I use for Cisco AnyConnect in Intune?
- Use a file detection rule. File exists: C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client\vpnui.exe.
- How do I deploy Cisco AnyConnect with Intune?
- Wrap the installer as a Win32 app (.intunewin), set the install and uninstall commands above, and add the detection rule. InstallMage can build the .intunewin and generate these commands from the Cisco AnyConnect installer in under three minutes.