In my job I usually have to connect to several different servers with remote desktop. However, more often than not I will get the message "Terminal server has exceeded the maximum number of allowed connections", because my colleagues just closes the remote desktop window instead of logging out.
Usually I will call the admin and get him to release one of the idle sessions on the server but this method is getting real old, real fast. So I was wondering how I setup the server so that idle sessions will timeout after 5 minutes.
In Terminal Services Configuration -> Connections
Right click on RDP-Tcp, choose properties and select Sessions tab.
You will then see the options for ending disconnected or idle sessions after x minutes, hours or days.
Also configurable through group policy, if you don't feel like touching all your servers' settings individually.