When a RDP sessions time out, what happens to the running processes? Are they gracefully shutdown, and if that fails then forcefully terminated?
When a RDP sessions time out, what happens to the running processes? Are they gracefully shutdown, and if that fails then forcefully terminated?
It depends on the settings on the Terminal Server. Specfically the Session settings for RDP connections. Provided you have appropriate permissions to access them, they can be accessed via
You can configure it to end disconnected sessions immediately, or after a certain time, or never.
Have a read here http://technet.microsoft.com/en-us/library/cc779468(WS.10).aspx
If the session is configured to end, the result will essentially be the same as logging out.
The processes keep running. Try running a ping -t 127.0.0.1, disconnect and then reconnect. You will see that the ping command is still running.
Not that it will make any difference, but if you want to simulate a time out, then disable your network card after you start the ping command.