Applications Manager uses VBScript to connect to remote Windows servers and collect telemetry data through WMI. By default, each data collection script has a timeout of 180 or 300 seconds (3 or 5 minutes).
This error occurs when the script execution exceeds the configured timeout before completing data collection.
The script timeout error can be triggered by one or more of the following conditions:
| Category | Possible Causes |
|---|---|
| Network | High latency between the Applications Manager server and the target server |
| Server Performance | The target server is busy or experiencing high resource utilization |
| WMI | Slow WMI query execution on the target server |
| Infrastructure Changes | Recent firewall, antivirus, or network policy changes affecting WMI communication |
| Performance Counters | Corrupted Windows performance counters |
| WMI Corruption | Corrupted WMI classes or WMI repository |
Before applying any fixes, measure the actual script execution time to determine whether the timeout is legitimate.
📖 Reference: See the existing using the Self Help Tool KB article for detailed instructions.
While executing the Self Help Tool:
<APM_HOME>\working\conf\application\scripts
set start=%time%
cscript windowsScripts.vbs "hostname" "username" "password" "memory.vbs,cpucore.vbs,cpu.vbs,disk.vbs,NetworkInterface.vbs,uptime.vbs,PhyMemCpuImportProduct.vbs,services.vbs"
set end=%time%
echo %start%
echo %end%
Note:If the monitored server is expected to respond slowly, increase the script timeout to allow data collection to complete. To do so, follow the steps below:
Note: Increasing the timeout is only a temporary workaround. Configuring a significantly higher timeout may increase the overall data collection time and should be done only when necessary.If increasing the timeout resolves the issue, the delay is likely caused by network latency or slow WMI communication.
\\<TargetServer>\root\cimv2
SELECT * FROM Win32_ComputerSystem
Note: The above example uses the Win32_ComputerSystem query to validate remote WMI connectivity. Applications Manager collects multiple metrics using different WMI classes and queries. To test the WMI query for a specific metric, refer to the Namespace & WMI Class KB article and execute the corresponding WQL query.If the remote query is slow, investigate the following:
Resolve any network-related issues before proceeding further.
If the network is healthy but WMI queries remain slow even when executed locally on the target server, the issue may be related to corrupted Windows performance counters or WMI classes.
root\cimv2
SELECT * FROM Win32_ComputerSystem
Note: The above example uses the Win32_ComputerSystem query to validate WMI connectivity. Applications Manager collects multiple metrics using different WMI classes and queries. To test the WMI query for a specific metric, refer to the Namespace & WMI Class KB article and execute the corresponding WQL query.If the query executes slowly or fails, proceed with the following resolution steps.
Corrupted Windows performance counters commonly affect PerfMon-related WMI classes and may significantly increase WMI query execution time.
lodctr /r
If rebuilding the performance counters does not resolve the issue, reconstruct the WMI classes by following the steps provided in the following KB article:
For additional information, refer to the following Microsoft article:
If the issue persists after completing the above troubleshooting steps, collect and share the following information with Applications Manager Support: