We are facing RDP issues when ever connecting to few win 2k3 servers .
Getting too many users logged into server.
Normally we use tsadmin and logoff all the disconnected sessions or use Windows Command line:
query user logoff session id
Is there any script where we can give inputs of few servers , which can monitor regularly and kill/logoff all the disconnected sessions .
The script can reduce our manual job. Even kindly let me know if we have any group policy to terminate disconnected sessions at a regular time interval.