There used to be an auto logoff screensaver (winExit.scr) in the Windows 2000/2003 resource kit, although it doesn’t appear to play too well with Windows 7/Vista. I needed the functionality that this provided for the systems in our meeting rooms, as people have a habit of leaving the systems logged on in there then leaving the room!
As I couldn’t find anything (for free!) that did this, I thought it was time for a bit of D.I.Y! So here we have my AutoLogoff Screensaver for Windows 7/Vista. Dead simple, drop in your C:\Windows\System32 folder, then probably use group policy to force it onto certain machines, or the local policy with gpedit.msc! Dims the screen like a UAC prompt in order to try and get the users attention a bit more, there’s no configurable options at the moment, just 60 seconds warning until logoff. If I get alot of requests I might add some additional funtionality, but it’s serving my requirements now, so I’m happy ;)
Update 06/09/10: I’ve now added the ability to change the amount of time the warning lasts for, you can either leave as the default 60 sec, or create a reg key in HKLM to set your own – see readme file for key name!
Update 03/12/10: Added the force option for the logoff as per requests!
Update 26/05/11: Fixed a rather major bug – the logoff button didn’t work! Also made the escape key cancel the screensaver/countdown.
Download – AutoLogoff_v2.3.zip (146KB)
Posted in Apps, OS, Tools |
I love the screensaver, it is exactly what I was looking for. However, if you were adding features, a “restart machine” option versus just a log off option would be a great addition. Thank you.
Could you create a version that has a configurable timeout?
I love this screensaver! The only option that I REALLY need in order to implement this campus wide is the option to change the length of time before logoff. Is there a way to configure it with a different time before kicking on and for a longer time out/warning before logging off?
Took forever to come across this while trying to find out to use winexit.scr as the default/mandatory screen saver on Windows Vista and Windows 7. Like others have said, I would like to be extend the warning time and possibly modifiy the warning text.
Found a few spare minuites to add the ability to change the logoff delay, get on the download for v2!
hello,
Excellent utility but could you possibly add the force option to the log off. I have apps that are asking for input and preventing the machine from logging off. Otherwise really nice!
Thanks!
Great utility however fails to logoff when there are unsaved documents open. Can you add an option for forced logoff?
Thank you for providing this, and for modifying it to force logoff! It would be helpful if one could press the “Escape” key to prevent logoff, though.
Would it be possible for you to publish the source?
The Logoff button does not appear to be working. I’ve tested it on both Windows 7 and Windows XP systems. Does a registry key or something need to be configured to enable the Logoff button to work?
hello – i copied the autolog off to system 32, can some one please send the instructions on how to edit gpo globally or gpedit.msc locally
what settings need to be modified in gpo to have this work
appreicate your help
thanks
kk
Version 2.3 fixes the issue with the broken logoff button! You can also hit the escape key to quickly cancel the logoff countdown.
How canI verify that this is virus free, malware free, does not do anything malicious etc…..
How do modify the logoff timeout setting for the script to execute in windows 7 ?
@KeithL – Same as anything else you download, run it through a virus/malware scanner with the most recent defs.
@Ryan – Logoff timeout set by creating a reg key:
“HKLM\Software\Squiggle.org\AutoLogOffScreenSaver\WarningTime”. Create a DWORD value with the required amount of seconds.
This is very much appreciated, as my older solution has suddenly stopped working in Win7.
I’d also clamor :) for a restart option. Logoff sometimes leaves my lab machines in a weird state around printers.
Is there a reg entry to black out the screen as opposed to dimming it, this is a great tool, i would just like to not have the screen contents visible during the countdown. Thanks.