CScript Error: Initialization of the Windows Script Host failed. (Not enough storage is available to process this command. )

CScript Error: Initialization of the Windows Script Host failed. (Not enough storage is available to process this command. )

Issue: While executing a vb script file, we are getting the below error:
Microsoft (R) Windows Script Host Version 5.8 
Copyright (C) Microsoft Corporation. All rights reserved. 
CScript Error: Initialization of the Windows Script Host failed. (Not enough storage is available to process this command. )
Solution: Please increase your IRPStackSize registry entry further in Applications Manager machine.

Reference links: http://support.microsoft.com/kb/106167


Please make sure you have the required RAM space available for APM to execute the script.

                    New to ADSelfService Plus?

                      • Related Articles

                      • Windows Monitoring - FAQ

                        This Knowledge Base article provides answers to frequently asked questions about Windows Server monitoring using WMI mode. The articles are organized by the monitoring lifecycle to help you quickly identify the relevant troubleshooting guide. ...
                      • Unable to connect to the host

                        Follow the below steps to troubleshoot the error Check if the given Host Name / IP Address is correct. Run the below command in Applications Manger installed server to ensure Host / IP Address is reachable. ping <Host Name/IP Address> Eg: ping ...
                      • Windows Server Monitor - WMI Metrics Reference Tables

                        This document lists the WMI namespaces, classes, and WQL queries used by AppManager Windows Server Monitor scripts in WMI mode. These reference tables can be used to troubleshoot WMI-related issues, validate WMI queries using WBEMTEST, verify ...
                      • Updating Applications Manager Server Host and Port Details in Server Agents

                        If the hostname or port number of the Applications Manager server changes, you must update the corresponding configuration in the installed server agents so that they can continue communicating with Applications Manager. Supported Versions Server ...
                      • WMI Error Troubleshooting Guide

                        This Knowledge Base provides troubleshooting guidance for commonly encountered Windows Management Instrumentation (WMI) errors that may occur while adding a Windows monitor or collecting metrics using WMI mode in Applications Manager. WMI errors can ...