Dont Lock

Costas

Administrator
Staff member
A small application, lying to system tray icon, to suppress windows lock & sleep..

dontlock.png


Platform : C# 2012
Operating System :
windows1.gif
win7 /
windows1.gif
win10 (64bit)
Requirements : v4.5.2 .NET framework
Filesize : 12.2kb

there are two variants

dontlock.exe
using the low level #SetThreadExecutionState# API call, one on Form Load then on Form Close.​

dontlockJiggler.exe (code by Arkane Systems)
using pseudo mouse movement via #SendInput# API call, occuring every 40 seconds.​

Apart from dontlock functionality, the main difference between, is that when using Jiggler flavor, the messenger applications (Skype / Teams etc.) not turning automatically the status to 'away'.


Download

Source code

bonus MonitorSleep (ref)



similar :
Prevent your computer sleeping with just a webpage (ref) - by using Screen Wake Lock API
http://www.softwareok.com/?seite=Microsoft/DontSleep
https://www.zhornsoftware.co.uk/caffeine/
PowerShell - https://gist.github.com/jamesfreeman959/231b068c3d1ed6557675f21c0e346a9c
AutoIt3 - https://gist.github.com/iamzhout/38ad08d2d8eacda8184f0766639641a5
mousejiggler - https://github.com/cerebrate/mousejiggler
shareware - http://keep-windows-awake.murgee.com/
StayOn - https://global.kilho.net/stayon



other free automate applications
CLCL (clipboard caching) - https://www.nakka.com/soft/clcl/index_eng.html
texter (acronyms to be replaced with text) - https://github.com/adampash/texter/tree/master/Releases/0.6
 
Top