09-08-2021 05:14 AM
Hello,
We want to deploy Anyconnect version 4.9.06037 instead of 4.9.01095 via an automatic "webdeploy" update.
Unfortunately the first feedback is not very good. For about fifteen clients, we already have 4 failures.
Here's what we see:
• The old version is uninstalled
• The installation of the new version fails, including any error messages you might get.
• Even with manual reinstallation, it is not successful.
• We have to go remove Windows registry keys related Anyconnect in order to revive a manual installation that this time
• Problem encountered on Windows 7 and Windows 10 PCs.
• "Random" problem because it does not affect all of our users
We believe that the problem could be that the initial version of anyconnect was installed via GPO.
Unfortunately in the current context of widespread teleworking, it is difficult for us to push this update through GPO.
Thank you for your help,
BR,
Lui
09-08-2021 05:31 AM
If you are going to use webdeploy you need to make sure that the users have administrative privileges on the PC it is being installed on. Or at the very least have enough privileges to install software on the PC. Could you verify this?
09-08-2021 07:14 AM
The workstations on which the error occurred had administrator rights.
09-08-2021 09:48 AM
we recently did upgrade 4.9 and later to 4.10. the upgrade process did not went accordinig to plan and at the end we have to push the 4.10 via SCCM GPO. have you consider the anyconnect Deferred Update.
Deferred Upgrade allows the AnyConnect user to delay download of a client upgrade. When a client update is available, AnyConnect opens a dialog asking the user if they would like to update, or to defer the upgrade.
09-08-2021 10:20 AM
Could you post the output of show run webvpn
Are all PCs in your test group running the same "old" version of AnyConnect?
It is quite possible that is some GPO that is hindering the installation, but that doesnt explain why some are successful and some fail. It should be the same result for all PCs unless there are some differeneces between the PCs.
The PCs that were successful, were they all Windows 7 or Windows 10? Or were they a mix?
Were the successful PCs issued after the remote work was implemented?
If you setup new installations of windows 7 or windows 10 and then try to update those via webdeploy, are these successful or fail?
On one of the PCs that fails, if you remove the GPO setting from this PC does the installation succeed?
09-09-2021 05:44 AM
Hello guys,
Thanks you for your answers
To answer at your questions:
Did you think about updating via ‘Deferred Update’ ?
I was not familiar with this feature.
would you know the difficulties or precautions to configure this feature?
-The result of the show run webvpn command:
webvpn
enable outside
anyconnect-custom-attr ManagementTunnelAllAllowed description ManagementTunnelAllAllowed
hsts
enable
max-age 31536000
include-sub-domains
no preload
http-headers
x-content-type-options
x-xss-protection
content-security-policy
anyconnect image disk0:/anyconnect-win-4.9.01095-webdeploy-k9.pkg 1
anyconnect image disk0:/anyconnect-macos-4.9.01095-webdeploy-k9.pkg 2
anyconnect image disk0:/anyconnect-linux64-4.9.01095-webdeploy-k9.pkg 3
anyconnect profiles AnyConnect_MGMT_Profile disk0:/anyconnect_mgmt_profile.vpnm
anyconnect profiles ConnectBeforeLOgon disk0:/connectbeforelogon.xml
anyconnect enable
cache
disable
- Are all PCs in your test group running the same "old" version of AnyConnect?
Yes, following the start of production of this new platform, all customers have been updated via the web.
-The PCs that were successful, were they all Windows 7 or Windows 10? Or were they a mix?
Mix of both
-Were the successful PCs issued after the remote work was implemented?
No not necessarily.
-If you setup new installations of windows 7 or windows 10 and then try to update those via webdeploy, are these successful or fail?
No because I don't have my hands on this tool, but I can get information from my colleagues who manage it
-On one of the PCs that fails, if you remove the GPO setting from this PC does the installation succeed?
Not tried
BR,
Lui
09-09-2021 07:34 AM - edited 09-09-2021 07:45 AM
when end client connect to VPN the version of client software either Windows/Mac will automatically checked. now based on how the old software is following action will take place.
A dialog box appears asking if the end user/client want to update or want to defer it. there will be a time window for about 2 minutes once the time is passed the anyconnect software will automactially choose to defer the update and get connect.
here cisco live page 25 give you a more insight of it.
09-09-2021 08:07 AM
In the client profile, do you have the option to update the client selected?
09-13-2021 01:32 AM
Hello,
To the question, In the client profile, do you have the option to update the client selected?
I guess this question is purely system?
Regarding the implementation of the Deferred Update, I don't see how this configuration will be able to solve the problem encountered?
BR,
Lui
09-23-2021 05:31 AM
I believe the issue has to do with Windows AD GPO settings. It could be that the PCs are instructed to only accept software installation from Endpoint Manager / SCCM.
Is there perhaps a GPO assigned to users with software restriction policy?
09-30-2021 12:24 AM
Hello,
I come back to this subject which has not yet found a solution.
we were able to test the 'deferred update' functionality. Unfortunately, it doesn't work.
Here is what is seen after failing to install the Anyconnect client:
Registry keys for Anyconnect have been deleted by following this post:
Manual re-installation of Anyconnect client 4.9.01095
Following this, I logged into the ASA again to run the update and this time the update went through without a hitch.
Do you know why we have this behavior?
Also, would you know if it's possible to uninstall the anyconnect client and reinstall the new version(4.9.06037) without losing the connection?
Indeed, clients use anyconnect VPN to connect through the ASA. The goal is that remote access clients (VPN) can automatically download the new version of the anyconnect client
Also, I just tested the client update from msi and am having the same issues.
It is therefore possible that the problem is not related to the webdeploy but more simply to a Windows problem specific to our configuration!
Thank you in advance for your help,
BR,
Lui
09-14-2021 06:11 AM
Hello,
Does anyone have any idea how to handle this type of issue?
09-22-2021 07:20 AM
Hello everybody,
Does anyone have any idea about this problem which I think is recurring?
Thank you in advance for your help,
BR,
Lui
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide