New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Win 2022 - log out user after certain time?
DeadlyChemist
Member
in Help
hey
I'm on Windows Server 2022
I'd like to logout (disconnected only!) certain users after xyz time of inactivity
so if someone disconnects the time starts ticking.
i found this but no clue how to make it for certain users only...
don't want for everyone because obviously i want to be except (i pay)
any ideas/tipps?
Comments
look at
https://woshub.com/remote-desktop-session-time-limit/
Automatically Log off Disconnected and Idle Remote Desktop User Sessions
if it works for you then you own me $10
been 5minutes and he is still eating up ram
(logged out and logged in, like full disconnect)
did you update the idle session limit?
yupp, tried that too
never gets logged out, always stays as disconnected
waited 3mins (more than 1)
windows loves to reboot
can you reboot? and test again
i need my 10ner-.
restart and 2mins ish later and still not logged out
i would love to test this tomorrow on a vm, lets see if i can reproduce.
maybe someone with more win experience can give the correct solution and gets my 10ner.
until then have a good night.
License issue?
I have the standard one i think
I installed providers iso (not autoinstall) and the lisence was entered
Can switch to my own one but i dont see how thats license issue
Dont get popups or stuff?
ideas?
might have a solution tomorrow tho
sorry, too much work at the office, didn't have time.
please let us know if found a solution.
Make sure you are running either trial version of windows server OS or activated version.
Otherwise it will log out automatically every 30 to 45 minutes
then im on correct version because my session hasn't ended in 3h
Coworker has no clue, the setting should have worked... ill dig more
Another coworker said, i should use active domain thingy? And use domain manager
SOLVED (now you owe me 10er?)
open terminal and type
mmc
create snapins
open the snapin and user of your choice
go to:
user configuration -> Adminisrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Session Time Limits
choose whichever you want and change as you like
the changes will only apply to selected user! (appears to work with my small test)
i am glad it worked for you i will note this down.