Force logoff when Remote Desktop ActiveX closes

  • Thread starter Thread starter J.T. Gilkeson
  • Start date Start date
J

J.T. Gilkeson

We provide web access to our product, and as one of the options allow a user
to run Remote Desktop through the ActiveX client.

The default behavior seems to be when the user leaves the webpage (with
ActiveX Remote Desktop Client), remote desktop leaves them logged in
(therefore continuing to hold a limited resource - number of allowed remote
connections).

The behavior we want is that if the user closes their web browser or leaves
that webpage (clicking back button), we want their remote desktop session to
log them out. We want them logged out for 2 reasons 1) we want the startup
process to run every time a user logs in 2) we want to free up the session
so other users will be able to log in.

How can this be accomplished?
 
You can configure this multiple ways:

At the connection level (applies to all users), by going
into Terminal Services Configuration, Properties of the
connection, Sessions tab. Check Override user settings, and
then choose End session.

At the user level (applies to the specific user), by editing
the user object's properties, Sessions tab.

Using Group Policy (applies to users/groups or the
computer), by editing the group policy object and changing
the session settings.

I would also recommend that you enable TS Keep alives,
so that the server is better able to detect when a user's
connection to the server has been broken.

-TP
 
Back
Top