Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Terminal Server Sessions don't close when exiting a DOS application

Posted on 2004-09-27
1
Medium Priority
?
443 Views
Last Modified: 2008-03-17
Hi

Many of my companies clients still use DOS based applications for their accounting system.

With the ease of implementing a WAN many of these customers now want to run these DOS applications via Terminal Services.

I've encountered the same problem numerous times where, when you configure a Terminal Server Client to automatically run the DOS based executable it runs fine - logs onto the server automatically, launches the program and the end user can run the program.  

My problem is when they come to exit the DOS application.  Instead of closing the Terminal Server session it closes the program and leaves a blank window which is the colour of the TS Server's desktop.

The way I have got around this is by configuring users to have TS SRV desktop and launch the DOS application's exe icon on the desktop and when they need to disconnect, they exit the program and log off like they would do on their local workstation.

Does anybody know how to configure TS to recognise when the DOS application has been exited and to close the TS session?  

I usually use MS Remote Desktop, but have tried the old MS Terminal Services Client - and encountered the same problem, which makes me think that I need to configure something on the TS SRV to get this to work.

I hope I have detailed my problem thoroughly, and I thank anyone in advance can help me.

0
Comment
Question by:sheps11
[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
1 Comment
 
LVL 1

Accepted Solution

by:
wasteofspace101 earned 375 total points
ID: 12166748
you could launch the DOS app with a batch file instead of just running the app.

something simple like this should work..

start /wait my_app.exe
logoff.exe
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

604 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