Since we migrated our server from Windows Server 2003 to Windows Server 2008, my Remote Desktop Session werer getting forcibly disconnected whenever I log out from the session. in Windows Server 2003, the programs I started during a session continue to run even after I log out from a session. Its no longer the case as the default behavior is to time out and close the programs after certain timeout.
We need that for tesint our server process (until we turn it into Windows Services)
Here is what I had to do to keep the programs running.
First of all, run
Remote Desktop Session Host Configuration
In the Connections list, select the connection, and bring up Properties.
In the Sessions tab, set the "End a disconnected session:" value to Never.
That should do it.