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
Answers (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 5 years ago