Scripting Question

Run BAT file on Kace

03/08/2018 7844 views
Is it possible to make KACE run to a bat file? 
0 Comments   [ + ] Show comments


All Answers

Yes attach it to a script and run it from there, for example
Answered 03/08/2018 by: Hobbsy
Red Belt


Go to the "scripting"  tab in the K1  ....

Go to "Tasks" .....

"On Success"......"Add"

Choose "Run a batch file"

Insert the script into the field provided......

Name it anything you want..........

Then add the device you want to run it on

in the "devices " tab........

Then........      "Run Now"

Answered 03/08/2018 by: akmagnum
Red Belt

  • It doesn't have an option to add a bat file. https://imgur.com/a/PN89q
    • That's because you have not chosen an operating system in the "select operating system" dialog box. Highlight the OS you want the script to work with, and the option for bat files will appear in the list.

Another way is to Navigate to Scripting

Create a new script

Upload the Batch file as a dependency

Under Tasks, choose Launch a program under On Success.

For Directory enter: $(KACE_DEPENDENCY_DIR)

For File, enter the batch file name you uploaded under Dependencies.

Select Wait for competition

Choose Save Changes, then configure the rest of the script and save and/or Run Now.

Answered 03/09/2018 by: DaveMT
4th Degree Black Belt

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