3.5 SessionsReset

This Knowledge Script resets a client session on a Windows Terminal Server. When you run this Knowledge Script, the session’s hardware and software subsystems are reset to the known initial values.

You can identify the session to reset by session name or session ID number. If the Knowledge Script fails, an event is raised.

3.5.1 Resource Objects

WTS Sessions

3.5.2 Default Schedule

The default interval is Run once.

3.5.3 Setting Parameter Values

Set the following parameters as needed:

Description

How to Set It

Session Name or Session ID

Specify a list of sessions you want to reset, separated by commas with no spaces. You can specify sessions by session name or session ID number. For example: RDP-TCP#8,RDP-TCP#9,4.

Raise event if session reset fails?

Set to y to raise events if the operation fails for any reason. The default is y.

Collect data for reset sessions?

Set to y to collect data for charts and reports. If set to y, the script returns the number of sessions reset. The default is n.

Event severity when reset fails

Set the event severity level, from 1 to 40, to indicate the importance of the event. The default severity level is 5.