ForceLogoff

Options to force sessions to log off automatically based on session limit, idle time and disconnected state

Key

  • HKLM\Software\RES\Workspace Manager (32-bit)
  • HKLM\Software\Wow6432Node\RES\Workspace Manager (64-bit)
  • HKCU\Software\RES\Workspace Manager (32-bit)
  • HKCU\Software\Wow6432Node\RES\Workspace Manager (64-bit)

Value

ForceLogoffEnabled

Type

REG_SZ

Data

Yes or No

Value

ForceLogoffTimeout

Type

REG_SZ

Data

(time in minutes)

Value

ForceLogoffOnIdle

Type

REG_SZ

Data

Yes or No

Value

ForceLogoffOnDisconnect

Type

REG_SZ

Data

Yes or No

Value

ForceLogoffTimeoutOnDisconnect

Type

REG_SZ

Data

(time in minutes)

Examples

To force idle sessions to log off after 30 minutes, set:

  • ForceLogoffEnabled: Yes
  • ForceLogoffOnIdle: Yes
  • ForceLogoffTimeout: 30

To force disconnected sessions to log off after 10 minutes, set:

  • ForceLogoffEnabled: Yes
  • ForceLogoffOnDisconnect: Yes
  • ForceLogoffTimeoutOnDisconnect: 10

If ForceLogoffTimeoutOnDisconnect is not set, then ForceLogoffTimeout is used to determine the timeout. If that is not available either, then Workspace Control reverts to the default time out of 1 minute. This means that you can set the same time outs for both mechanisms, or you can set a separate time out for each mechanism.