Alexander's Blog

Sharing knowledge with the global IT community since November 1, 2004

Error: “Failed to initialize connection subsystem” in Cisco AnyConnect Secure Mobility Client in Windows 10

/
/
ad-mania

Today I tried to use my VPN connection to one of my business client on my laptop running Windows 10 Technical Preview with the Cisco AnyConnect Secure Mobility Client version 3.1.03103.

PROBLEM

When I tried to connect with Cisco VPN Client, I received the following error:

​Failed to initialize connection subsystem.

FailedToInitialize

SOLUTION 1

I reinstalled the Cisco AnyConnect Secure Mobility Client and still received the same error. Obviously, I was using a beta version and knew some of the applications may not work. I then configured the Cisco AnyyConnet Client to run in Windows 8 compatibility mode and was able to get the VPN client to work without even rebooting the computer. Here’s the step-by-step procedure.

  1. If you have upgraded your Windows 8 to Windows 10 Technical Preview, remove the Cisco AnyConnect client and then reinstall it.
  2. Go to C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client where the VPN client is installed.
  3. Right-click the file vpnui.exe and select Troubleshoot compatibility.
    VPNUI
  4. On the Program Compatibility Troubleshooter screen select the option Try recommended settings.
    TryRecommendedSettings
  5. On the next screen select Yes, save the settings for this program.
    SaveTheSettings
  6. You will notice the system applies the settings and configures the compatibility mode to Windows 8. You must click Test the program but you will notice the clicking the button doesn’t do anything at all. That’s okay. You must click the link at least once in order to click Next at the bottom of the screen.
    Windows8Compatibility
  7. The next screen shows the problem was fixed for this incompatible program. Click Close.
    Fixed
  8. Run the Services Console (services.msc).
  9. Restart the Cisco AnyConnect Secure Mobility Agent service.
    RestartCiscoAnyConnectAgent
  10. Try to run the Cisco VPN client. There is no need to reboot the computer. It Cisco VPN client should start without the error.

SOLUTION 2

Another option that might work for you requires a registry hack. You need to add a key (that is missing in newer Windows version, including Windows 10). This registry key enables/disables the Internet Explorer’s ability to work offline. Here’s Microsoft’s standard warning about working with the registry.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

  1. Start the registry editor (RegEdit.exe).
  2. Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings.
  3. Add a new DWORD (32-bit) Value called GlobalUserOffline and set it to 0 (that’s a zero).
  4. Here’s a KB article from Microsoft that applies to older versions of IE but explains this registry key in more detail.

If you are having this issue in Windows 8/8.1 you may want to try one of the above solutions but I should point out that I didn’t have any issues with this client in Windows 8/8.1. I would love to hear if either solution worked for you.


Copyright ©2014 Zubair Alexander. All rights reserved.

  • Facebook
  • Twitter
  • Linkedin

13 Comments

  1. It didn’t worked for me. I receive the error “The VPN driver encountered an error. Please restart your computer or device, then try again.”
    And another message “AnyConnect was not able to establish a connection to the specified secure gateway. Please try connecting again.”

  2. Step 3 above in Solution 2 is wrong, should read “Add a new DWORD Value called GlobalUserOffline and set it to 0 (that’s a zero).”

  3. @John Straffin, thank you for the correction. You are right. Adding a key will create a new folder. I should have said add a DWORD (32-bit) Value. I have made the correction. I appreciate you taking the time to write to me.

  4. I didn’t do any of these things – I got it to work again by going the the network adapters listing and I noticed the Cisco AnyConnect VPN adapter was disabled (possibly from the Windows Update?). I re-enabled the adapter and it worked after that.

  5. My issue stems from windows 8. This is not useful for my issue. I have the same issue. Getting the “failed to initialize” error.

Leave a Comment

Your email address will not be published. Required fields are marked *

This div height required for enabling the sticky sidebar