Disconnected and Idle RDP Sessions: Set Time Limits on Windows Server
How to find forgotten Remote Desktop sessions on a shared Windows server and limit them without losing anyone's work.
Read article: Disconnected and Idle RDP Sessions: Set Time Limits on Windows Server