We have a Windows Server 2016 Remote Desktop session host with Session Broker and Gateway.
The collection settings specify all session limits as "never". Sessions are logged off six hours after disconnection (found this in the eventlog).
I created a GPO which also specifies the session limits to never for the computer configuration, but this didn't help.
I checked the registry, and the keys are correct:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services] "MaxDisconnectionTime"=dword:00000000 "MaxIdleTime"=dword:00000000 "MaxConnectionTime"=dword:00000000 "fResetBroken"=dword:00000000 I checked the user objects in AD, and on the users the "session" tab also states "never" on all settings.
Next I checked the RD Gateway policies, but also there, no limits specified...
This happens on all users logging in to the RDS.
Is there any other place where session limits can be set?
EDIT: screenshots of settings:



