Logoff Specific User - Mistakenly Left Logged In

Product Name: Logoff Specific User - Mistakenly Left Logged In
Description : Logoff Specific User, when disconnected or have been idle since more than 15 Min, Script needs to be scheduled to run on the desired machines at an interval of 15 min for continuous check.
Instructions :
Replace username "noc" with your specific username that you would like to logoff.
Comments
-
Will this logoff all disconnected users on Windows 10 and Windows 7?
0 -
just the single username specified in the script
0 -
Can this be accomplished with monitor sets to monitor for idle timeout and then run a script to either lock the desktop of logoff the user
0 -
I don't think you can use a monitor set for this, a brief Google Search does not turn up any performance monitor counters that are tracking a user's idle time (there are for computer and disk and network idle time, but nothing for user idle time) that I can find anyways. Maybe someone else knows if there is a specific counter for this?
This is what you would need in order to use a Monitor Set, and from there it would be simply run a command line to lock the PC or do a shutdown, etc.
0