> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://helpdesk.tradoxvps.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to keep your Remote Desktop Session Alive with Remote Desktop Connection


||| Some applications require an active remote desktop session to keep running. To maintain this session in Remote Desktop Connection (RDC), you need to change settings in the Group Policy Editor on the remote computer.

1. Open Group Policy Editor:

Press ***Win + R*** on the remote computer to open the Run dialog. Type ***gpedit.msc*** and press Enter. This opens the Local Group Policy Editor.

![](https://storage.crisp.chat/users/helpdesk/website/-/d/a/0/d/da0d2c9572aef000/image_z2a2wq.png)
![](https://storage.crisp.chat/users/helpdesk/website/-/d/a/0/d/da0d2c9572aef000/image_3ceob7.png)
2. Navigate to Remote Desktop Session Host Policies:

In the Group Policy Editor, navigate to Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Connections

![](https://storage.crisp.chat/users/helpdesk/website/-/d/a/0/d/da0d2c9572aef000/image_1bn57e.png)
![](https://storage.crisp.chat/users/helpdesk/website/-/d/a/0/d/da0d2c9572aef000/image_ux0eez.png)
![](https://storage.crisp.chat/users/helpdesk/website/-/d/a/0/d/da0d2c9572aef000/image_g92dou.png)
![](https://storage.crisp.chat/users/helpdesk/website/-/d/a/0/d/da0d2c9572aef000/image_1w8fqsn.png)
![](https://storage.crisp.chat/users/helpdesk/website/-/d/a/0/d/da0d2c9572aef000/image_l91tm4.png)
3. Enable Keep-Alive Connections:

Look for the policy named "Configure keep-alive connection interval." Double-click on the policy to open its properties.

![](https://storage.crisp.chat/users/helpdesk/website/-/d/a/0/d/da0d2c9572aef000/image_111i4ct.png)
4. Configure Keep-Alive Interval:

Select the *"Enabled"**&#160;option. In the&#160;**"Keep-Alive interval"* **field, specify the time interval (in seconds) at which the keep-alive packets should be sent to maintain the connection. For example, you can set it to 300 seconds (5 minutes).**

![](https://storage.crisp.chat/users/helpdesk/website/-/d/a/0/d/da0d2c9572aef000/image_10w70go.png)
5. **Apply Changes:**

**Click&#160;***"OK"*** to apply the changes.

![](https://storage.crisp.chat/users/helpdesk/website/-/d/a/0/d/da0d2c9572aef000/image_17xfke3.png)
6. Restart Remote Desktop Services (optional):

To ensure the policy takes effect, you can restart the Remote Desktop Services on the remote computer. Open a Command Prompt with administrative privileges. Run the following command: net stop termservice && net start termservice

![](https://storage.crisp.chat/users/helpdesk/website/-/d/a/0/d/da0d2c9572aef000/image_1seklxv.png)

| To ensure the policy takes effect, you can restart the Remote Desktop Services on the remote computer. Open a Command Prompt with administrative privileges. Run the following command: net stop termservice && net start termservice


|| 
Always exercise caution when making changes to group policies, as incorrect configurations can affect the system’s behavior. If you’re unsure or uncomfortable with these changes, consider seeking assistance from your IT department or a knowledgeable colleague.

