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 Users Found This Useful
這篇文章有幫助嗎?

相關文章

Anyconnect VPN 連線後網路受限的解決方法

解決辦法:   1. 進入網路與共享中心,更改適配器設置,右鍵查看 [Cisco AnyConnect ...] 的屬性 2. 解除安裝 [Liebao Wifi NAT Driver]...

AnyConnect與V2Ray哪個好?

從結論來說是 孰優孰劣,各有千秋。...

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

因檔案完整性檢查錯誤而無法安裝profile.xml。無法建立VPN連線。   出現此error大概率是本地環境問題導致   請檢查是否有防火牆/其他代理...

VilaVPN安全嗎?

VilaVPN採用點對點加密傳輸協議,嚴格執行無日誌政策。 這意味著任何第三方均無法查看傳輸內容,且訪問記錄無從查起。

伺服器列表消失了。

請重新連接一下香港節點即可解決。