Session Disconnects - StartProgram - Restart

  • Thread starter Thread starter Cary Lewis
  • Start date Start date
C

Cary Lewis

If I specify a StartProgram property using the activex rdp client from
microsoft and auto-login, then once this program is exited, a
subsequent re-connect to that session does not work.

The session is disconnected, but reconnecting does not re-run the
StartProgram specified. All I get is a blue screen.

Is there a way to configure TS to automatically reset sessions if the
program specified by StartProgram exits?

Thanks for any help.
 
After exiting the application, the session should logoff.
This obviously doesn't happen on your server. The most likely
cause is that there still is some other process running in the
session. Have a look in Task manager to see which process this is.

If all else fails, you can create a batch file to start your
application and afterwards log the session of. Something like
this:

start /wait my_app.exe
logoff

Make this batchfile the starting application.
 
Back
Top