Hello
To increase the logout timeout on Windows Server 2022, you can adjust the session time limits through Group Policy or the Local Security Policy.
Using Group Policy:
Open the Group Policy Management Console (GPMC) on your server.
Navigate to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits.
Here, you can configure the settings for "Set time limit for active but idle Remote Desktop Services sessions" and "Set time limit for disconnected sessions" to your desired timeout values.
Using Local Security Policy:
Open the Local Security Policy editor by typing secpol.msc in the Run dialog (Win + R).
Navigate to Local Policies > Security Options.
Look for the policy named "Interactive logon: Machine inactivity limit" and set it to your desired timeout value.