Mar 21 2022 07:52 AM
Moin (Hello together),
Is there a way to have a session automatically logged out when the user closes their last application.
We only run published applications in our environment and no desktops. I would like to implement it so that the user session is logged off directly when the user closes his last application. From that point on the time defined in the MaxIdleTime runs.
So
- User has no more applications open (last application closed = direct logout of the session).
- User is no longer working, but applications are still open = logout after the defined MaxIdleTime.
Is there a way to implement this?
As a workaround and additional way to logout we have provided another "Logout" application to the users, where a "shutown /l /f" is executed.
Thanks for the support.
Nov 28 2022 11:43 PM
Nov 29 2022 10:48 PM
Hello @OSuperfly68,
No, unfortunately we have not found a way for this.
As a workaround, we have built a logout application for our users and taught the colleagues that this should be executed at the end of the working day.
Aug 02 2023 01:50 PM
@Dennis_Schierenbeck I know I'm like 8 months late but check out the "Set time limit for logoff of RemoteApp sessions" GPO Setting. It works for us. We have it set to 5 Min and if all apps are closed in a session the session is terminated after 5 min of no other app being launched.
Cheers!
Aug 06 2023 05:44 PM
See the Blogs with related discussions:
Azure Virtual Desktop Session Hosts Cost Savings - Johan Vanneuville
Feb 01 2024 02:51 AM