Step-by-Step: Configure Session Time Limits via Group Policy
1. Open the Group Policy Editor
Press Win + R
Type gpedit.msc and press Enter
2. Navigate to the Session Time Limits Settings
Go to:
Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits
3. Configure Session Policies
Make the following changes:
Set time limit for active but idle Remote Desktop Services sessions
Double-click to open
Set to Enabled, then select Never
Set time limit for disconnected sessions
Double-click to open
Set to Enabled, then select Never
Set time limit for active Remote Desktop Services sessions
Double-click to open
Set to Enabled, then select Never
4. Apply the Changes
Click OK on each setting to save.
Open Command Prompt and run:
gpupdate /force
This forces Windows to apply the new policies immediately.
Optional: Configure Keep-Alive Connection Interval
Enabling the Configure keep-alive connection interval policy can help maintain a stable connection by periodically sending keep-alive packets to the session host.
Need Help?
If you need further assistance or have any questions, please reach out to our support team. We’re happy to help you keep your server session uninterrupted.