How to monitor Exit Code for WMI Win32_TerminalService ?

With IPHost Network Monitor you can run WMI Exit Code monitoring of various devices in your network.

To create a WMI monitor for Exit Code, provide host name (it must be a Windows host) and specify custom WQL query:

SELECT ExitCode FROM Win32_TerminalService

The ExitCode property specifies a Win32 error code defining any problems encountered in starting or stopping the service. This property is set to ERROR_SERVICE_SPECIFIC_ERROR (1066) when the error is unique to the service represented by this class, and information about the error is available in the ServiceSpecificExitCode member. The service sets this value to NO_ERROR when running, and again upon normal termination.

The Win32_TerminalService class provides Terminal Service load balancing indicators.

IPHost Network Monitor is an advanced and easy tool for monitoring LAN and WAN networks, network servers, workstations and TCP/IP devices. Use IPHost Network Monitor to monitor your servers, domains, computers and devices.