App in a session I can't access

  • Thread starter Thread starter M.Siler
  • Start date Start date
M

M.Siler

I have an application that runs on the server for which I must be logged in
for it to run. If I logout the application quits. This cause a problem as
from time to time I need to restart this program. If I try to terminal to
the server it start a different session and therefore I can't access the
session running on the server.

1. How can I get an application that needs a session running to run without
being logged it? (don't know if this is even possible)
2. How can I control or access that session? I was thinking of something
like UltraVNC (http://ultravnc.sourceforge.net/) OR VNC
(http://www.realvnc.com/)

I'd perfer option number 1 so I don't have to have the administrator logged
in on the server.

Thoughts or Suggestions?
 
The best solution would be to run the application as a service.
There's a Resource Toolkit called SrvAny.exe, which helps you do
this.
If that doesn't work, you could try to start the application not from
the console, but in a session, and once it is running disconnect from
the session in stead of logging off.
This will only work if you allow unlimited time for disconnected
sessions and can reconnect to disconnected sessions. Those settings
might interfere with the settings you want for your normal users.
Check in TS Configuration, you can let user settings override server
settings.

With Windows 2003 TS, you can connect to the console session.
Unfortunately this is not possible with W2K TS (which I assume you
are running). PCanywhere or VNC are the only possibilities to connect
to the console on W2K.

Hope this helps!
 
To reconnect to a specific session, you can use the TSCON command line
tool:
http://support.microsoft.com/default.aspx?scid=kb;en-us;321703


I have an application that runs on the server for which I must be logged in
for it to run. If I logout the application quits. This cause a problem as
from time to time I need to restart this program. If I try to terminal to
the server it start a different session and therefore I can't access the
session running on the server.

1. How can I get an application that needs a session running to run without
being logged it? (don't know if this is even possible)
2. How can I control or access that session? I was thinking of something
like UltraVNC (http://ultravnc.sourceforge.net/) OR VNC
(http://www.realvnc.com/)

I'd perfer option number 1 so I don't have to have the administrator logged
in on the server.

Thoughts or Suggestions?

This posting is provided "AS IS" with no warranties, and confers no rights
 
Back
Top