AnyConnect Crashes in vpndownloader (Layered Service Provider (LSP) Modules and NOD32 AV) Problem When AnyConnect attempts to establish a connection, it authenticates successfully and builds the ssl session, but then the AnyConnect client crashes in the vpndownloader if using LSP or NOD32 AV. Cisco AnyConnect unable to establish VPN connection. Cisco AnyConnect unable to establish VPN connection. Tech Guy Windows Support. Please Share Share Tweet. Establishing the connection fails with the message 'The VPN client agent was unable to create the interprocess communication depot'. The Internet Connection Sharing (ICS) is enabled. In this case AnyConnect is on principal not trying to establish a connection. Mar 31, 2020 What should be done when an attempt to connect to VPN using Cisco AnyConnect generates this message: AnyConnect was not able to establish a connection to the specified secure gateway. Please try connecting again. In the Windows Control Panel navigate to Internet options (Network and Internet Connections, and then Internet Options).
Cisco Anyconnect Not Connecting
This error can occur if you have certain versions of Kaspersky Anti-Virus (or Kaspersky Internet Security) installed and is a known issue with Kaspersky and the AnyConnect client. This issue can be resolved by configuring an exception in Kaspersky to trust the Cisco AnyConnect client.
Test whether Kaspersky is blocking the VPN session
- Temporarily stop Kaspersky by right clicking on the Kaspersky icon in the task bar and select Pause Protection.
- In the Pause protection window click on Resume protection in...1 minute.
- Try connecting to the VPN Network Service whilst Kaspersky is temporarily stopped.
Anyconnect Was Unable To Establish A Connection To The Specified Secure Gateway
If the VPN session can now be successfully established then Kaspersky is blocking the establishment of the VPN session, and this can be resolved by adding the Cisco AnyConnect client as a trusted application to Kaspersky.
Adding the AnyConnect client as a trusted application to Kaspersky
In order for the Cisco AnyConnect client to successfully establish a VPN session, it needs to be added as a trusted application to Kaspersky. (The following instructions are for configuring Kaspersky Anti-Virus 6, but should provide a guide for configuring other Kaspersky versions.)
Anyconnect Was Unable To Establish A Connection
- Open the Kaspersky application settings, either by clicking on the Settings button from the Kaspersky application window, or by right clicking the Kaspersky icon in the task bar and select Settings.
- In the settings window click on the Trusted zone... button.
- In the trusted zone window select the Trusted application tab and click on the Add... button. (Note there may be some application listed here already.)
- In the trusted application window click on the Browse button and then select Applications from the drop down menu.
- From the list of applications select the vpnagent.exe program. (Alternatively select Browse from the trusted application window and locate the vpnagent.exe program, which is normally located in the 'C:Program FilesCiscoCisco AnyConnect VPN Client' folder on My Computer.)
- In the trusted application window, tick the Do not scan network traffic box and ensure the other boxes are not ticked.
- Click on OK to close the trusted application window, click OK to close the trusted zone window and click OK to close the settings window.