As you mention, it seems that the sessions remain active on the server not properly exit thereof, and the time comes when Terminal Server licenses are depleted, the number of users who can simultaneously access the server via remote desktop . I think it best that will revise the following article in our Knowledge Base: http://wikitechsolutions.com/5769/how-to-release-terminal-server-sessions