MacOS - Troubleshooting AnyConnect

This guide aims to assist in the troubleshooting of the AnyConnect client on macOS. 

Uninstalling AnyConnect on macOS

  1. Use Finder to navigate to the Applications folder.

  2. Locate and open the Cisco folder.

  3. Double-click on Uninstall AnyConnect to start the uninstall process.

  4. Follow the instructions to uninstall the AnyConnect VPN program.

Manually Uninstalling AnyConnect

If you run into issues with AnyConnect and it cannot be uninstalled using the Application, follow these steps to manually start the uninstallation process.

  1. Open Terminal (Applications > Utilities > Terminal).

  2. Enter the following shell script at the Terminal.

    sudo /opt/cisco/anyconnect/bin/vpn_uninstall.sh
  3. You will be prompted for your password. Once you enter it, follow the steps to complete the uninstallation.

While AnyConnect is being uninstalled, your Mac may lose internet connectivity briefly. It should regain connectivity once the installation completes.

Cisco AnyConnect States It Is Already Installed

If you attempt to install AnyConnect but it says it is already installed and the previous guides do not work for uninstallation, please follow these steps:

  1. Open Terminal (Applications > Utilities > Terminal).

  2. Enter the following shell script at the Terminal.

    pkgutil --pkgs | grep cisco
  3. You should see the following entry in your Terminal.

    com.cisco.pkg.anyconnect.vpn
  4. Enter the following command to forget the AnyConnect package.

  5. You should receive the following message.

  6. You can now proceed to install Cisco AnyConnect.