Cisco VPN Client 64 bits, Windows 7, A few setup Problems & solutions

Just remembered that I had to struggle to proper setup the cisco CPN client (now 64 bits, finally!) on my Windows 7.

The errors are extremely misleading :(, after poking around msi logs, online foruns & others, here’s what solved it for me:

First error – Right on the setup startup I was getting “installation ended prematurely because of an error” . Reason for this one was that wise installer needs vbscript to cycle between setup dialogs. And although I could execute vbs scripts properly, something was wrong with the dll registration … so it failed right in the beginning.

Through the msi logs you can see a more detailed error. (Really the delay on all this is only on getting to the *real* error messages… lots of try/catch/throw “unexpexted exception” style of coding, probably good from a security perspective, but a pain to diagnose… a lot like working with sharepoint out of the box, Winking smile cof… )

To fix this I had to run both of these steps (almost sure that I needed both, just the vbscript re-registration was not enough):

(yes, you’re advised to backup the key before deleting, just in case…)

reg delete “HKCU\SOFTWARE\Classes\Wow6432Node\CLSID\{B54F3741-5B07-11CF-A4B0-00AA004A55E8}” /f

regsvr32 c:\windows\syswow64\vbscript.dll


That fixed the first error, Right to the second one. The setup was now running but crashing when setting up network drivers&filters with another….yes… extremely useful (!)  error message that read “unable to manage networking component. Operating system corruption may be preventing installation”

That’s really (another) annoying error message…so verbose mode on msi again… check the logs and found 0x8004a029 error witch translated to something like “maximum number of network filter drivers has been reached.”

And in my case this was due mainly to lots of network filters like the ones needed by virtual pc, virtual box, wireshark & some others (I can only imagine…).

So you can uninstall some of them or increasing the limit directly in the registry (of course the limit is there so that you don’t overload the network stack…)

Something like increasing the value in :



Ok, back to the setup, all  was solved now right? ah….wrong!! Now another error pops up “”Error 27854: The Network Configuration LOck is held by another application.  Close all applications and run Setup again. …”

Ok, that one was actually my fault Smile .  At least the message made sense and lead me in the right direction, I forgot to close my network connections properties, that I had opened to try to diagnose the previous error message.

So, network properties closed, run the setup again and that’s done! Loaded my pcf files and it’s been working like a charm! Smile


Hope this helps someone.

Finally ,some additional resources that helped to this, rather surprisingly, painful troubleshooting process:

VPN Client Installation Issue

Is there a maximum number of Network Filter Drivers in Windows 7?

VPC and Windows XP Mode installation problems

How to (Successfully) Install Cisco VPN Client on Windows 7 – Brenton House

Error 2738 Could Not Access Vbscript Runtime For Custom Action – You Can Easily Fix it Now!

Error 2738. Could not access VBScript run time for custom action.

Cisco VPN client x64 for win7 – will not install

Blog or Die! » Msi Installer errors on CISCO VPN under Windows 7

Fatal Error During Installation with Windows VISTA


About Rui Quintino
Developer & Software Architect @ DevScope

15 Responses to Cisco VPN Client 64 bits, Windows 7, A few setup Problems & solutions

  1. Ignacio says:

    Thank you very much for your help. It worked perfect. The explanation impeccable.

  2. Tom says:

    Oh my, what would I do without your post. Thanks very much for sharing this esoteric information!

  3. risk says:

    Thanks for sharing your findings. It helped me successfully install the product.

  4. Vincent jansen says:

    Thanks the deletion of the registry and the regsvr32 did it for me.

  5. j says:

    vbscript re-reg did it for me

  6. MarkB says:

    You are a genius

  7. IanD says:

    Wow. This has to be the best steps available to fix the Cisco VPN client installation issue on Windows 7 64 bit,. Thanks!

  8. Hola says:

    This was so much help. Thank you!

  9. ross2pak says:

    Thanks so much, this post helped me a LOT!!! I have been searching far and wide for a solution to this and you nailed it. ;-)

  10. christine says:

    Thank you, Thank you, Thank you!!!!

    I had the same error message.

    I only had to fix the registry entry and it all installed correctly.

  11. Mr.Sakon says:

    Hi Rui,

    This is a good article, begin of the year I used to have the same problem.
    and I stopped to use Cisco Vpn Client 64bit but currently I found your article
    it help me to fix Cisco Client installation.
    Thank you,

    Sakon Ratanamalai

  12. Pingback: Usefull tips for installing Cisco VPN on Windows 7 » My Stuff

  13. Jim Reisert says:

    You are my hero! Deleting the reg. key and re-registering the DLL fixed my installation problem.

  14. John K. says:

    Thank you so much! Whatever time you spent putting the article together has saved me and I’m sure many others hours of debugging. I ran into both the vbscript problem and the number of network filter driver problem… makes you wonder who cisco built this software for :-)

  15. Peter says:

    Thank you! I used ShrewSoft client as an alternative, but the ShrewSoft just stoped work from today. Previously, I tried many times to install Cisco VPN, but without success. Now it’s working perfekt. Love you man!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: