It's probably been one of the best purchases I’ve seen in the past twelve years at Burnet. It's been spectacular.
Damon Warren, IT Officer
Burnet Institute

What token replacement variables are available in K1000 scripts?

The following token replacement variables can be used anywhere in the XML of a K1000 script, and are replaced at runtime on the client with appropriate values:

$(KACE_DEPENDENCY_DIR) - expands to $(KACE_INSTALL)\packages\kbots\xxx. This is the folder where any script dependencies for this script are downloaded to the client.

$(KACE_INSTALL_DIR) – agent installation directory, C:\Program Files\KACE\KBOX

$(KACE_SYS_DIR) – agent machine’s system directory, C:\Windows\System32

$(KACE_INSTALL) – same as KACE_INSTALL_DIR

$(MAC_ADDRESS) – agent machine’s primary MAC

$(KACE_SERVER) – hostname of K1000 appliance (K1000)

$(KACE_SERVER_PORT) – port to use when connecting to KACE_SERVER (80/443)

$(KACE_SERVER_URLPREFIX) – http/https

$(KACE_COMPANY_NAME) – agent’s copy of the setting from server’s config page

$(KACE_SPLASH_TEXT) – agent’s copy of the setting from server’s config page

$(KACE_LISTEN_PORT) – agent’s port that server can use for “run now”

$(KACE_SERVER_URL) – combination of server, port, and url prefix (http://k1000:80)

$(KACE_IP_ADDRESS) – agent’s local IP address (corresponds with network entry of MAC_ADDRESS)

$(KACE_MAC_ADDRESS) – same as MAC_ADDRESS

$(KACE_KUID) – this is the server’s assigned unique ID for this machine

Updated on: 4/28/2011