Re: Remote Application
If you define a Starting application, either in Terminal Services
Configuration, a GPO or in the RDP client, the session should be
automatically logged off when users quit the application.
Sometimes, this doesn't happen and users are left with a session
which only shows the desktop background, without the possibility to
log off the session manually. The cause for this problem is a
process which is still running in the session, preventing it from
closing and logging off.
To solve the problem, open a connection to the Terminal Server and
check in Task manager which process is keeping the session from
closing. Some anti-virus applications are known to cause this
behaviour.
If you can't avoid running the process, you can use a work-around
to log off user sessions:
For a list of known processes which cause this behaviour, check:
CTX891671 - Graceful Logoff from a Published Application Keeps
Sessions in Active State
http://support.citrix.com/article/CTX891671
If you are running native Terminal Services without Citrix, you can
still use the method described in the "Resolution" section of the
Citrix article, albeit with another registry entry. Windows
Terminal Services keeps its list of system processes in the
following location in the registry:
HKLM\CurrentControlSet\Control\Terminal Server\SysProcs
If you have identified the process which keeps the session from
logging off, you can create a new REG_DWORD value under the
SysProcs key, with the name of the process as the value name.
_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting:
http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___
=?Utf-8?B?Z21ja2lubGV5?= <gmckinley@discussions.microsoft.com>
wrote on 23 jan 2008 in
microsoft.public.windows.terminal_services:
> When I setup up remote desktop to launch a application, I quite
> the application but my remote session is still active. How can
> I disconect the session from terminal server?