/build/static/layout/Breadcrumb_cap_w.png

How do you run a script that will continue to run even if the user's computer is not on?

I am trying to run a script that will eventually target everyone in the office. The issue I am trying to resolve is to have the script keep trying to run even if a user is not here and the computer is off. This is so when the user comes back the script will automatically retry and run when they are here.

 

Currently testing with the following Schedule

Every 5 minutes

Also run at user login

Allow run while disconnected

Allow run without a logged-in user

 

I tried an online and offline KScript with no luck. Any suggestions?


1 Comment   [ + ] Show comment
  • are you making a change to the machine/os or the users profile? - SMal.tmcc 10 years ago

Answers (1)

Posted by: chucksteel 10 years ago
Red Belt
0
I normally handle this situation by including something in my script that I can verify through a custom software rule, for instance I will place a file on the system and then look for the presence of that file. I then create a smart label that searches for machines that don't have the file present and target the script at that smart label. As machines check into KACE they will get the smart label applied and then the script will run on a regular basis. It isn't immediate but we do have a pretty high success rate of deploying scripts in this way.

Another approach is to use a managed install instead of a script if possible. This will allow you to schedule the managed install to run on all machines when they are available and KACE will install it the next time the machine is online.

 
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