Uninstalling Cisco Anyconnect Mac

Posted onby

NOTE: Before installing the Cisco AnyConnect VPN Client you will need Admin rights to your machine. You may have to arrange this through your relevant local IT support.

This page provides instructions on how to install and connect to the Cisco AnyConnect VPN Client for Mac. The Cisco AnyConnect VPN client is a web-based VPN client that does not require user configuration. VPN, also known as IP tunneling or Virtual Private Network, is a secure method of accessing your Pace University computer resources. How to uninstall Cisco AnyConnect on a Mac computer. This guide is not intended for a Deakin-managed (SOE) Mac machine. It is only applicable to the following computers: a non-Deakin (BYO) Mac machine; a Deakin-owned Mac machine that has a non-Deakin image installed; Note: You need admin rights on your computer to be able to complete this.

Cisco

In the event that your client is not installed automatically, the screen below will appear. Just click on the link within the window to start the installation process.

Next, either click save to save the AnyConnect client locally to a temp folder or install immediately by clicking run.

When the AnyConnect client is installed, to connect for the first time enter campusvpn.warwick.ac.uk in the connect to box, followed by your username and password then click Connect.

Using the Manual Install Option on Mac OS if the Java Installer Fails

If you use WebLaunch to start AnyConnect on a Mac and the Java installer fails, a dialog box presents a Manual Install link. Proceed as follows:

1. Click on the circled link within the Manual Installation window below.

(The Mac OS link details may vary depending on your Mac OS)

(A dialog box presents the option to save the vpnsetup.sh file.)

Uninstalling Cisco Anyconnect Mac

2. Save the vpnsetup.sh file on the Mac.

3. Open a Terminal window and use the CD command to navigate to the directory containing the file saved.

4. Enter the following command: sudo /bin/sh vpnsetup.sh
(The vpnsetup script starts the AnyConnect installation)

5. Following the installation, choose Applications > Cisco > Cisco AnyConnect VPN Client to initiate an AnyConnect session.

Note: You may need to enter campusvpn.warwick.ac.uk in the connect to box, followed by your username and password then click Connect.

Manual Installation for Ubuntu Linux 14.04, 16.04 (LTS) - 64-bit only

Uninstall Cisco Anyconnect Mac Script

Note: Version 17.04 is End Of Life.

Step 1 Enter the following command to install the 64-bit library:

Step 2 Download the 64-bit version of Firefox from http://www.mozilla.com and install it on /usr/local/firefox.
The client looks in this directory first for the NSS crypto libraries it needs.

Step 3 Enter the following command to extract the Firefox installation to the directory indicated:

Step 4 Run Firefox at least once as the user who will use AnyConnect.

Doing so creates the .mozilla/firefox profile in the user's home directory, which is required by
AnyConnect for interacting with the Firefox certificate store.

Step 5 Install the AnyConnect client in standalone mode.

Step 6 Launch your web browser and go https://vpn.warwick.ac.uk

  • Log in with your IT Services username and password.
  • The Java Applet will run and try and install the client automatically, which will fail. However, you will be offered a link to download the client for manual installation.
  • Download the file which is called vpnsetup.sh

Step 7 Launch Gnome-Terminal (in the GNOME Menu under Applications -> Accessories -> Terminal) and navigate to where you saved the file and run it. If you don't know where it was saved it's probably in a directory called Downloads.

You can then launch the client using the icon 'Cisco AnyConnect VPN Client' in the GNOME menu under Applications -> Internet.
When you run the client for the first time you may have to enter vpn.warwick.ac.uk in the 'Connect to:' field.

If you want to launch the Cisco VPN client from the command line you can do so with

Connecting to the campus VPN using OpenConnect client on Linux.

Tested with GNOME desktop environment on Fedora 26 and CentOS 7.4.

Note: The OpenConnect client is unsupported by Cisco, and is for use as an alternative to the Cisco AnyConnect client for Linux users.

1] Install these two packages: NetworkManager-openconnect NetworkManager-openconnect-gnome

2] Run this command as a regular user

To connect to the VPN you can use this command

or use the GNOME System Menu

Uninstall Cisco Anyconnect Mac

Uninstalling the AnyConnect client

Windows:

  1. Open the Control Panel.
  2. Open Programs and then Programs and Features (Windows 7 & Vista) or Add/Remove Programs (Windows XP).
  3. Find the entry for Cisco AnyConnect VPN Client, select it and then click on the Uninstall button (Windows 7 & Visa) or Remove button (Winows XP) to uninstalled it.

Mac OSX:

  1. Open the Applications folder and then the Cisco folder.
  2. Double click on Uninstall AnyConnect to start the uninstall process.
  3. Follow the prompts to uninstall

Linux:

Uninstalling Cisco Anyconnect Mac Client

  1. Uninstalling the client
  2. The client comes with an uninstallation script
  3. However it doesn't actually uninstall everything properly, it removes files but leaves behind directories. You can clean up what it leaves behind by deleting the directory /opt/cisco/
  4. The per-user configuration is stored in your home directory in a file called .anyconnect
Uninstalling Cisco Anyconnect Mac

This issue occurs only on Macs.

Uninstall Cisco Anyconnect Vpn

If you try to install the VPN but everything is greyed out or you're getting the error 'a newer version is already installed,' this is because there is a previous installation of the Cisco Anyconnect VPN still on your machine.

First check if it is still installed:

  1. From the Finder go to the Application folder.
  2. Look for the 'Cisco' folder and open the folder.
  3. Then double click on 'Uninstall Anyconnect' start uninstall process.
  4. Follow instructions to uninstall VPN program.
  5. Reboot.

If nothing is there here is the procedure for manually uninstalling the AnyConnect client:

  • Run the following shell script from the Terminal:
    sudo /opt/cisco/vpn/bin/vpn_uninstall.sh

Cannot Uninstall Cisco Anyconnect

You will be prompted for your password. Once you enter it, just follow the steps and reboot.

Cisco

If you are still having problems, run this command from the Terminal and then reboot:

sudo pkgutil --forget com.cisco.pkg.anyconnect.vpn

In rare cases, you may need to run additional commands to force your Mac to 'forget' all of the additional components that were installed along with the VPN.

Paste the following commands, one bullet point at a time, into Terminal. Some or all of those commands may return an error. You can ignore the errors.

Uninstall Cisco Anyconnect Mac Terminal

  • sudo pkgutil --forget com.cisco.pkg.anyconnect.fireamp
  • sudo pkgutil --forget com.cisco.pkg.anyconnect.dart
  • sudo pkgutil --forget com.cisco.pkg.anyconnect.websecurity_v2
  • sudo pkgutil --forget com.cisco.pkg.anyconnect.nvm_v2
  • sudo pkgutil --forget com.cisco.pkg.anyconnect.umbrella
  • sudo pkgutil --forget com.cisco.pkg.anyconnect.iseposture
  • sudo pkgutil --forget com.cisco.pkg.anyconnect.posture
  • sudo rm -rf /opt/cisco