Hello there,
Local Computer Policy
=> Computer Configuration
=> Administrative Templates
=> Windows Components
=> Remote Desktop Services
=> Remote Desktop Session Host
=> Session Time Limits
By default, it is set to the ‘Not configured’. Change this to ‘Enabled’. Now you will see the option “End a disconnected session” on the lower-left side. Set this value to the desired time. I have set this to 1 hour, so any disconnected user is logged off after 1 hour.
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer--
Auto log off for specific users on Windows Server 2022
Hello, we have one tower server that runs windows server 2022 and everyone RDPs in with their own account and they should log off after 5 minutes of inactivity. Except for one user that is in the control room and that should not log out. I tried using local policy but you can't exclude a user from it and I tried computer management -> users -> session idle log off time but it was inconsistent. I also looked into using GPO but group policy like that is for multiple computers under a domain which is not the case for this. Help on this would be appreciated. I just want all users except one to auto logoff after 5 minutes on inactivity on their RDP.
3 answers
Sort by: Most helpful
-
Limitless Technology 44,326 Reputation points
2023-05-25T11:46:58.3133333+00:00 -
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
4 deleted comments
Comments have been turned off. Learn more
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
9 deleted comments
Comments have been turned off. Learn more