> Services > Terminal Server Service

Terminal Server Service

The Terminal Server service monitors the availability of the Microsoft Windows Terminal Services, which allows remote login to a server using the Microsoft Remote Desktop client. 

During the monitoring process, the Terminal Server service uses the Windows probe to track the terminal server's key activities. The results are then displayed on the status dashboard for the service.

When adding your terminal server as a device, ensure that you select Server - Windows as the Class. The Operating System must be a server.

Service Type

WMI

Instances on a Device

1

Supported Systems/Applications

Microsoft Windows® Terminal Services

Device Class

Server - Windows

Monitored By

Windows probe, Central Server

Scan Interval

15 minutes

WMI Class

The default value for WMI Class is Win32_PerfRawData_TermService_TerminalServices which should be used for most Server - Windowss. For servers using Windows 2008 or Windows Vista SP1, however, the WMI Class should be set to Win32_PerfRawData_LocalSessionManager_TerminalServices.

Properties Queried and Calculations Performed

Namespace root\cimv2
WMI Class Win32_PerfRawData_TermService_TerminalServices
WMI Property 0 ActiveSessions
WMI Property 1 InactiveSessions
WMI Property 2 TotalSessions

Status Details

Threshold

Description

Active sessions

Counts the sessions that are currently connected and have users logged on.

Inactive sessions

Counts the sessions that are:

  • Waiting for the initial connection,
  • both connected and waiting for users to log on, or
  • both disconnected and a user is logged on.

For more information, refer to the table below.

Total sessions

The sum of the active and inactive sessions.

Examples of Active and Inactive Session Counts

Example

Session Count

Terminal Server Shutting Down

Active Session Count = 0

Inactive Session Count = 0

Total Sessions = 0

Terminal Server Freshly Started

Active Session Count = 0

Inactive Session Count = 1

Total Sessions = 1

Session Connected But Not Logged On

Active Session Count = 0

Inactive Session Count = 2

Total Sessions = 2

Session Connected AND Logged On

Active Session Count = 1

Inactive Session Count = 1

Total Sessions = 2

Session Disconnected BUT Logged On

Active Session Count = 0

Inactive Session Count = 2

Total Sessions = 2