/build/static/layout/Breadcrumb_cap_w.png

Run BAT file on Kace

Is it possible to make KACE run to a bat file? 

0 Comments   [ + ] Show comments

Answers (3)

Posted by: akmagnum 6 years ago
Red Belt
2

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"




Comments:
  • It doesn't have an option to add a bat file. https://imgur.com/a/PN89q - Turtlebeach77 6 years ago
    • 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. - akmagnum 6 years ago
Posted by: DaveMT 6 years ago
4th Degree Black Belt
2

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.



Posted by: Hobbsy 6 years ago
Red Belt
1
Yes attach it to a script and run it from there, for example

Comments:
 
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