/build/static/layout/Breadcrumb_cap_w.png

Running 2 script tasks in Kace

Hi All,

I am fairly new to Kace and have searched the forums here with no luck so here goes my question.  I have created a script with two tasks, each one runs correctly when run separately (two separate scripts with one task each) but when I create one script with two tasks only the first one runs.  My script has the first task running a simple batch file forcing a logoff of a windows system with a timer at the end and my second task runs a BIOS update as "launch a program".  Suggestions?


4 Comments   [ + ] Show comments
  • What user are you running the script as? And do you have the box checked for "Allow run without a logged-in user"? - five. 6 years ago
  • I am using the "local system" for the user and "Allow run without a logged-in user" is selected. Both scripts run fine by themselves, it is only when I create a script with two tasks when the problem occurs. - jamests 6 years ago
  • For the first task, what is the setting for On Failure? If it is set to Break, then the second task won't run if the first fails. - chucksteel 6 years ago
  • The setting for "On Failure" is set to continue. The only thing I can figure out is that the first task which issues a logoff command is somehow breaking communication so the second task does not run. I have looked at the client log and nothing useful and I verified the client is receiving the BIOS executable, not sure what to check next. - jamests 6 years ago
    • The logoff shouldn't be a problem but maybe it is. My next idea would be to put the logic in a bat, vbs, or powershell script and run it that way. - JasonEgg 6 years ago

Answers (0)

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

Share

 
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