seagull62 Posted June 5, 2018 Share Posted June 5, 2018 Good morning to the whole forum.In the company where I work a script is used, invoked at the time of logon to the domain, which checks the installation status of the antivirus client and, if it does not meet the minimum requirements, the setup.exe is run for installation and / or update antivirus client.Starting from the version of the Win8.1 operating system, the execution of the setup command ends in error due to security problems.Below is an excerpt of the script in the section where setup.exe is executed. "... RunAsWait("<user>","<domain>","<pwd>",0,$server,@TempDir,@SW_HIDE) ..." Please Note: - the user is a domain user that is a member of the Domain Users group that is a member of the local Administrators group of the computer on which the script runs; - the $server variable represents the network path where the setup executable is located. I searched the net and carried out various tests but without yet finding the one that solved the problem of non-execution. Thanks in advance. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted June 5, 2018 Moderators Share Posted June 5, 2018 Can you define "due to security problems"? Do you simply mean the UAC is popping up? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Subz Posted June 5, 2018 Share Posted June 5, 2018 Try running it from a "Computer Startup" Script via GPO this should run the software as System account and means you no longer require username and password and shouldn't invoke UAC prompt if enabled. You can also try having the script download the installer locally and remove the folder afterwards as I've found some AV can interrupt network communication stopping the install from finishing, having the software run locally should overcome that issue. Link to comment Share on other sites More sharing options...
seagull62 Posted June 5, 2018 Author Share Posted June 5, 2018 UAC disabled Link to comment Share on other sites More sharing options...
seagull62 Posted June 5, 2018 Author Share Posted June 5, 2018 "You can also try to download the installer locally and remove the folder afterwards." Errata Corrige - All the antivirus client installation package is copied locally before attempting to run the setup. I was wrong to say that the program was run from a network resource. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted June 5, 2018 Moderators Share Posted June 5, 2018 7 minutes ago, seagull62 said: UAC disabled So would you please share the exact wording of the "security problem"? Not giving us a lot to work with. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Subz Posted June 5, 2018 Share Posted June 5, 2018 Try and change the third parameter to 1, ideally if you can tell us what error you're getting will be most helpful otherwise just guessing. Link to comment Share on other sites More sharing options...
seagull62 Posted June 6, 2018 Author Share Posted June 6, 2018 @Subz Executing installation script C:\Users\006101~1\AppData\Local\Temp\sep_inst\setup.exe; Errore RunAsWait: 1 Link to comment Share on other sites More sharing options...
seagull62 Posted June 6, 2018 Author Share Posted June 6, 2018 What is the difference between using RunAsWait or ShellExecuteWait?I point out that the current windows user concui is executed the script is generally not computer administrator. Link to comment Share on other sites More sharing options...
seagull62 Posted June 6, 2018 Author Share Posted June 6, 2018 What is the difference between using RunAsWait or ShellExecuteWait?I note that the current windows user running the script is generally not a computer administrator. Link to comment Share on other sites More sharing options...
Subz Posted June 6, 2018 Share Posted June 6, 2018 Log on as 006101... run C:\Users\006101~1\AppData\Local\Temp\sep_inst\setup.exe manually whats the result, if it popups waiting for more info then you need to add switches to your command to make it run silent. What AV are you installing? What switches are you using? Link to comment Share on other sites More sharing options...
seagull62 Posted June 6, 2018 Author Share Posted June 6, 2018 " What AV are you installing? " SEP (14) "What switches are you using?" If you are referring to the switches of the AV client installation executable, none: setup.exe is executed Thanks for interesting.... Link to comment Share on other sites More sharing options...
Subz Posted June 6, 2018 Share Posted June 6, 2018 Try and use the Msi version of the install https://support.symantec.com/en_US/article.HOWTO81177.html#v8527856 this might be one of those products that uses setup.exe as a wrapper which runs another process but not with the same elevation, I've had this issue occur in SCCM before. Anyway try msi and let us know how that goes. Link to comment Share on other sites More sharing options...
seagull62 Posted June 7, 2018 Author Share Posted June 7, 2018 @Subz - I'm working on the SEP client installation solution via msi. Then I will give you feedback. :-) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now