Terminal Server Sessions don't close when exiting a DOS application
Posted on 2004-09-27
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.