question

Fahrid95 avatar image
0 Votes"
Fahrid95 asked CarlFan-MSFT answered

Remote Desktop Timeout

I have set to not configured for RD session timeout but still server is getting disconnected from the session after 30mins, can you please tell me is there any settings I need to modify to avoid this.

windows-serverremote-desktop-serviceswindows-server-2016
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

CarlFan-MSFT avatar image
0 Votes"
CarlFan-MSFT answered

Hi,
In Server Manager -- RDS -- Collections -- <collection> -- Properties -- Tasks -- Edit Collection Properties -- Session tab, are all three timeouts set to Never ?
Could you see any messages on the client PCs and server logs confirming that the sessions were disconnected due to inactivity?

Please make sure you have enabled RD keepalives on all RDSH servers via group policy setting, and restart all of them for the setting to take effect.

Computer Configuration\ Administrative Templates\ Windows Components\ Remote Desktop Services\ Remote Desktop Session Host\ Connections

Configure keep-alive connection interval Enabled

Keep-Alive interval: 1
Hope this helps and please help to accept as Answer if the response is useful.
Best Regards,
Carl

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.