Solved

RDP Client Diconnect Problems

Posted on 2004-04-12
5
268 Views
Last Modified: 2010-04-19
We have 2 Windows 2000 Professional clients that are using the MS RDP client to connect and run a applicaion on a Windows 2003 Terminal Server. The applicaion launches in its own window and seems to run just fine. However, when the user closes the applicaion (from exit button in the applicaions menu or toolbar) the session stays open and leaves an empty sessioin window. If the client reconnects they get the same empty window. The only work around we have found is to set a serverside time out on the disconnected sessions so that they dont reopen a blank window when reconnecting.
Any ideas on how to fix this issue so the client can logoff the session correctly. I have citrix ICA applicaions running on the same server that close just the way they are supposed to when the user closes the applicaion. As well, I have seen this work with other RDP clients so I am sure it is a localized problem.
I have tried to delete and recreate the RDP session file with no change. Are there any other session settings in the registry that I might be missing?
Any help would be apprieciated.



0
Comment
Question by:ITGuyMN
  • 2
5 Comments
 
LVL 16

Expert Comment

by:JamesDS
ID: 10814673
ITGuyMN

You could try setting the Terminal Server to force a program start on connection using GPOs:

User Policy:
Administrative Templates\Windows Components\Terminal Services Start a program on connection

Which sets these registry entries:
HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services!InitialProgram
HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services!WorkDirectory
HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services!fInheritInitialProgram

Machine Policy:
Administrative Templates\Windows Components\Terminal Services Start a program on connection

Which sets these registry entries:
HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services!InitialProgram
HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services!WorkDirectory

Cheers

JamesDS

0
 

Author Comment

by:ITGuyMN
ID: 10822870
Unfortunately this is a 2003 member server in a NT4 domain so GPO’s are really not an option at this point. Is there a specific setting that provides for the session to close (logoff) when the user closes the applicaion that is running in this mode?
0
 
LVL 16

Accepted Solution

by:
JamesDS earned 125 total points
ID: 10822917
ITGuyMN

I don't believe that 2003 Terminal services provides this ability - one of the differences between it and Citrix Metaframe

However, you can still set the registry entries I referred to. They will perform the same task as if the GPO had been set.

Cheers

JamesDS
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question