Configure session timeout properties

Completed

Signing users out when they're inactive preserves resources and prevents access by unauthorized users. We recommend that timeouts balance user productivity and resource usage. For users that interact with stateless applications, consider more aggressive policies that turn off machines and preserve resources.

The timeout options for RDP are set on the servers in the Local Group Policy. ‎ ‎Configure session time limits listed below: ‎ ‎1. To edit Group Policy settings, press the Windows button and type group policy or gpedit.msc. In the results that return, click Edit group policy to open Local Group Policy Editor.

‎2. Navigate to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits.

Screenshot of Session Time Limits. ‎ ‎3. In the right pane of the Local Group Policy Editor, double-click to configure:

  • Set time limit for disconnected sessions.
  • Set time limit for active but idle Remote Desktop Services sessions.
  • Set time limit for active Remote Desktop Services sessions.
  • End Session when time limits are reached.

For example the, Set time limit for logoff of RemoteApp sessions is seen in the graphic below.

Set time limit for logoff of RemoteApp sessions.

  1. Click Enabled.
  2. Select the desired time for logoff delay, and click OK.
  3. At a command prompt, type gpupdate and press ENTER to force the policy to refresh immediately.