Activity Log Shows "Command timed out"
The "COMMAND TIMED OUT" error typically indicates that a policy or process took longer than expected to execute. Below is an explanation of what it means, its potential causes, and how to resolve it.
Common Causes of "COMMAND TIMED OUT"
-
Policy Execution Delays:
- The patch policy did not finish installation within the expected timeframe.
- Example: The Automox agent initiates a Windows Update that takes too long to complete, resulting in a timeout.
- The patch policy did not finish installation within the expected timeframe.
-
Worklet Timeout:
- A Worklet on a Windows device exits with an "exit 1" status, which Automox translates to "exit 124" or "COMMAND TIMED OUT."
Troubleshooting Steps
-
Check Windows Update Logs:
- Follow Microsoft's guide to retrieve the logs.
-
Verify Software Installation:
- Even if the error appears, check if the software was successfully installed.
-
Avoid Using Exit Code 1 in Worklets:
- To prevent misinterpretation as "COMMAND TIMED OUT," use an alternative exit code for Worklets.