How To Download And Install Cisco Anyconnect On Windows 10

0 views
Skip to first unread message

Micol Cohn

unread,
Aug 4, 2024, 7:01:56 PM8/4/24
to comseletat
Thedocumentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.

This article shows you how to downloadand install the Cisco AnyConnect Secure Mobility Client on aWindows Computer.This article is ONLY applicable to the Cisco Small Business RV34x series routers, not Enterprise products.


AnyConnect Secure Mobility Client is a modular endpoint software product. It not only provides VirtualPrivate Network (VPN) access through Secure Sockets Layer (SSL) and Internet Protocol Security (IPsec)Internet KeyExchange version2 (IKEv2) but also offers enhanced security through various built-in modules.


AnyConnect client licenses allow the use of the AnyConnect desktop clients as wellas any of the AnyConnect mobile clients that are available. You will need aclient license todownload and use the Cisco AnyConnect Secure Mobility Client. A client license enables the VPNfunctionalityandaresold in packs of 25 from partners like CDW or through your company's device procurement.


If you purchased a license and you are unable to download AnyConnect, call Cisco Global Service Relations at +1 919-993-2724. Select option2. You will need to know your Cisco ID (the one you use to log into Cisco.com) and the sales ordernumber when you call. They will get that situation all straightened out.


Check your Downloads folder to locate the AnyConnect files. Browser based downloads are often depositedinto the downloads folder on your device on windows. The path to the file often resemblesC:\Users\[Your User ID]\Downloads with the C:/ referring to your devices storage drive.


By the way, once the configurations are complete on the router, you can view your connection on the lowerright-hand of your screen. Click the up arrow and hover over the AnyConnect icon to see thedetails.


I am trying to load Anyconnect on my windows 10 laptop. I use the installer package that the customer has given me. During installation, it hangs almost immediately (frozen on '1 second'), takes probably 5-6 minutes and then says 'Installation complete'. However the installation is not complete - nothing is loaded. If I am patient enough to watch the install, right at the end it 'rolls back' before showing the 'Installation complete' message.


To add a little more, I work at a customer site with many other consultants who have loaded the exact same package successfully (one of them even has my exact laptop and specs). So I had both the customer and my employer's IT departments look. Both could not resolve however it appears as though the client itself can load but when it tries to install Posture, it fails. I tried to load without Posture but the VPN wouldn't open properly.


If that doesn't work there may be an issue with the installation, I found that when something like this happens you need to go into the registry search for any keys/hives with AnyConnect in the name and delete them entirely. After removing the registry entries reboot and try reinstalling.


First I would try opening a powershell or cmd prompt as an admin and run the specific installer for the module you need, if you just need the VPN client just run the core VPN msi. Tried just running the VPN MSI and got an error (attached below)




If that doesn't work there may be an issue with the installation, I found that when something like this happens you need to go into the registry search for any keys/hives with AnyConnect in the name and delete them entirely. After removing the registry entries reboot and try reinstalling. Deleted the installation package from my laptop and then went and removed anything with 'AnyConnect' and 'Cisco' in the registry. Rebooted, re downloaded the package (noting the package isn't just a random online one - it's on the FTP server of the client I'm working for and everyone else has downloaded and run this package successfully). Then I tried to re-install, exact same issue. I have attached some screen shots of the event log with the error messages received - perhaps this will help provide some more advice as I'm at a loss.




How do I completely restore Wi-Fi settings and drivers back to Windows defaults? I installed an old Cisco VPN client (5.0.07.0290). It completely hosed up the machine I was working on. Once I figured out the issue was with the client, I fixed the issue on two other machines by restoring them back to before I installed the client. However on this machine for some reason there are no restore points prior to the installation.


My best description of the problem is this: when you connect to a wireless access point, Windows then reports "limited connectivity" on Wi-Fi. Rebooting, reinstalling TCP/IP, deleting the settings and readding, rebooting the WAP and then the computer do not work.


Assuming you already uninstalled the Cisco VPN driver and ran the removal tools provided by Cisco for such situations plus deleted all VPN adapters from your device manager (with "show disabled devices" turned on in it).


Try deleting the network device from the device manager, disable automatic driver installation, reboot, run device manager, search for new devices, find the network adapter, pick the driver manually to make sure it doesn't use relicts of the Cisco driver, install it. Pray.


Also, when installing vpn clients watch out for "management devices" that override the default (windows) wifi/ethernet adapter management interfaces with their own proprietary stuff -- which will definitely cause issues.


I know the cisco anyconnect client's still do this, as we deal with this all the time when our helpdesk tech accidentally installs the entire package without excluding the interface management software.


This problem can be worked around by disabling Cisco's network access manager service. This lets the Windows native WIFI driver to be used instead of Cisco's one. See WiFi issues with Cisco AnyConnect


I simply downloaded the MSI and installed it. The only quirk I ran into was that I had to Kill the vpnui.exe process first if a user was logged in. Without that, it left me with an empty folder where the program was supposed to be!


@atlauren try installing just the Core VPN component by itself, get that to work first. I would only install the modules if you really need them, but those might be able to be handled as separate install commands or tasks.


When you guys execute PsExec from inside BigFix, what does that code look like? I have this, but the PsExec never actually executes msiexec; it seems to just park in Task Manager, as though waiting for input or something.


Prior to this, I prefetch the MSI and pstools.zip, copy the MSI to c:\windows\temp, and unzip psexec.exe out of pstools into the __Download directory. Then I execute psexec as the SYSTEM account. This is the line that winds up in the BigFix log:


I have a windows 8 pc that has both the cisco VPN client and the globalprotect client install and they both work fine. So in my case there appears to be no relationship between the two that would cause issues that I am aware.


does anyone have an alternative way of installing software (automated) rather than chocolatey?



Software Bundle installation with chocolatey seems quite unreliable (works, works not at all, only some programs get installed, it takes a very long time etc).



As we are depending on it especially for new clients it is slowing us down.


This is what I use to download Cisco AnyConnect package which includes the config XML.

The Hash check is there to make sure the package hasn't been modified or corrupted. Obviously that will be different for the file you would download.


Just adding to this, I have been able to accomplish this using scripting, and hosting the installation files on Dropbox. Using the AI script generation capability in Atera, I have the script create a folder on the user's hard drive, download the installation files to that folder, and execute it from there. When done, it cleans up the folder and removes all traces.


The key is to create a link from Dropbox for sharing the file as read-only to everyone (I am not installing anything that can't already be downloaded from the public internet) and changing the parameter at the end of the link from d=0 to d=1 so it is a direct download.


winget seems to work as well. if you have a windows 11 or late windows 10 machine, Winget comes preinstalled. I just say winget search chrome or winget install chrome -y and it will run the installation. Winget is a Microsoft thing. It's just like chocolatey, but you don't need packages. Winget will find all the software in your computer and put update what it can for you. There are somethings that are not avaiable in either winget or chocolatey. For those, you just hvae to do it the old fashion way.

3a8082e126
Reply all
Reply to author
Forward
0 new messages