Help Center> Elastic Cloud Server> Troubleshooting> Windows ECS Issues> How Can I Retain a Session on a Windows ECS?
Updated on 2022-07-15 GMT+08:00

How Can I Retain a Session on a Windows ECS?

Scenarios

This section describes how to configure a Windows ECS so that its remote desktop connection will not be automatically disconnected.

Procedure

The following uses an ECS running Windows Server 2008 as an example.

  1. Choose Start > Run. In the Run dialog box, enter gpedit.msc and click OK to start Local Group Policy Editor.
    Figure 1 gpedit.msc
  2. Choose Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits.

  3. Set time limit for disconnected sessions.
    • Select Enabled.
    • Set End a disconnected session to Never.

  4. Set time limit for active but idle Remote Desktop Services sessions.
    • Select Enabled.
    • Set Idle session limit to Never.