Partager via


View Sessions Running on a Terminal Server

Applies To: Windows Server 2008

You can view information about sessions running on a terminal server on the Sessions tab in Terminal Services Manager.

There are three sessions that you will always see displayed on the Sessions tab in Terminal Services Manager:

  • Services   The session that contains various system processes on the terminal server.

  • Listener   The session that listens for and accepts new Remote Desktop Protocol (RDP) client connections, thereby creating new sessions on the terminal server.

  • Console   The session that you connect to if you log on to the physical console of the computer, instead of connecting remotely.

The following is a list of the columns that are listed on the Sessions tab and a description of what information will be displayed in each column.

Column Description

Server

The terminal server with which the session is associated.

Session

The session running on the terminal server.

User

The user account that is associated with the session.

ID

The numeric ID that identifies the session to the terminal server.

State

The status of a session. For more information, see Session States.

Type

The type of remote desktop client using the session.

ClientName

The name of the client computer using the session, if applicable.

IdleTime

The number of minutes that have elapsed since the last keyboard or mouse input to a session.

LogOnTime

The date and time at which the user logged on, if applicable.

Comment

Additional information about the session, such as its location. This field is optional.

Session States

The following is a list of session states that might be displayed in the State column on the Sessions tab in Terminal Services Manager and a description of each state.

Session state Description

Active

The session is connected, and a user is logged on to the terminal server.

Connected

The session is connected, but there is no user logged on to the terminal server.

ConnectQuery

The session is in the process of connecting. If this state continues, it indicates a problem with the connection.

Shadow

The session is in the process of being remotely controlled by another session.

Listen

The session is ready to accept a client connection.

Disconnected

The user is disconnected from the session, but the session is still attached to the terminal server and can be reconnected to at any time.

Reset

The session is in the process of being reset.

Idle

The session is initialized and ready to accept a connection. To optimize the performance of a server, two default (idle) sessions are initialized before any client connections are made.

Down

The session failed to initialize correctly or could not be terminated, and is not available. If this state continues, it indicates a problem with the connection of the session.

Init

The session is in the process of initializing.

Additional references