Remote Desktop getting reset and sessions are lost


We have automated a website using Watir and the scripts has to run on
remote desktop on daily basis. The remote desktop is windows 2003
server. The scripts were running perfectly and sending reports until
some configuration changes were done on the remote server.

The complete suite takes around 3 hours to run completely. Now the
remote server refreshes all the sessions every 2 hours and the instance
is lost. Though i can see the ruby process still running, its not
running physically.

Please suggest if there is any way to overcome this problem and restart
the process thread without having to alter the server configurations.


Hi All,

Any reply would be of great help.