-
-
Save jasmas/22a4b1b12676c36074a4999c68e6a482 to your computer and use it in GitHub Desktop.
| #!/bin/sh | |
| echo Disabling vpnagentd... | |
| sudo launchctl disable system/com.cisco.anyconnect.vpnagentd | |
| echo Tearing down vpnagentd... | |
| sudo launchctl bootout system /Library/LaunchDaemons/com.cisco.anyconnect.vpnagentd.plist | |
| echo Deactivating Cisco AnyConnect Socket Filter Extension... | |
| /Applications/Cisco/Cisco\ AnyConnect\ Socket\ Filter.app/Contents/MacOS/Cisco\ AnyConnect\ Socket\ Filter -deactivateExt |
| #!/bin/sh | |
| echo Enabling vpnagentd... | |
| sudo launchctl enable system/com.cisco.anyconnect.vpnagentd | |
| echo Bootstrapping vpnagentd... | |
| sudo launchctl bootstrap system /Library/LaunchDaemons/com.cisco.anyconnect.vpnagentd.plist |
very helpful tnx!
Hello, I don't know much about coding but I'm trying to completely remove cisco from my personal device as it interferes with eduroam (wifi at my university) and can't get rid of the socket filter.



I don't seem to be able to remove any of these from my network area of settings and when I tried the above script in terminal this was the output "Disabling vpnagentd...
Tearing down vpnagentd...
/Library/LaunchDaemons/com.cisco.anyconnect.vpnagentd.plist: No such file or directory
Boot-out failed: 2: No such file or directory
Deactivating Cisco AnyConnect Socket Filter Extension...
zsh: no such file or directory: /Applications/Cisco/Cisco Secure Client - Socket Filter.app/Contents/MacOS/Cisco Secure Client - Socket Filter"
I'm not sure what to do about this and would appreciate some help!
Hi, I have create a script like this:
but when I restart the mac the extension is active again and the pop-up appears again.
How can I permanently disable this extension?