I have now used KACE for a couple years, and found myself always trying to look up the runkbot codes. If you look in the manual, sometimes it mentions runkbot 2 0, others, runkbot 4 0 , etc ….
I have yet to find a good place to figure out what those are exactly. Recently, I realized that the number reference of 2 and 4, are nothing but the ID of a script running on the KBOX. (still haven’t figured out the 0 part.)
If you don’t know what I am talking about with that, look at this screenshot below.

runkbot ID

Notice the URL when you hover over a script.

Technically, you should be able to run any script by referring to its ID. In the case of the screenshot below, it would be runkbot 27 0.
You will notice that the ones mentioned in the manual, are not actually listed in the list of scripts. Somehow, they are hidden, but you can get to the task itself, by going to its URL, so to see what runkbot 2 0 is doing, just go to the url: https://kbox/adminui/kbot.php?ID=2, and the corresponding script will open up.
I don’t recommend you modify those, as they are meant to be system scripts. However, this will actually be useful for you to remember what runkbot is most appropriate for each situation.

To help you out, I have compiled a list of the system scripts, IDs, descriptions, schedules, and the main command line they execute. Hope you find them helpful.

 

https://kbox/adminui/kbot.php?ID=1 - runkbot 1 0

Run Command on Client: runkbot 1 0

Name: K1000 Bootstrap

Description: Bootstrap a new machine for management by the K1000

Type: Offline KScript

Schedule: Every 1 hour / Also Run Once at next Client Checkin / While disconnected / While logged off

Command Line:

$(KACE_INSTALL)\KBoxClient.exe” with params “-server=$(KACE_SERVER) -urltype=$(KACE_SERVER_URLPREFIX) -company=”$(KACE_COMPANY_NAME)“ -splash=”$(KACE_SPLASH_TEXT)“ -fade=1 -notifyevent=$(KBOX_EXECUTE_EVENT)

$(KACE_INSTALL)\KUpdater.exe” with params “-server=$(KACE_SERVER) -urltype=$(KACE_SERVER_URLPREFIX) -mac=$(MAC_ADDRESS)

https://kbox/adminui/kbot.php?ID=2 - runkbot 2 0

Run Command on Client: runkbot 2 0

Name: KBOX Client

Description: KACE K1000 Client Run

Type: Offline Kscript

Schedule: Every 30 minutes

Command Line:

$(KACE_INSTALL)\KBoxClient.exe” with params “-server=$(KACE_SERVER) -urltype=$(KACE_SERVER_URLPREFIX) -company=”$(KACE_COMPANY_NAME)“ -splash=”$(KACE_SPLASH_TEXT)“ -fade=1 -notifyevent=$(KBOX_EXECUTE_EVENT)

$(KACE_INSTALL)\KUpdater.exe” with params “-server=$(KACE_SERVER) -urltype=$(KACE_SERVER_URLPREFIX) -mac=$(KBOX_MACHINE_ID)

https://kbox/adminui/kbot.php?ID=3 - runkbot 3 0

Run Command on Client: runkbot 3 0

Name: KBOX Scripting Updater

Description: Downloads new scripting definitions from the server

Type: Offline Kscript

Schedule: Every 30 minutes

Command Line:

Update policy and job schedule from KBOX

https://kbox/adminui/kbot.php?ID=4 - runkbot 4 0

Run Command on Client: runkbot 4 0

Name: 5.2+ Windows CI/Inventory

Description: CI/Inventory for windows agents

Type: Online Kscript

Schedule: Not on a schedule

Command Line:

$(KACE_APP_DIR)\KDeploy” with params “-custominventory”

https://kbox/adminui/kbot.php?ID=5 - runkbot 5 0

Run Command on Client: runkbot 5 0

Name: 5.2+ Windows Agent Upgrade

Description: Agent upgrade script for windows agents

Type: Online Kscript

Schedule: Not on a schedule

Command Line:

$(KACE_SYS_DIR)\msiexec.exe” with params “/qn /i ”%temp%\$(1)“ HOST=$(KACE_SERVER)

https://kbox/adminui/kbot.php?ID=6 - runkbot 6 0

Run Command on Client: runkbot 6 0

Name: 5.2+ FS/MI

Description: FS/MI for windows agents

Type: Offline Kscript

Schedule: Run at user login / machine bootup / allow run while logged off

Command Line:

$(KACE_APP_DIR)\KDeploy” with params “-fs -mi -fade=1 -notifyevent=$(KACE_EXECUTE_EVENT)

Print Friendly, PDF & Email
Subscribe By Email for Updates.