How to solve not able to reinstall Cisco AnyConnect on Mac OS after uninstalling.

After removing Cisco AnyConnect on a Mac system, it is found that it cannot be reinstalled.

 

This is primarily because AnyConnect was treated as a regular Mac app and was directly deleted within the applications, leading to this issue.

 

003w0htjzy74gVYnhdh63690.png

003w0htjzy74gVYr1LE56690.png

 

Solution:

 

Regardless of the circumstances leading to the inability to reinstall, the basic approach is to first execute the 'uninstall' file to thoroughly uninstall AnyConnect, and then reinstall it.

 

Situation 1: The 'uninstall' icon can be found.

 

Double-click the 'uninstall' icon, uninstall AnyConnect, and then proceed with a normal installation.

 

Situation 2: The 'uninstall' icon cannot be found.

 

This situation generally occurs when the entire Cisco directory has been deleted. In this case, you can copy the uninstall script from another Mac computer that has AnyConnect installed, and then execute the uninstall script.

 

Download script

 

The script is located at '/opt/cisco/anyconnect/bin'. In this directory, there are many uninstall scripts ending with '.sh'. Execute each script once.

 

During this process, it's necessary to elevate permissions first.

 

Execute the following commands:

 

sudo -s                                                             <- elevate to administrator rights

 

cd /opt/cisco/anyconnect/bin            <- change directory to cisco anyconnect folder

 

./*uninstall.sh                                              <- execute uninstall scripts, running each one of them

 

003w0htjzy74gVl7Clhb7690.png

 

Or execute:

 

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

 

Finally, you may proceed with the reinstallation.

  • 0 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

Gerelateerde artikelen

Solution for network restrictions after Anyconnect VPN connection

Solution:   1. Go into Network and Sharing Center, change adapter settings, right-click to view...

AnyConnect VS V2Ray, which one is better?

In conclusion, it's a matter of which is better, and each has its own merits.   In terms of...

Failed to install profile.xml because of file integrity check error. A VPN connection cannot be established.

This error is most likely caused by a problem with the local environment.   Please check if...

Is VilaVPN safe to use?

VilaVPN utilizes a point-to-point encryption transmission protocol, strictly adhering to a...

The server list has disappeared.

Reconnecting to the Hong Kong node should resolve the issue.