Cisco AnyConnect Error “The VPN client driver has encountered an error”

KB ID 0000347

Problem

I rolled out AnyConnect for a client this week, and saw this error on one of the clients.

Error Reads:
The VPN client driver has received an error.

Solution

A quick search of web forums etc, sent me all over the place, the most promising link  told me to do the following,

Repair

This issue is due to Cisco bug ID CSCsm54689 (registered customers only) . In order to resolve this issue, make sure that Routing and Remote Access Service is disabled before you start AnyConnect. If this does not resolve the issue, complete these steps:

  1. Open a command prompt as an Administrator on the PC (elevated prompt on Vista).

  2. Run net stop CryptSvc.

  3. Run esentutl /p %systemroot%System32catroot2{F750E6C3-38EE-11D1-85E5-00C04FC295EE}catdb.

  4. When prompted, choose OK to attempt the repair.

  5. Exit the command prompt.

  6. Reboot.

If Repair fails

If the repair fails, complete these steps:

  1. Open a command prompt as an Administrator on the PC (elevated prompt on Vista).

  2. Run net stop CryptSvc.

  3. Rename the %WINDIR%system32catroot2 to catroot2_old directory.

  4. Exit the command prompt.

  5. Reboot.

However this procedure DID NOT WORK FOR ME

How I repaired it.

1. Click Start > Run > appwiz.cpl {enter}

2. The Add or Remove Programs window should open, locate and uninstall the Cisco AnyConnect VPN client.

In XP

In Windows 7

3. Once uninstalled Navigate to,

XP or older C:Documents and SettingsAll UsersApplication Data
Vista or Newer C:UsersAll Users


4. Delete the “Cisco” folder.

5. Navigate to,

XP or older C:Documents and Settings{username}Local settingsApplication Data
Vista or Newer C:Users{username}AppDataLocal


6. Delete the folder named “Cisco”.

7. This was all I had to do, but it would be prudent to have a good search round your hard drive to make sure its not lurking anywhere else.

8. Once done, reboot the client then either install the AnyConnect client from the .msi installer package, or connect to the SSL/AnyConnect Portal to reinstall the client automatically (Local admin rights required on the remote machine).

 

Related Articles, References, Credits, or External Links

NA