Solved

RDP Client Diconnect Problems

Posted on 2004-04-12
5
269 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Server Login Issue 4 65
setup share and NTFS permissions. 12 93
how to check the account lockout counter? 6 75
Event ID: 5719 / Source: NETLOGON 9 162
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.
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

740 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