This guide aims to assist in the troubleshooting of the AnyConnect client on MacOS.
Uninstalling AnyConnect on MacOS
- Use Finder to navigate to the Applications folder.
- Locate and open the Cisco folder.
- Double-click on Uninstall AnyConnect to start the uninstall process.
- Follow the instructions to uninstall the AnyConnect VPN program.
Manually Uninstalling AnyConnect
If you run into issues with AnyConnect and it cannot be uninstalled, follow these steps to manually start the uninstallation process.
- Open Terminal (Applications > Utilities > Terminal).
Enter the following shell script at the Terminal.
sudo /opt/cisco/anyconnect/bin/vpn_uninstall.sh
You will be prompted for your password. Once you enter it, follow the steps to complete the uninstallation.
Loss of Connectivity
While AnyConnect is being uninstalled, your Mac may lose internet connectivity briefly. It should regain connectivity once the installation completes.
Cisco AnyConnect States it's Already Installed
If you attempt to install AnyConnect and it says it's already installed, and the previous guides do not work for uninstallation, please follow these steps.
- Open Terminal (Applications > Utilities > Terminal).
Enter the following shell script at the Terminal.
pkgutil --pkgs | grep cisco
You should see the following entry in your Terminal.
com.cisco.pkg.anyconnect.vpn
Enter the following command to forget the AnyConnect package.
sudo pkgutil --forget com.cisco.pkg.anyconnect.vpn
You should receive the following message.
Forgot package 'com.cisco.pkg.anyconnect.vpn' on '/'
- You can now proceed to install Cisco AnyConnect.
Related Articles