Hi,
Google AI says:
The most likely cause for Cisco Secure Client (version 5.1.20.333) crashing immediately upon launch on macOS Ventura is an issue with the background daemon (vpnagentd), orphaned preference files from the previous version, or blocked system/socket extensions.
Because the installer completed successfully, the underlying system binaries are present, but the GUI application is failing to handshake with the background service or is reading a corrupt preference file. Follow these structured steps to resolve the issue.
1. Reset Leftover Preferences and Cache
Upgrading Cisco clients on macOS frequently leaves behind conflicting application states. Clearing these often resolves instantaneous startup crashes.
- Completely quit the app if it's running in the background.
- Open Finder, press Cmd + Shift + G, and navigate to:
- /opt/cisco/secureclient/vpn/
- Delete any corrupted profile or preferences XML files (such as preferences.xml or custom .xml files). Note: You may want to back them up to your desktop first.
- Go to ~/Library/Preferences/ and look for any file containing com.cisco.Cisco-Secure-Client or com.cisco.anyconnect, then move them to the Trash.
2. Verify and Force Start the Background Daemon
The GUI client will instantly close or flash if the underlying macOS daemon (vpnagentd) is not active.
- Open the Terminal app.
- Check if the service is running by executing:
- bash
sudo launchctl list | grep cisco
- Be careful using code.
- If it is missing or not responding, force-load the daemon with the following command:
- bash
sudo launchctl load -w /Library/LaunchDaemons/com.cisco.secureclient.vpnagentd.plist
- Be careful using code.
- (For older upgrade paths, the path might still be /Library/LaunchDaemons/com.cisco.anyconnect.vpnagentd.plist).
3. Check System Extension Approvals
macOS Ventura strictly enforces security gates on Network Extensions. If the Socket Filter or Core VPN extension failed to prompt for administrative privileges during the installation, the client will immediately exit on launch.
- Go to Apple Menu > System Settings > Privacy & Security.
- Scroll down to the Security section.
- Look for a message stating "System software from application 'Cisco Secure Client' was blocked from loading."
- Click Allow and enter your macOS administrator password.
- Restart your MacBook Pro to allow the kernel extension to attach successfully.
4. Perform a Clean Reinstallation
If the steps above do not stop the flashing crash, the installation package might have misconfigured modules for your Intel architecture. Use the built-in uninstaller rather than dragging the app to the trash to completely purge system extensions.
- Navigate to /Applications/Cisco/ and double-click Uninstall Cisco Secure Client.
- Follow the prompt to remove all components and restart your Mac.
- Re-run the version 5.1.20.333 installer package. When selecting modules, ensure only the VPNcomponent and DART (Diagnostics and Reporting Tool) are selected if you do not use other Cisco services like Umbrella or ISE Posture