lithnet / idle-logoff

A group-policy enabled utility for logging off idle windows user sessions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add disconnect as option?

stepher15 opened this issue · comments

Would it be possible to add the disconnect option?
When the user has reached an idle time limit, disconnect the user. This will allow them to reconnect to their session.

Thanks!

@stepher15 are you looking for a solution for remote desktop users, or users logged on at the physical computer?

Strange situation I have run into..

We use VMWare Horizon Published Applications on 2016 RDSH servers.

The users have session portability, which allows a user to reconnect to their session when remote or onsite (within the idle time for logging off a disconnected user)

The problem is when the user is remote (15 minutes idle time disconnect), and then comes in to the office and reconnects to their session, we don't want that idle session to be 15 minutes anymore. This will be controlled from the use of Imprivata SSO agent on the computer to disconnect the user session when Idle time is reached.

When remote, the idleloggoff.exe would be launched to track idle time. however when the endpoint is an internal computer, we would simple kill the exe and let the SSO agent handle the idle session timeout.

Hope this helps?

The Logoff is handled by the VMware Horizon Connection Server. No logoff required, simply a disconnect after xx time of being idle.
Thanks.

Hmm, that might be a bit tricky. The app runs an internal loop that terminates when the idle event occurs and the app essentially stops. The changes needed to support your scenario are fairly substantial, especially as we probably need to start interrogating the terminal services API, to determine connected/disconnected session state and act accordingly. For this reason, I don't think this is specifically a good fit for idle logoff.

Windows has the ability to disconnect idle remote desktop sessions out of the box with GPO. If you have the ability to arbitrarily run something at start up based on if the user is remote or not, have you tried just setting the windows idle session reg keys using a script?

https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.TerminalServer::TS_SESSIONS_Idle_Limit_1

If that sort of approach is not suitable or possible, we can quote you on a small custom app to do what you are after. Feel free to email support@lithnet.io if this is the path you want to go down.

I have sent an email over for a custom application. I will close this request off.
Thanks.