Automatic log off idle user : sysadmin Start the Task Scheduler and create a new Task. Or log off all the disconnected RDP session found: You can run this script as a standard Windows user, you just need to be an administrator on the target.
How to get Inactive Logged on users using powershell script Auto-Logout Idle Users - Ars Technica OpenForum Here it will logout idle users after 5 mins. This tool will support the IT help desk to manage remote desktop user sessions based on Remote Desktop Services 2012 / R2 and later. Step 3.
log off and terminate disconnected RDP sessions to A group-policy enabled utility for logging off idle windows user sessions The Lithnet Idle Logoff tool is a simple utility that allows you to log off users after a period of inactivity. It was designed specifically with kiosk and student lab scenarios in mind. The tool runs in the background of each user session when installed Open Task manager, click on Users, Right Click, manage user account, it will open control panel. #Tested on Windows 7, 10. If a new user wants to use the computer, that new user logs in, but the previous user’s session continues running. Please carefully review the following links to set your expectation for posting in technical forums.
Reddit - Dive into anything