Anyconnect Was Not Able To Establish Gateway



The Cisco Adaptive Security Appliance (ASA) is the secure gateway that admits access to the VPN, but it does not support updates of AnyConnect for mobile devices. Displaying Help AnyConnect displays an information icon on the lower right corner of the screen if help is available. AnyConnect was not able to establish a connection to the specified secure gateway Hi, I'm using Cisco AnyConnect Secure Mobility Client Ver. 4.5.02033 on macOS High Sierra 10.13.2.

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.
  • The VPN client driver encountered an error. Please restart your computer or device, then try again.

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

Anyconnect Was Not Able To Establish Gateway

3. Double left-click the DisplayName key.

Client unable to establish connection

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

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!

Troubleshooting (Windows-specific)

ProblemsPossible Causes and Solutions
Establishing the connection in Windows 8.1 fails with the message'Failed to initialize connection subsystem'
  • The problem is caused by a security update of Windows 8.1. By now,Microsoft released a fixed update. Please connect your computer to theInternet, choose Start→ Control Panel → WindowsUpdate and install all available updates. After a Windows restartyour AnyConnect connection should work properly again. If you needsupport, please contact IT-Servicedesk ofHRZ.
Establishing the connection fails with the message 'The VPNclient agent was unable to create the interprocess communicationdepot'.
  • The Internet Connection Sharing (ICS) is enabled. In thiscase AnyConnect is on principal not trying to establish aconnection.
    Change the properties of thenetworkconnection thatconnects you totheinternet and disable the ICS asfollowing:
    Choose Start → Control Panel → Network and Internet → Changeadapter settings → Right-click on theshared network connection and choose PropertiesSharing tab. Then deactivate thecheckbox 'Allow other network users to connect through thiscomputer's Internet connection'. After that, confirm the dialogvia OK.
AnyConnect fails with the message 'AnyConnect was not able toestablish a connection to the specified secure gateway. Please tryconnection again'.
  • If you are using the Kaspersky AV firewall you need to addAnyConnect as a firewall exception. It might be more useful to use thefree anti-virussoftware provided by the HRZ.
  • The Internet Connection Sharing (ICS) is enabled. In thiscase AnyConnect is on principal not trying to establish aconnection.
    Change the properties of thenetworkconnection thatconnects you totheinternet and disable the ICS asfollowing:
    Choose Start → Control Panel → Network and Internet → Changeadapter settings → Right-click on theshared network connection and choose PropertiesSharing tab. Then deactivate thecheckbox 'Allow other network users to connect through thiscomputer's Internet connection'. After that, confirm the dialogvia OK.
  • You have encountered a software bug in AnyConnect. If you find avalue like '@oem20.inf,%vpnva_Desc%;Cisco AnyConnect VPNVirtual Miniport Adapter for Windows x64' for the registry key'ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesvpnvaDispayName'in the Windows registry (regedit.exe), please delete all charactersbefore the word 'Cisco' in the value. After that, close theregistry editor, start AnyConnect and try to connect again.
AnyConnect fails with the message 'VPN Service not available.The VPN agent service is not responding. Please restart thisapplication after a minute'.
  • The AnyConnect VPN service does not start automatically. Theerror message 'VPN Service not available. The VPN agent service isnot responding. Please restart this application after a minute'means, that the Cisco AnyConnect VPN service currently is not running.This could be caused by a Windows boot accelerator software, thatmodifies the start order of the Windows services in a way, someservices cannot be started anymore. In the past such problems werecaused by e.g. Lenovo Rapid Boot(also: RapidBoot HDDAccelerator, RapidBoot Shield) and CCleaner. After uninstalling suchsoftwares, the problem should be solved (Windows XP:Control Panel →Add/RemovePrograms, Windows Vista/7/8:Control Panel → Programs andFeatures).

AnyConnect fails with the message 'Connection attempt failed.Please try again'.

  • In AnyConnect the wrong VPN-Gateway was specified. Please enter theVPN-gateway vpn.uni-marburg.de and try to connect again.
AnyConnect fails with the message 'Could not connect to server.Please verify Internet connectivity and server address'
  • The computer's Internet connection does not work. Please make sureyour computer has a working Internet connection and try to connectagain.
Establishing the connection works, but secured content of UMRnetcan not be accessed.
  • A firewall or internet security software fromComodo manages the connection and prevents CiscoAnyConnect from working properly. Choose Start → ControlPanel → Network and Internet → Change adapter settings →right-click on the Cisco Anyconnect SecureMobility Client and chooseProperties. In the list of supported items ofthe connection deactivate the checkboxComodo Internet Security Firewall Driver andconfirm the dialog via OK.
The installation fails with the message: 'Failed to installAnyConnect Secure Mobility Client with installer error: Incorrectfunction. A VPN connection cannot be established'.
  • An additional firewall, anti-virus or internet security softwareprevents the installation of AnyConnect. Please temporarily deactivatethis software and try the installation of AnyConnect again. If thisalso fails, please uninstall this software, restart your Windowscomputer and try the installation of AnyConnect again. If youuninstalled your anti-virus software, please install another anti-virussoftware, for example the free anti-virus-software for students andstaff of university.

Cisco Anyconnect Was Not Able To Establish A Connection To The Specific Secure Gateway