Log off user after idle time
Hi, we use windows 2008 R2 domain and windows xp sp3, windows 7 clients. is there any method to log off users after 20 min. idle time? thanks aurimas
May 12th, 2010 1:19pm

I'd suggest using the native Windows screen saver to trigger the logoff event. This will require that you prevent the user's from modifying their own screen saver. 1. Create a simple shell script (batch file) that contains a single line "logoff" 2. Name the script somethin like SCRNSAVE-logoff.cmd 3. Place the script within the %WINDIR% directory 4. Ensure all users have only 'R'ead permission Configure the following registry key and valuefor each user (this can be done via script or policy or ...) - KEY = HKEY_CURRENT_USER\Control Panel\Desktop VALUE = SCRNSAVE.EXE VALUE TYPE = REG_SZ DATA = %windir%\SCRNSAVE-logoff.cmd This is working perhaps a little too well for me right now, each time I return to the VM to verify I've correctly relayed the configuration the machine has already logged off ... darn it, there it goes again :o)
Free Windows Admin Tool Kit Click here and download it now
May 13th, 2010 12:59am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics