Prevent Windows 10 Remote Desktop Session (RDS) Auto-Logoff/Timeout

One of the annoying default settings in Windows 10 is that it will automatically log off idle Remote Desktop sessions (RDS) after a period of inactivity. Luckily, there are a few Group Policy settings that we can change to prevent this.

1. Run gpedit.msc

Run gpedit.msc

2. Expand Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Session Time Limits.

Computer Configuration Tree

3. If any of the listed policies are not Disabled, double-click on them to open the Properties window.

Group Policy List

4. Click on the Disabled radio button and click OK.

Group Policy Settings Window

5. Expand User Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Session Time Limits.

User Configuration Tree

6. If any of the listed policies are not Disabled, double-click on them to open the Properties window, and follow the same instructions as for step #4 above to disable them.

Group Policy List

7. Reboot the computer for the changes to take effect.

Your Windows 10 computer should no longer log you off automatically after being idle.