K1000 terminates any sub processes of runkbot if agent loses connection?
I've ran into an annoying issue while trying to script installation or removal of a VPN client application.
This specific application causes a system to temporarily lose it's network connection, breaking the AMP connection.
I've observed that the KACE agent will terminate any running scripts or processes such as a Managed Install that's in-progress.
The Script for MI as well as any running processes (such as msiexec) get terminated as soon as the KACE agent loses it's connection.
I appear to be able to get around this by using psexec and calling out the fully qualified path of the script but it's far less then ideal. In doing this, the script will continue to run even if the agent loses it's connection.
Here's what the current MI's command line looks like.
start /wait /min "" psexec.exe -accepteula -i -s "C:\ProgramData\Quest\KACE\downloads\215840\Deploy-Application.exe"
Is there a better solution to this issue? I imagine it primarily effects VPN, Firewall and network adapter driver scripts but could see it being an issue for larger packages if they run a device while it's roaming.
Be the first to answer this question