cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
105459
Views
85
Helpful
25
Replies

How to Uninstall Any Connect from my iMac.

jvillal65
Level 1
Level 1

I have an iMac, running OS X Yosemite 10.10.1.

I had permission to install "AnyConnect-MacOsX-3.1.05152-web-deploy-k9.dmg" from Boise State University.  I installed cisco's any connect and I was able to connect to Boise State (It was working).  My son deleted the application/program by accident. He dragged the cisco folder to trash can and deleted.  

I have tried to do a fresh re-install of the "Cisco Anyconnect" program again but I keep getting this error:

"AnyConnect Secure Mobility Client can't be installed on this disk. (My computer hard drive). Version 3.1.05152 of the Cisco Anyconnect Secure Mobility Client is already installed."

But I can no longer see it or have access to this program in my computer.  I have used "Finder"  to look for cisco and anyconnect and nothing comes up.  I have searched in my hard drive and again and don't see the Cisco Anyconnect.   I just don't know why my computer keeps telling me that it is already installed.  

Hope someone will help me.  I have called Boise State and they were not able to help me. They told me to format the hard drive in my computer and to re-start again.  I hope there is an easier solution.

Jose

2 Accepted Solutions

Accepted Solutions

nspasov
Cisco Employee
Cisco Employee

Hi Jose-

I had this issue before and this solution from the site below resolved it for me:

 

  • Open Terminal and do the following:
    • su (be careful when giving yourself root, of course)
    • cd /opt/cisco/anyconnect/bin
    • ls (to see if there's a vpn_uninstall.sh file)
  • If there is, then run the following command:
    • sh vpn_uninstall.sh
  • You'll get this confirmation message in the Terminal:
    • Successfully removed Cisco AnyConnect Secure Mobility Client from the system.

 

Thank you for rating helpful posts!

View solution in original post

Glad your issue got resolved Jose! And thank you for taking the time to come back and post the solution here (+5) from me! Now, if your issue is resolved, please mark the thread as "answered" :)

 

Thank you for rating helpful posts!

View solution in original post

25 Replies 25

nspasov
Cisco Employee
Cisco Employee

Hi Jose-

I had this issue before and this solution from the site below resolved it for me:

 

  • Open Terminal and do the following:
    • su (be careful when giving yourself root, of course)
    • cd /opt/cisco/anyconnect/bin
    • ls (to see if there's a vpn_uninstall.sh file)
  • If there is, then run the following command:
    • sh vpn_uninstall.sh
  • You'll get this confirmation message in the Terminal:
    • Successfully removed Cisco AnyConnect Secure Mobility Client from the system.

 

Thank you for rating helpful posts!

Neno, 

I tried your suggestion but it din't work. I kept getting the "No such file or directory" error  in the iMac Terminal. I even tried a few combinations of your suggestions and I kept getting the same error. 

Jose

Hmm, can you:

1. Go to the director with the command:

cd /opt/cisco/anyconnect/bin

2. List the directory content with the command:

ls -la

3. Post back the output here

4. Issue the following command:

sudo find . -print | grep vpn_uninstall.sh

5. Post the output back here

 

Thank you for rating helpful posts!

 

Nene, 

Was I supposed to put the commands in the terminal?  Is so, here is the results.  I did not enter  the password at the end. Please let me know if I should put in my admin. password. 

José

 

Last login: Sun Jan 18 04:27:47 on ttys000

Villalobos-3:~ Admin$ cd /opt/cisco/anyconnect/bin

-bash: cd: /opt/cisco/anyconnect/bin: No such file or directory

Villalobos-3:~ Admin$ ls -la

total 80

drwxr-xr-x+ 26 Admin  staff    884 Jan 16 19:07 .

drwxr-xr-x   6 root   admin    204 Nov  5 06:51 ..

-r--------   1 Admin  staff      7 Nov  5 07:15 .CFUserTextEncoding

-rw-r--r--@  1 Admin  staff  20484 Jan 17 10:34 .DS_Store

drwx------   2 Admin  staff     68 Jan 18 04:09 .Trash

-rw-r--r--   1 Admin  staff    630 Jan 15 20:05 .anyconnect

-rw-------   1 Admin  staff    789 Jan 18 04:57 .bash_history

drwx------   3 Admin  staff    102 Aug 28  2013 .bfglF20T2L1

drwxr-xr-x   3 Admin  staff    102 Jan  5 14:30 .config

drwx------   3 Admin  staff    102 Feb 12  2014 .cups

drwx------  11 Admin  staff    374 Jan 16 19:22 .dropbox

-rw-r--r--   1 Admin  staff     92 Jan  5 14:30 .gitconfig

drwxr-xr-x   3 Admin  staff    102 Jan  1 15:46 .kodi

drwxr-xr-x   3 Admin  staff    102 Dec 24 10:43 .xbmc

drwx------   5 Admin  staff    170 Jan  5 14:34 Applications

drwx------+ 54 Admin  staff   1836 Jan 18 04:03 Desktop

drwx------+ 19 Admin  staff    646 Jan 15 22:57 Documents

drwx------+ 27 Admin  staff    918 Jan 18 03:37 Downloads

drwx------@ 84 Admin  staff   2856 Jan 16 19:22 Dropbox

drwxrwxrwx   3 Admin  staff    102 Aug 20  2013 GarageBand

drwx------@ 62 Admin  staff   2108 Jan  5 14:09 Library

drwx------+  5 Admin  staff    170 Dec 29 06:32 Movies

drwx------+  5 Admin  staff    170 Aug 28  2013 Music

drwx------+  7 Admin  staff    238 Dec 29 06:45 Pictures

drwxr-xr-x+  5 Admin  staff    170 Aug 15  2013 Public

drwxr-xr-x+  5 Admin  staff    170 Aug 15  2013 Sites

Villalobos-3:~ Admin$ sudo find . -print | grep vpn_uninstall.sh

 

WARNING: Improper use of the sudo command could lead to data loss

or the deletion of important system files. Please double-check your

typing when using sudo. Type "man sudo" for more information.

 

To proceed, enter your password, or type Ctrl-C to abort.

 

Password:

 

 

Yes, the system needs your admin password to be able to run as the "root" user. Please run the last command again and enter your password and provide me with the output:

sudo find . -print | grep vpn_uninstall.sh

Neno,

My computer it doesn't let me type the password.   When I tried to type the password nothing happens.

--------------------------------------------------------------------------

Last login: Mon Jan 19 21:15:55 on console

Villalobos-3:~ Admin$ sudo find . -print | grep vpn_uninstall.sh

Password:

--------------------------------------------------------------------------

 

When I to type the password nothing happens, and when I hit the "Return" key this is what I get. 

 

--------------------------------------------------------------------------

Last login: Mon Jan 19 21:15:55 on console

Villalobos-3:~ Admin$ sudo find . -print | grep vpn_uninstall.sh

Password:

Villalobos-3:~ Admin$

--------------------------------------------------------------------------

I think that when I am typing my password is not supposed to display what I am typing. So I guess my computer is allowing me to type.

 

Jose

You are doing it correct...basically the output shows that no such file exists on your system...also the directory is missing and you are saying that the application is also removed from the "Application" folder...so IMO the application is gone so you should be able to re-install. However, you aren't able to re-install so there is still something left that is preventing you from doing it...unfortunately, I am out of ideas at this point :(

Perhaps someone else can chime in...

Otherwise, you can maybe try contacting Apple support or take the Mac to an Apple store and have the guys there take a look. Last but not the least, you could try some third party app remover like AppCleaner and see if that can help you out. 

Neno,

Thank you so much for all your work.   

José

No problem. Please let us know what the final solution is to your problem. 

Neno,

My problem got finally fixed. An agent from MacKeeper helped.  Of course I had to pay $169, but he was able to fix via remote, but they also gave me one year of their mackeeper software for free. I didn't call Apple because I figure they would charge as well.

Here is the final repost from Mackeeper:

----

Afterfix Diagnostic Report

Your Mac OS status is excellent now! We have done the following: 
- ran full System scan with MacKeeper; 
- installed and ran Mackeeper antivirus scan; 
- enabled Real Time protection; 
- disabled all the unnecessary startups; 
- disabled all harmful and useless programs; 
- verified and repaired disk permissions; 
- ran mac-memory-test; 
- installed MemoryKeeper in order to optimize performance of your Mac; 
- repaired keychain; 
- cleared unneeded logs; 
- installed adblock on all the internet browsers in order to prevent unwanted pop-ups and ads appearing while you surf the Internet; 
- disabled and deleted unneeded toolbars,
- installed all Updates.


Enjoy using your Mac and thank you for using our services!

-----

 

José

Glad your issue got resolved Jose! And thank you for taking the time to come back and post the solution here (+5) from me! Now, if your issue is resolved, please mark the thread as "answered" :)

 

Thank you for rating helpful posts!

This discussion has been reposted from Cisco On Demand to the VPN community.

I've had to work to uninstall the client as well so I can reinstall it.  But being the SysAdmin I was I manually deleted everything.... <doh>  Still wouldn't reinstall saying that it was installed.  Then I remembered that OSX moved it's install package receipts from a flat file location to more of a DB store.

Sure enough!!!  If you run from your Terminal prompt

pkgutil --pkgs

You'll locate the package in the list of all packages installed....

com.cisco.pkg.anyconnect.vpn

Then it's just a simple matter to tell the package DB to forget it with....

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

Plug in your user password when prompted, hit enter and voila!

OMG, You're a genius!!! This fixed my issue.

Thank you so much!!!