TaskTimeout allows you modify the timeout period of the task engine with K2000 version 3.6 and higher. The task timeout period starts immediately when a task is run. When the timeout period is reached, the task will fail and then either display the task error screen or continue to the next task, depending on the option chosen.
The task timeout period is stored in config.xml, which gets copied to the x: drive in KBE immediately after the initial deployment begins. Config.xml gets read immediately prior to every task that is run. By default, the timeout period is set to 8 hours.
The task timeout script can be be run multiple times to change the timeout period in KBE as a pre or midlevel task or in Windows as a postinstall task.
*Note: It is recommended that you use the task timeout script as a
mid-level or post install task. This is because the "Apply Image" task
also uses the task timeout period. If you don't give the image enough
time to apply, then the image deployment will fail.
The /min: switch must be specified and followed by the desired number of minutes for the timeout period. The value must be between 10 minutes and 960 minutes (16 hours). An example of a proper command is:
There are 2 executables included in the download, task_timeout.exe and task_timeout_x64.exe.
task_timeout.exe should be used for:
- Any Preinstall TaskTimeout task within a 32 bit KBE
- Any Midlevel TaskTimeout task within a 32 bit KBE
- Any Postinstall TaskTimeout task inside of Windows (regardless of x86 or x64)
task_timeout_x64.exe should be used for:
- Any Preinstall TaskTimeout task within a 64 bit KBE
- Any Midlevel TaskTimeout task within a 64 bit KBE
- Any Postinstall TaskTimeout task inside of Windows x64 only
*Note: you must be a member of the K2000 ITNinja Community to download this file.
v. 188.8.131.52 [06-06-14]
-fixed issue with not reading timeout minutes correctly
v. 184.108.40.206 [02-03-14]
Corey A. Serrins
Back to K2000 Deployment Workbench Page