Fixing AnyConnect was not able to Establish a Connection to the Specified Secure Gateway

RECOMMENDED: Click here to fix Windows errors and optimize system performance

The error message “AnyConnect was not able to establish a connection to the specified secure gateway” appears when users try to connect to a VPN using the AnyConnect client. This problem occurs because the AnyConnect VPN Client by CISCO cannot connect to the remote server and blockages occur. Today, we will discuss the above error message, including the causes of the error message and the different solutions you can implement to solve it.

How to fix AnyConnect could not connect to the specified Secure Gateway error:

Check if ICS (Internet Connection Sharing) is running.

  1. Select the Start button, then the Control Panel.
  2. In the Network and Internet category, select Network and Sharing Center.
  3. In the left pane, select Change Adapter Settings.
  4. Right-click on the shared network connection (first try the wired connection / Ethernet adapter, then check the other adapters) and select Properties.
  5. Select the Sharing tab.
  6. Clear the check box to allow other network users to connect via the connection on this computer.
  7. Select OK.

Also check that the ICS service is not working.

April 2021 Update:

We now recommend using this tool for your error. Additionally, this tool fixes common computer errors, protects you against file loss, malware, hardware failures and optimizes your PC for maximum performance. You can fix your PC problems quickly and prevent others from happening with this software:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.


  1. Select the Start button and select Run.
  2. Type : services.msc and press ENTER on your keyboard.
  3. Search for Internet Connection Sharing (ICS), then stop the service.
  4. Change the boot type to Disabled and restart your computer.

Update registry settings

registry editor - Another installation is in progress in Windows 10

The other one is changing the registry as you say, but it’s a very slow process. Under Windows 8 Pro, open regedit with the command execute and:

1) Go to[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vpnva].
2) Change the value in the DisplayName field to “Cisco AnyConnect VPN Virtual Miniport Adapter for Windows x64”.
3) Try to establish a connection.

Check the problem in the Clean Boot environment.


If your problem does not occur when the computer is in a clean boot environment, you can determine which boot application or service causes the problem by systematically turning it on or off and restarting the computer. If you activate a single service or boot item and restart each time the service or application is problematic, the most effective way to do this is to test half of them at a time and eliminate half of them as a possible cause each time the computer restarts. You can then repeat this process until you have isolated the problem.

RECOMMENDED: Click here to troubleshoot Windows errors and optimize system performance