Forum Discussion
Dennis_Schierenbeck
Mar 21, 2022Copper Contributor
Auto-LogOff User after closing last application
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....
martijnk79
Feb 01, 2024Brass Contributor
Old topic I know but we solved this by setting the GPO:
- Set time limit for active but idle Remote Desktop Services sessions to 1 hour.
- Set time limit for logoff of RemoteApp sessions to Immediately.
I've tested this and even when OneDrive launches with the app, as soon as I close the last app my session logs off.
You can also set the last setting to one minute. Because when the user closes the last app and immediately wants to start a new app you may run into issues when the logoff is still in process.
We are still testing this.
- Set time limit for active but idle Remote Desktop Services sessions to 1 hour.
- Set time limit for logoff of RemoteApp sessions to Immediately.
I've tested this and even when OneDrive launches with the app, as soon as I close the last app my session logs off.
You can also set the last setting to one minute. Because when the user closes the last app and immediately wants to start a new app you may run into issues when the logoff is still in process.
We are still testing this.