It may become necessary to gather logs to troubleshoot a possible agent side issue. The KACE Agent Toolkit (KAT) is used by KACE Support technicians and DIY customers to diagnose and troubleshoot agents/endpoints.
If agents are communicating with the KACE Systems Management Appliance (SMA), it may be possible to run a script to gather the logs instead of running the utility locally.
The information in the script(s) provided is known to work successfully; however, they have not been officially tested by our Quality Control.
If any of these instructions are changed and/or incorrectly used, intentionally or unintentionally, this solution becomes unsupported by our Support and Development.
Support and Development recommend always making a backup of the current database prior to execution of any script(s) that may modify it.
For customization of the KACE Systems Management Appliance (SMA), please contact our Professional Services Organization.
Please note that it is important to regularly update any script for the KACE Agent Toolkit (KAT) with the most recent executable. When a new executable is released for the KAT, it is usually to add or remove items from the kapture that are no longer or now necessary. Not keeping the script up-to-date may result in not having the necessary logs.
The below is an example of how to create the script for a Windows device. The same can be done for Linux and Mac using the proper installation and parameters. See the README.txt in the KAT for more detailed information. For more information about the KAT, see Using the KACE Agent Toolkit (KAT) (263376).
Note: The above script can be run on demand, by adding the targeted test device and using Run Now. Once it is complete, the kapture state .zip file can be located in the Uploaded Files section of the device inventory page. Sending this zip file to KACE Support can assist with troubleshooting agent related issues.
Output directories C:\Windows\Temp (Windows) and /tmp (Linux and Mac) are used in the script and can be changed if desired. The script runs at a local system level, so if access to this directory is restricted changes may be necessary.
Note: Subsequent runs of the script(s) on the same device will overwrite the current uploaded file, unless the output file name is changed in the script(s).
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center