

Voila.Back in the old days of CRT (cathode ray tube) computer monitors, computers were designed to turn off screens or switch to a “screen saver” that would vary the image on screen over long periods of time to avoid “burn in”. I use the default 60 second delay resulting in a total of 15 minutes of inactivity before a user is kicked. I use Group Policy to set screen saver settings to use AutoLogoff and start after 14 minutes. …I script AutoLogoff.scr to copy onto my machines during an SCCM OSD task sequence. Then create a DWORD value called WarningTime with the desired amount of seconds for the delay. To do this, create a registry key at: HKLM\Software\\AutoLogOffScreenSaver You can also change how long the delay is on the prompt. Then use the regular screensaver options to make AutoLogoff activate after X minutes of inactivity (no keyboard or mouse movements). This will allow it to be seen in the screen saver settings dropdown. Just add the AutoLogoff.scr file to: C:\Windows\System32 It is officially supported on Windows 7, but I have this running in some Windows 10 labs and it is working without problems. Computer users have the ability to click cancel or press escape to continue working on the computer, or they can wait for the timeout or click log off to be fully logged out.ĪutoLogoff can be downloaded from Squiggle dot org here: ĮDIT: Looks like Squiggle dot org is obsolete, so reference its Web Archive: AutoLogoff.scr is a lightweight screensaver that does exactly what I need: Once activated, it darkens the screen and displays an official looking warning prompt saying the Windows session will be automatically logged off after 60 seconds ( which can be changed via Registry, see below).

Lucky for me, Geoff Kendal over at Squiggle dot org has developed AutoLogoff to fill the gap. Older versions included a screensaver called winExit.scr but it has since been removed by Microsoft and hasn’t been officially replaced with anything newer. Windows used to have a solution for this. I was hoping to find something that would display a warning and allow users to cancel the process if they were still sitting at the machine. I recently needed to find a solution that would automatically log out inactive users from a computer lab. Successfully Tested On: Windows 7 Enterprise SP1, Windows 10 Enterprise versions 1507 - 2004, Windows 10 Long-Term Servicing Branch (LTSB) versions 1507 & 1607, Windows 10 Long-Term Servicing Channel (LTSC) versions 2015 - 2019
