Hello @Gillan Polyanskiy
Is there a domain policy that overrides the setting you made?
1). Select the maximum amount for idle, active and disconnect sessions.
2). Or you can add the registry value on local PC: HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\ KeepAliveEnable DWORD 1
3). the scrpts.
Other reference article:
How to stop remote desktop logoff after closing the connection
Best Regards
Karlie
----------
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.