The Set time limit for active Remote Desktop Services sessions machine setting should be configured correctly.
This policy setting allows you to specify the maximum amount of time that a Remote Desktop Services session can be active before it is automatically disconnected. If you enable this policy setting, you must select the desired time limit in the Active session limit drop-down list. Remote ...