tags:

views:

28

answers:

1

Hi,

I have implemented an application which is available through RemoteApp over the internet. The application is processing large amount of data which in some cases takes even 4-5 days to complete.

At this point an application user has to keep it open all time the application is running to be able to finish the task.

I was wondering if it's possible to close the connection with the RemoteApp server and still keep the application running. In standard Terminal Service scenario I can just click "the cross" button on the Terminal Serves Session bar and disconnect without logging off.

In the RemoteApp scenario there is no TS bar on the top of the screen and by clicking X button within the application it the server closes the app.

Hope I have explained that clear enough.

Thanks for help in advance.

Mariusz

A: 

Solution 1

There is a setting in the Group Policies on the server that controls how RemoteApp applications should behave when they are disconnected.
Basically, a log off is performed by default when you close a RemoteApp, but you can change this setting to up to 5 days (might be possible to increase this limit through the registry).

You will find the settings on the server here (for Win2008):

Local group Policies (run gpedit.msc)
  > Computer Configuration
    > Administrative Templates
      > Windows Components
        > Remote Desktop Services
          > Remote Desktop Session Host 
            > Session Time Limits
              > Set time limit for logoff of RemoteApp sessions

Note: make sure you don't override disconnect/log-off settings through the Computer Configuration or User configuration or it won't have any effect as they would have precedence.

Solution 2

Use the tsdiscon tool to disconnect the session instead of closing the application.
In that case, make sure again that your Computer configuration or user Configuration settings do not enforce some time-out that would result in the session being closed when you don't want to.

References

Renaud Bompuis