Microsoft Group Policy
Remote Desktop Policy Config
Location:
Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits\
My recommended settings for Windows servers Remote Desktop Sessions
“Set Time limit for logoff of RemoteApp session” = 2 hours
“Set time limite for active but idle Remote Desktop Services Sessions” = 1 day
“Set Time limit for disconnected sessions” = 2 hours
Reference: https://technet.microsoft.com/en-us/library/cc754272(v=ws.11).aspx