# Remote Desktop getting reset and sessions are lost

**URL:** <https://www.ruby-forum.com/t/remote-desktop-getting-reset-and-sessions-are-lost/184493>\
**Category:** Ruby\
**Created:** [March 3, 2010, 12:44pm UTC](https://www.ruby-forum.com/t/remote-desktop-getting-reset-and-sessions-are-lost/184493 "2010-03-03T12:44:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rakesh-swain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/8e8cbc/32.png) [@rakesh-swain](https://www.ruby-forum.com/u/rakesh-swain)\
**Post date:** [March 3, 2010, 12:44pm UTC](https://www.ruby-forum.com/t/remote-desktop-getting-reset-and-sessions-are-lost/184493/1 "2010-03-03T12:44:20Z")

</div>

Hi,

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.

Thanks  
Rakesh

---

<div class="post-metadata">

**Author:** ![rakesh-swain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/8e8cbc/32.png) [@rakesh-swain](https://www.ruby-forum.com/u/rakesh-swain)\
**Post date:** [March 4, 2010, 12:21pm UTC](https://www.ruby-forum.com/t/remote-desktop-getting-reset-and-sessions-are-lost/184493/2 "2010-03-04T12:21:03Z")

</div>

Hi All,

Any reply would be of great help.

Thanks  
Rakesh
