Terminal Services session is idle in Windows 2008 Server
- Some times Terminal Serve session goes in idle mode and session stuck.
-
For this you need to following changes in Group Policy Settings.
First open Group Policy Editor:
Start -> run -> Type gpedit.msc
Group Policy Editor window is open go to the following path
Go To this path.
User Configuration\Policies\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Session Time Limits
Set time limit for active but idle Terminal Services sessions -- Disable
Explanation :
This policy setting allows you to specify the maximum amount of time that an active Terminal Services session can be idle (without user input) before it is automatically disconnected.
If you enable this policy setting, you must select the desired time limit in the Idle session limit list. Terminal Services will automatically disconnect active but idle sessions after the specified amount of time. The user receives a warning two minutes before the session disconnects, which allows the user to press a key or move the mouse to keep the session active. If you have a console session, idle session time limits do not apply.
If you disable or do not configure this policy setting, Terminal Services allows sessions to remain active but idle for an unlimited time. You can specify time limits for active but idle sessions on theSessions tab in the Terminal Services Configuration tool.
If you want Terminal Services to terminate—instead of disconnect—a session when the time limit is reached, you can configure the Terminate session when time limits are reached policy setting located in Computer Configuration\Policies\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Session Time Limits.