/build/static/layout/Breadcrumb_cap_w.png

Offline Kscript Question

I love using offline scripts with endpoints that only connect to our network over VPN. I need to use an .msi to update our VPN software client and in testing, found that if it runs while an endpoint is actively connected to VPN, the upgrade fails and the software stops working. So for the sake of my VPN users, I want the offline script to only run during logon (Where you see the KACE splash logo before the desktop). That way the the script downloads and stages the VPN upgrade MSI but doesn't attempt to run it until the next time that user logs on.

What is the proper schedule configuration in the scripting wizard to ensure this behavior?

Thanks,

Corey


0 Comments   [ + ] Show comments

Answers (1)

Posted by: SMal.tmcc 4 years ago
Red Belt
1

use script to push msi to a temp area and then poke the registry "run once" to call it on the next login.

reg.exe add  HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /v installVPN /d "msiexec /i c:\temp\some.msi /qn"



Comments:
  • Great suggestion, thanks. - cor3nth 4 years ago
 
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