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 Assistance?
If any part of the setup feels unclear, the QuantVPS team is happy to help. If you’d like us to verify your environment from our side, feel free to open a support ticket and get connected with the team: https://www.quantvps.com/