Cisco Anyconnect Cannot Connect To Secure Gateway

Posted onby
  1. Reference
  2. How To Fix “AnyConnect Was Not Able To Establish A Connection ...

I was trying to log into work but had trouble making a VPN connection. I use Cisco AnyConnect VPN Client. This post describes how to fix the following error messages when using Windows 8 Pro:

  • AnyConnect was not able to establish a connection to the specified secure gateway. Please try connecting again.

We have the same problem with AnyConnect, and found two solutions. The easy way is update to the newest version of Cisco AnyConnect Secure Mobility, The other one is change the registry as you say, but this is a very slow process. Using Windows 8 Pro, o pen regedit through the run command. With OGS, Cisco AnyConnect Secure Mobility Client (AnyConnect) identifies and selects which secure gateway is best for connection or reconnection. OGS begins upon first connection or upon a reconnection at least four hours after the previous disconnection. More information can be found in the Administrator's guide. This can be a problem related to the configuration or perhaps you do not have the image for the OS that you are working on. Confirm that you have the.pkg on your firewall, if you do not have it you will need to download it from cisco.com and upload it to the firewall. Note that you if you have a firewall cluster you have the copy to both firewalls otherwise if failover happens you will face. Symptom: Standalone AnyConnect client fails with the following message: 'The VPN configuration received from the secure gateway is invalid. Please contact your network administrator.'

Anyconnect secure gateway error
  • The VPN client driver encountered an error. Please restart your computer or device, then try again.
Anyconnect

The steps to fix this problem are as follows:

1. Edit a registry entry by running a program called regedit. Right-click on it and Run as administrator. Note that I use Start8, by Stardock, to have a Start button and menu. After you left-click on Run as administrator, your computer might ask you to enter the admin password.

2. Go to the appropriate VPN registry directory called ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesvpnva

3. Double left-click the DisplayName key.

An Edit String pop-up window will appear.

The text under the Value data: field on my computer looked like this.

@oem20.inf,%vpnva_Desc%;Cisco AnyConnect VPN Virtual Miniport Adapter for Windows x64

Reference

4. Change the field to

Cisco AnyConnect VPN Virtual Miniport Adapter for Windows x64

by removing all the text and characters that are on the left of the word Cisco.

The end result should look like this:

5. Left-click the ‘OK’ button.

6. Exit the Registry Editor

7. Run Cisco AnyConnect VPN Client and reconnect.

That’s all there is to it. Good luck!

Update : 2/13/2014

I recently updated my computer on February 13, 2014 with Microsoft’s updates and saw that the text under the Value data: field on my computer looked like this:

@oem10.inf,%VPNVA64_Desc%;Cisco AnyConnect Secure Mobility Client Virtual Miniport Adapter for Windows x64

How To Fix “AnyConnect Was Not Able To Establish A Connection ...

It is different from what I had originally posted. I’m not really sure how or why it changed and I don’t have time to find out. I also updated to Cisco AnyConnect Secury Mobility Client Version 3.1.04066. As far as I can tell, the value of …

@oem10.inf,%VPNVA64_Desc%;Cisco AnyConnect Secure Mobility Client Virtual Miniport Adapter for Windows x64

.. works, but the value of

How to Configure Cisco AnyConnect VPN Client for Windows   Univ...Cisco Anyconnect Cannot Connect To Secure Gateway

Cisco AnyConnect VPN Virtual Miniport Adapter for Windows x64

does not work with Cisco AnyConnect Secury Mobility Client Version 3.1.04066.

Update : 2/15/2014

Changing the Value data: field to

Cisco AnyConnect Secure Mobility Client Virtual Miniport Adapter for Windows x64

without

@oem10.inf,%VPNVA64_Desc%;

seems to work better, too.