Skip to content

Instantly share code, notes, and snippets.

@m0veax
Last active April 23, 2019 08:56
Show Gist options
  • Save m0veax/fce16432a52d0961264b5f11be3c8adb to your computer and use it in GitHub Desktop.
Save m0veax/fce16432a52d0961264b5f11be3c8adb to your computer and use it in GitHub Desktop.
Disable auto the Windows Lock-Screen feature for reasons
REM Source: https://stackoverflow.com/a/4507364
set wsc = CreateObject("WScript.Shell")
Do
WScript.Sleep (60*1000)
wsc.SendKeys ("{SCROLLLOCK 2}")
Loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment