Jump to content

multiple disconnected sessions


Recommended Posts

Guest Don Powell
Posted

I notice on my 2003 terminal server that a couple of my users have multiple

disconnected sessions. How can they have more than one session, I thought

that if they disconnected then reconnected it just restored their sessions to

active rather than create a new one? More importantly, how can I change my

settings so they don't have more than one disconnected session?

 

Thanks

  • Replies 1
  • Created
  • Last Reply

Popular Days

Posted

Re: multiple disconnected sessions

 

Hi,

 

Do you have "Restrict each user to one session" set in

Terminal Services Configuration (tscc.msc)? I will assume yes,

please correct me if I am wrong.

 

When a user who already has a session on the server connects,

the ts server will attempt to connect them to the existing session.

This is how the "Restrict each user to one session" works in a

nutshell.

 

The problem is that you can't connect to a session when it is in

certain states. One example is when a session is remote

controlling another session. Another is when the session is

shutting down or is in the process of completing some sort of

connect operation itself.

 

If you are seeing this behavior frequently it may mean that there

are connectivity issues and/or the logon process is not

completing properly. Sometimes if the user has trouble logging

on (their screen hangs, etc.) they will start a fresh copy of the

Remote Desktop Client and try again while the first attempt is

still there.

 

Please talk to the users that you have noticed have multiple

sessions and ask them if they have had problems. For example,

their session hangs and they have to reconnect, logon is slow, etc.

 

I recommend you enable TS Keepalives on your server. This

will not resolve all network issues but it will help the server

better detect when a session needs to transition to the disconnect

state.

 

The other scenario that will cause a new session to be created is

when you specify different initial programs for each connection.

For example, on one connection the user specified notepad.exe

to start automatically whereas on a different session they

specified winword.exe. See here for explanation of this:

 

"Restrict Each User to One Session" Setting in Tscc.msc Does Not Work

 

http://support.microsoft.com/kb/302883

 

Thank you.

 

-TP

 

Don Powell wrote:

> I notice on my 2003 terminal server that a couple of my users have

> multiple disconnected sessions. How can they have more than one

> session, I thought that if they disconnected then reconnected it just

> restored their sessions to active rather than create a new one? More

> importantly, how can I change my settings so they don't have more

> than one disconnected session?

>

> Thanks


×
×
  • Create New...