Specified Secure Gateway Anyconnect



This post describes how to fix the following error messages when using Windows 8 Pro:

Date: Oct 10, 2013 By: Mike Khzouz (Mike@bostonIT.com) AnyConnect was not able to establish a connection to the specified secure gateway - Cisco VPN Linux / RedHat and RHEL / Ubuntu, Debian. “AnyConnect profile settings mandate a single local user, but multiple local users are currently logged into your computer. A VPN connection will not be established. AnyConnect was not able to establish a connection to the specified secure gateway. Please try connecting again.”. 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. AnyConnect was not able to establish a connection to the specified secure gateway. The version of the Cisco AnyConnect Secure Mobility Client is 3.1.12020.

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

1 thought on “AnyConnect Package on the secure gateway could not be located”.

  • 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

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

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!

Cisco VPN Client fix for Windows 8

Problem case:

Vpn

While trying to connect to a VPN you meet the following error message:

“Secure VPN Connection terminated locally by the Client”

“Reason 442: failed to enable Virtual Adapter”

  • Hit the Windows key and type “regedit” -> “right click “regedit.exe” and click “Run as administrator” in the bottom of the screen.
  • Browse to the Registry Key: “HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesCVirtA”
  • In the right pane, double click DisplayName or right click and choose modify. Remove the leading characters from the value data upto “%;” i.e.
    • For x86, change the value data from: “@oem8.inf,%CVirtA_Desc%;Cisco Systems VPN Adapter” to “Cisco Systems VPN Adapter”
    • For x64, change the value data from: “@oem8.inf,%CVirtA_Desc%;Cisco Systems VPN Adapter for 64-bit Windows” to “Cisco Systems VPN Adapter for 64-bit Windows”

Reconnect VPN

Cisco AnyConnect fix for Windows 8

Problem case:

While trying to connect to a VPN you meet the following error message:

“AnyConnect was not able to establish a connection to the specified secure gateway”

Registry change:

  • Hit the Windows key and type “regedit” -> “right click “regedit.exe” and click “Run as administrator” in the bottom of the screen.
  • Browse to the Registry Key: “HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesvpnva”
  • In the right pane, double click DisplayName or right click and choose modify. Remove the leading characters from the value data upto “%;” i.e. The result of this change should result in the following value: “Cisco AnyConnect VPN Virtual Miniport Adapater for Windows x64”

Vpn - Cisco Anyconnect Specified Secure Gateway Error

Install certificates:

Specified Secure Gateway Anyconnect Download

Specified Secure Gateway Anyconnect
  • Open Internet Explorer as administrator (shift + click icon or shortcut and click “Run as administrator”)
  • Navigate to the VPN URL, and accept the certificate warnings.
  • Once it shows the red shield with an “X” certificate error button, click it and click View Certificates.
  • Click Install Certificate
  • Specify Local machine and click “Next”
  • Select “Place all certificates in the following store”
  • Click browse and choose Trusted Root Certificate Authorities. Click OK
  • Click Next, click Finish

Cisco Anyconnect No Default Gateway

Reconnect VPN