Solved Cisco AnyConnect VPN Client - Installation/Use Problems

nyg

New member
Local time
3:09 PM
Messages
19
:cry:

I've been suffering from Cisco AnyConnect VPN client problems for a couple of weeks.
I had been a successful user connecting to my company's VPN, for years, but then tried to use the Client to connect to a different VPN server at my university, for a one time use to get access to a research paper download.

Woe woe woe. Woe woe woe.

Never do that!

There are tight version bindings between the particular client and the particular server.
Once my installed client had talked to the university server, the client would no longer talk to the company. Deep modifications had taken inside applications data folders and the registry so that from then on it would make the university server the default, and fail to establish a connection when I tried to direct it to the company server. Even uninstalling and reinstalling the client would not break the binding to the university.

Eventually I had to go through the registry, item by item, delete every registry key that involved AnyConnect. Also, I had to track down AnyConnect applications folders. Once that was done, the client would once in a while talk to my company again.

Adding misery to the process is the awful web based installer for AnyConnect. Rather than being a simple .exe running the installer, the only way to successfully install AnyConnect is by invoking the web based installer which invokes the epitomes of reliability - ActiveX (after giving the VPN server key full trusted party status) and the Java Runtime plugin. This Cisco contraption fails to work for mysterious reasons 9 out of 10 times.

(Let me take this moment to editorialize about Cisco. Our company buys Cisco because we have some mysterious theory that it is more reliable than other brands, because it is Cisco. In fact it's my decision since I run the company! Well it's total bologna. Cisco equipment costs 3X to 5X its competitors (since it's Cisco), is fragile and buggy, requiring you pay that amount again with consultants (or in house staffing hours) to get it to work. Cisco support is ponderously slow and the support guys on the phone barely understand the equipment. I can recommend, from personal experience, in squandered money, time, that you avoid Cisco! It's like tying a boat anchor around your neck as you swim the channels of business, when you buy Cisco. I groan about the Bill Gates Windows cognitive tax - any job you try to do requires 20% overhead to fuss with some Windows crash, bug, etc. But Cisco totally outclasses that - the equipment requires 1000% overhead, and never works more than 80% of what it is supposed to do. I could go on but...)

So, anyway, having somehow damaged my prospects with the AnyConnect client I am relegated into some hell of trying to install it, with the error message about failure to create the Communications Depot (some sort of mysterious service).
 

My Computer

OS
Windows 7 Enterprise 64-bit
I also use Cisco AnyConnect VPN Client. :)
... although I have not had that error message.

After a little digging around in Google, I came across this:
How to Install, Configure and Use the Cisco AnyConnect VPN for Windows 7, Vista and XP - OIT Help Desk

The following quote is at the bottom of the page:

Known Issue

Windows Internet Connection Sharing (ICS) is not compatible with the VPN client. If you attempt to install, you will receive an error on the install that says "The vpn client agent was unable to create the interprocess communication depot." Turning off ICS and reinstalling will fix the error.
Also from here:
WiscVPN (Win) - Interprocess Communication Depot Error

The vpn client agent was unable to create the interprocess communication depot.

This error is caused by Internet Connection Sharing (ICS) being enabled. You can disable ICS in two ways:

Per Adapter:

  1. Click the Start button.
  2. Click on Control Panel.
  3. Click on View Network Status and Tasks
  4. Click on Change adapter settings
  5. Right-click the shared connection and choose Properties
  6. Click the Sharing tab
  7. Clear the Allow other network users to connect through this computer's Internet connection checkbox
  8. Click OK
System Wide:

  1. Click the Start button (Windows' orb)
  2. Type: services.msc and press ENTER
  3. Double-Click on Internet Connection Sharing (ICS)
  4. Change Startup Type to Disabled
  5. Reboot the computer
You can now try reinstalling the WiscVPN client again

Hope that helps, nyg. :D
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Packard Bell
OS
Windows 7 Home Premium 64bit
CPU
Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz
Motherboard
Packard Bell IPISB-AG
Memory
3.00 GB
Graphics Card(s)
(1) Intel(R) HD Graphics (2) VNC Mirror Driver
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
AIO LCD
Screen Resolution
1920 x 1080
Hard Drives
WDC WD10EADX-22TDHB0 ATA Device
Fixed hard disk media
4 partitions
931.51 GB
Keyboard
Wireless
Mouse
Wireless
Antivirus
Microsoft Security Essentials
Browser
IE; Firefox
Other Info
Also:
Samsung N220 Plus Netbook - Windows 7 Home
HP laptop
iPad 5
Problem solved thank you.

Brilliant! Thank you. When I read this, I realized that indeed I had been messing around with Internet Connection Sharing, to help colleagues at a workshop without Internet, to connect via my broadband. It was the next day that I started to have trouble with AnyConnect, but I'd attributed it to trying to connect to the University VPN as well as business VPN.

I was doing connection sharing with some Intel "My Wifi" software that was on my laptop (maybe that came from Lenovo?), but the combination of that, the Verizon Broadband, and Lenovo's Access Connections, didn't allow that sharing to work. But when I gave up, Internet Connection Sharing must have been left enabled.

So just now, with your advice, I disabled the Internet Connection Sharing at the system level. (I didn't spot any "Network Status and Tasks" icon in control panel, that is mentioned your quote.) After this disabling, and rebooting, the VPN Client Installed perfectly. So problem looks solved.

As an aside, I did try to get in and debug this. I used procmon to log what was going on at a deep level. What I observed is that the Cisco installer contraption is very strange; it downloads the vpndownloader.exe somehow as an ActiveX control. If that fails, it seems to try to download it again and get the Java client to invoke it? All it looks like the Java app is doing is invoking a freshly downloaded vpndownloader. Pretty ugly software design, IMO, real Rube Goldberg stuff (thanks Cisco). I logged it trying both attempts and fail, using Procmon, but the log messages there and with the event log, didn't make sense.

Many hours wasted on this. I'll keep my fingers crossed that it's solved.
 
Last edited:

My Computer

OS
Windows 7 Enterprise 64-bit
Pleased to hear that, nyg. I feel 'quietly' confident that all will be well. :D
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Packard Bell
OS
Windows 7 Home Premium 64bit
CPU
Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz
Motherboard
Packard Bell IPISB-AG
Memory
3.00 GB
Graphics Card(s)
(1) Intel(R) HD Graphics (2) VNC Mirror Driver
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
AIO LCD
Screen Resolution
1920 x 1080
Hard Drives
WDC WD10EADX-22TDHB0 ATA Device
Fixed hard disk media
4 partitions
931.51 GB
Keyboard
Wireless
Mouse
Wireless
Antivirus
Microsoft Security Essentials
Browser
IE; Firefox
Other Info
Also:
Samsung N220 Plus Netbook - Windows 7 Home
HP laptop
iPad 5
At last, I've found you

I have been struggling about this issue, and by doing the suggested solution my problem has been resolved.

System Wide:
Click the Start button (Windows' orb)
Type: services.msc and press ENTER
Double-Click on Internet Connection Sharing (ICS)
Change Startup Type to Disabled
Reboot the computer
 

My Computer

OS
Windows 7 Pro 32bit
Back
Top