“vpnagentd” will damage your computer. (Cisco AnyConnect Error on MacOS

Fix this Error by uninstalling Cisco AnyConnect and reinstalling (recommended) or in a pinch just change perms

Tech Notes
3 min readOct 26, 2023

My Specs

Error Message

Clicking the Show in Finder button takes me to here:

Also the error message keeps popping up over and over without me doing anything.

Tempted to just delete that folder, but let’s see if the AnyConnect Docs have anything to say.

As root, run the following shell script from the Terminal:

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

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

Here’s my output:

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

Password:
Uninstalling Cisco AnyConnect Secure…

--

--