Remote Desktop Services: Set time limit for disconnected sessions


This setting controls how long a session will remain connected if it is unexpectedly terminated. Such sessions use system resources and pose a security risk. Disconnected sessions should be terminated after a certain time.


Remote desktop services disconnected sessions time out should be enable and set to 1 Minute.

To configure it via GPO, Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Session Time Limits -> "Set time limit for disconnected sessions" to "Enabled", and "End a disconnected session" to "1 minute".