Solved

RDP Client Diconnect Problems

Posted on 2004-04-12
5
264 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now