Uninstalling CISCO AnyConnect VPN on a MacOS

  1. Knowledge Base
  2. Systems Administration
  3. Uninstalling CISCO AnyConnect VPN on a MacOS

Navigate to the Applications folder in Finder.Open the for the Cisco folder. Double click on Uninstall AnyConnect to start the uninstall process and follow the visual instructions to remove.

If the GUI removal tool does not work you may run a manual uninstall from the terminal

Manual Uninstall from Terminal

As root, run the following command from the Terminal
To open the Terminal, navigate to Application -> Other -> Terminal

On New Versions of VPN:

sudo  /opt/cisco/anyconnect/bin/vpn_uninstall.sh

On Older Versions of VPN:

sudo /opt/cisco/vpn/bin/vpn_uninstall.sh

When prompted for your password enter it and press enter.

If that does not work try the instructions from this MIT resource on this topic:

If Cisco Anyconnect installation complains that a version is already installed:
sudo -s
rm -rf /System/Library/StartupItems/CiscoVPN
rm -rf /Library/StartupItems/CiscoVPN
rm -rf /System/Library/Extensions/CiscoVPN.kext
rm -rf /Library/Extensions/CiscoVPN.kext
rm -rf /Library/Receipts/vpnclient-kext.pkg
rm -rf /Library/Receipts/vpnclient-startup.pkg
reboot

To remove version 4.1.08005
sudo -s 
rm -rf /Cisco\ VPN\ Client.mpkg 
rm -rf /com.nexUmoja.Shimo.plist 
rm -rf /Profiles 
rm -rf /Shimo.app exit



sudo -s 
rm -rf /Library/Application\ Support/Shimo 
rm -rf /Library/Frameworks/cisco-vpnclient.framework 
rm -rf /Library/Extensions/tun.kext 
rm -rf /Library/Extensions/tap.kext 
rm -rf /private/opt/cisco-vpnclient 
rm -rf /Applications/VPNClient.app 
rm -rf /Applications/Shimo.app
rm -rf /private/etc/opt/cisco-vpnclient 
rm -rf /Library/Receipts/vpnclient-api.pkg 
rm -rf /Library/Receipts/vpnclient-bin.pkg 
rm -rf /Library/Receipts/vpnclient-gui.pkg 
rm -rf /Library/Receipts/vpnclient-profiles.pkg 
rm -rf ~/Library/Preferences/com.nexUmoja.Shimo.plist 
rm -rf ~/Library/Application\ Support/Shimo 
rm -rf ~/Library/Preferences/com.cisco.VPNClient.plist 
rm -rf ~/Library/Application\ Support/SyncServices/Local/TFSM/com. nexumoja.Shimo.Profiles 
rm -rf ~/Library/Logs/Shimo* 
rm -rf ~/Library/Application\ Support/Shimo 
rm -rf ~/Library/Application\ Support/Growl/Tickets/Shimo.growlTicket exit

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

Leave a Reply

Your email address will not be published. Required fields are marked *