The Win32_TSSessionSetting class defines the configuration for Win32_Terminal. This includes capabilities such as Time-limits, Disconnection and Reconnection actions.
'Sets the action to be taken if the session limit is reached or connection is broken, one of the following action is taken:Disconnect: The user is disconnected from the sessionTerminate: The session is permanently deleted from the server the property BrokenConnectionAction that it is applicable only to Server-override mode and returns success in case of Server-Overridemode and an error if the policy was set to User or Group.'
Implemented
True
BrokenConnection method is in 1 class (Win32_TSSessionSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
'SessionLimitType is an enumeration of the properties: 0 = ActiveSessionLimit, 1 = DisconnectedSessionLimit and 2 = IdleSessionLimitwhich specify the Maximum allowed time for Active Session, Disconnected Session NEVER for all three and Idle session limits and Value specifies the time in milliseconds. The call returns 0 for success in case of Server-Override mode and an error if the policy was set to Group policy.'
Implemented
True
TimeLimit method is in 1 class (Win32_TSSessionSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
Detailed description of Win32_TSSessionSetting properties
Local properties (13) of Win32_TSSessionSetting class
'If session limit is reached or connection is broken, one of the following actions is taken: Disconnect - User is disconnected from the session or Terminate - The session is permanently deleted from the server.'
read
True
Values
['Disconnect', 'Terminate']
BrokenConnectionAction property is in 1 class (Win32_TSSessionSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
'Non-Zero value indicate display warning before logging off session when maximum idle time is reached. O means otherwise. There is no GP for this setting and can be set only through tsconfig.'
read
True
write
True
EnableTimeoutWarning property is in 1 class (Win32_TSSessionSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
'PolicySourceDisconnectedSessionLimit indicates whether the property DisconnectedSessionLimit is configured by Server (0),Group Policy (1), Default (2).'
read
True
PolicySourceDisconnectedSessionLimit property is in 1 class (Win32_TSSessionSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
'The Win32_TSSessionSetting class defines the configuration for Win32_Terminal. This includes capabilities such as Time-limits, Disconnection and Reconnection actions.'