Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Win 2022 - log out user after certain time?
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.

Win 2022 - log out user after certain time?

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

  • ehabehab Member
    edited November 2023

    @DeadlyChemist said:
    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?

    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

    :)

  • @ehab said:

    @DeadlyChemist said:
    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?

    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?

  • @ehab said: did you update the idle session limit?

    yupp, tried that too
    never gets logged out, always stays as disconnected
    waited 3mins (more than 1)

  • ehabehab Member
    edited November 2023

    windows loves to reboot

    can you reboot? and test again

    i need my 10ner-.

  • @ehab said:
    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?

  • @Patriarch said:
    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?

  • DeadlyChemistDeadlyChemist Member
    edited November 2023

    @ehab said:
    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.

    :)

    ideas?
    might have a solution tomorrow tho

  • @DeadlyChemist said:
    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.

  • @DeadlyChemist said:

    @ehab said: did you update the idle session limit?

    yupp, tried that too
    never gets logged out, always stays as disconnected
    waited 3mins (more than 1)

    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

  • @dev_vps said:

    @DeadlyChemist said:

    @ehab said: did you update the idle session limit?

    yupp, tried that too
    never gets logged out, always stays as disconnected
    waited 3mins (more than 1)

    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

  • @ehab said:

    @DeadlyChemist said:
    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.

    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

  • @ehab said: if it works for you then you own me $10

    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)

    Thanked by 10xC7
  • i am glad it worked for you i will note this down.

Sign In or Register to comment.