Scripting Question

script issue for upgrading Cisco AnyConnect VPN 3.x to 4.x

02/21/2018 1330 views
Hi All,

I  created a script to upgrade Cisco AnyConnect VPN 3.x  to 4.x version and having a permission issues since all our normal users dont have local admin rights. 
All client devices are running Win7 Pro x64 and Win10 Pro x64


When I run the script for users with NO local adminstrator rights and the users have Cisco AnyConnect VPN 3.x. installed. 
The script runs but it DOES NOT uninstall Cisco AnyConnect VPN 3.x and DOES NOT install the Cisco AnyConnect VPN 4.x and fails 

But when I run the same script for users with local administrator rights that have Cisco AnyConnect VPN 3.x installed.
The script works and uninstalls Cisco AnyConnect VPN 3.x and then installs the Cisco AnyConnect VPN 4.x and installs successfully

This is the online shell script below I created  and named "installation.bat"

MSIEXEC /I "%~dp0anyconnect-win-4.4.03034-core-vpn-predeploy-k9.msi" /q ALLUSERS=1 /NORESTART /L*V "C:\AnyConnect.log"

Any advise would greatly be appreciated.


2 Comments   [ + ] Show comments


  • Is the script set to run as SYSTEM or some other user?
  • script is setup to run as SYSTEM and its working now

Be the first to answer this question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ