Last active
January 9, 2017 07:09
-
-
Save tartakynov/cfad3020cadd35e493cc3b2545ae0b84 to your computer and use it in GitHub Desktop.
Prevent Windows lock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' put this script in Start / All Programs / Startup | |
Dim objResult | |
Set objShell = WScript.CreateObject("WScript.Shell") | |
i = 0 | |
Do While i = 0 | |
objResult = objShell.sendkeys("{NUMLOCK}{NUMLOCK}") | |
Wscript.Sleep (6000) | |
Loop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment