Solved

RDP Client Diconnect Problems

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

617 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