/build/static/layout/Breadcrumb_cap_w.png

How can I run a script via Distribution tab?

I created scripts where I have certain MSI packages where I've added batch files/other files that will run after installation. They all work fine via the RUN NOW scripting tab. However, if I want to apply a script to all sorts of machines (a building perhaps with 150 machines), can I somehow run a script via the Distribution tab, so the next time they check in, it will run?

I've tried enabling "also run at next client checkin" from the script, but I've forced check-ins, and it doesn't do anything on the client machine. Just trying to figure out the best way to go about this - maybe I'm missing something? Still somewhat new to the K1000.

Thanks guys :)

0 Comments   [ + ] Show comments

Answers (4)

Posted by: derbakerta 12 years ago
White Belt
1

"but I've forced check-ins, and it doesn't do anything on the client machine"

This bit us as well - duplicate the "Force Check-In" script and change the last line from:

Launch $(KACE_INSTALL)\runkbot.exe with params 4 0

to

Launch $(KACE_INSTALL)\runkbot.exe with params 6 0

This will kick of the distributions....

Thanks to AJ for this fix!!!



Posted by: jrscribner 12 years ago
Purple Belt
0
This may seem like a obvious question but is the script Enabled? Up in the Configuration section of the script there is a "Enabled" checkbox that needs to be checked in order for the script to run without using the "Run Now" tab. I got caught by this one when we put in our K1000.
Posted by: dchristian 12 years ago
Red Belt
0
You could also create a zip that has all your bat, msi, etc.

Upload that and use as a distribution like you normally would.

For your command line call a bat (or whatever) that installs everything and makes the necessary tweaks.
Posted by: cmccracken 12 years ago
Orange Senior Belt
0
If you go to one of the PCs that should be a target of your script, does it show up under scripts? If so, there should be some logs there that might help. If not, make sure your label/machine list isn't excluding the PC for some reason.

Casey
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

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