Git Product home page Git Product logo

idlelock's Introduction

IdleLock

Kiosk tool to perform an action after the host is idle for a specific period of time. Defaults to logging off the current user, but can run any executable, lock the machine, or display an alert. Best paired with ForceAutoLogon and Guest users.

screenshot

Autohotkey

This is an AutoHotkey Script. To create an executable from it download AutoHotkey from autohotkey.com and use AHK2EXE to compile it into IdleLock.exe

Settings

IdleLock allows for customization through an ini file "IdleLock.ini" in the program's directory. You can customize the following:

; Default: 30 minutes idle timeout  
idleTimeout = 1800000  
; Msgbox timeout (how long to show msgbox for) - Default: 3 minutes msgbox timeout  
msgboxTimeout = 180  
; Action To Perform on idleTimeout - Default: Launch on timeout (Supports Launch, LogOff, Lock, Alert)  
Action = LogOff  
; Enable Logging - Default: True  
EnableLogging = 1  
; Log Path - Default: log to C:\Temp  
LogPath = "C:\Logs\"  
; Application to launch (if launch action set) - Default: Notepad  
LogPath = "C:\Windows\Notepad.exe"  
; Repeat Action if remaining idle - Default: False  
Repeat = 0  
; Show a warning msgbox before executing action - Default: True  
ShowWarning = 1  
; Show a custom Alert msgbox  
AlertMessage = Warning`nHost was idle.  
; Instead of disabling by ini (which would mean the exe starts and closes) it'd really be better to have a gpo that disabled the scheduled task with item-level targetting, however this would mean splitting up the kiosk gpos to have idlelock separate.  
; Overriding disable mechanism. Allows us to disable and prevent IdleLock through ini configuration.  
DisableIdleLock = 0  

Download

To download IdleLock, get the latest release.

idlelock's People

Contributors

nascentt avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.