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

Cisco AnyConnect Error (iPhone)

KB ID 0000362

Problem

While using the Apple/Cisco Anyconnect App/Client you receive the following error.

Error:

The secure gateway has rejected the agent’s VPN request. A New connection requires re-authentication and must be started manually. Please contact your network administrator if this problem persists.
The following message was received from the security gateway: No License.

 

Solution

The most pertinent information above is the last two words of the error message “No License”

This DOES NOT mean you have ran out of SSL/AnyConnect Licences!

This licence is a “One Off” purchase and will enable the feature on your ASA, be aware the licence is different for each model make sure you purchase the correct one!

AnyConnect Mobile, (or AnyConnect for Mobile) licence details can be found at Cisco’s website Below is the section we are interested in.

Update 2017: Applying a modern AnyConnect (v4) licence, will also enable the mobile feature as well.

Once the correct licences are installed this is what it SHOULD look liike.

 

Related Articles, References, Credits, or External Links

Cisco ASA 5500 – Adding Licenses

Android AnyConnect Error

Android AnyConnect Error

KB ID 0000537

Problem

While using the Android/Cisco Anyconnect App/Client you receive the following error.

Error:

The secure gateway has rejected the agent’s VPN request. A New connection requires re-authentication and must be started manually. Please contact your network administrator if this problem persists.
The following message was received from the security gateway: No License.

Solution

The most pertinent information above is the last two words of the error message “No License”

This DOES NOT mean you have ran out of SSL/AnyConnect Licences!

This licence is a “One Off” purchase and will enable the feature on your ASA, be aware the licence is different for each model make sure you purchase the correct one!

AnyConnect Mobile, (or AnyConnect for Mobile) licence details can be found at Cisco’s website Below is the section we are interested in.

Once the correct licences are installed this is what it SHOULD look liike.

Related Articles, References, Credits, or External Links

Cisco ASA 5500 – Adding Licenses

Cisco AnyConnect Error (iPhone)