Discussion:
Script to terminate disconnected sessions immediately?
(too old to reply)
chrisamct
2005-05-27 15:06:01 UTC
Permalink
Good Afternoon,

I am looking for a way to completely disable or immediately terminate
disconnected sessions in Windows 2003 terminal services. The AD setting
allows for termination of disconnects every 60 seconds. I am looking for a
script or reghack which would terminate disconnected sessions immediately or
when a session is closed, never go into disconnected state.

The reason for this, we have 600 users logging into a TS cluster
anonymous. There are times when a user will close out their session and the
next user is able to logon to that previous users session.

Down the road we will move away from anonymous accounts but for the
current time looking for a work around.

Please respond back to ***@earthlink.net or I will check back
here for responses as well
Patrick Rouse
2005-05-30 01:48:02 UTC
Permalink
If you remove the restriction for 1 session per user a new logon should not
get the old session. This can be configured in the terminal services
configuration, tscc.msc.
--
Patrick Rouse
Microsoft MVP - Terminal Server
http://www.workthin.com
Post by chrisamct
Good Afternoon,
I am looking for a way to completely disable or immediately terminate
disconnected sessions in Windows 2003 terminal services. The AD setting
allows for termination of disconnects every 60 seconds. I am looking for a
script or reghack which would terminate disconnected sessions immediately or
when a session is closed, never go into disconnected state.
The reason for this, we have 600 users logging into a TS cluster
anonymous. There are times when a user will close out their session and the
next user is able to logon to that previous users session.
Down the road we will move away from anonymous accounts but for the
current time looking for a work around.
here for responses as well
Loading...