Run BAT file on Kace
Answers (3)
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
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.
Comments:
-
do you mind giving me an example? - Turtlebeach77 6 years ago