Created
July 19, 2015 00:20
-
-
Save kiler129/58af31f94a24d2d043f0 to your computer and use it in GitHub Desktop.
Wana troll you work colleague? Let's run that script on his computer :) It will lock his workstation in random time intervals.
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
do | |
wscript.CreateObject("WScript.Shell").Run "%windir%\System32\rundll32.exe user32.dll,LockWorkStation" | |
Randomize | |
wscript.sleep Int((1200000-600000+1)*Rnd+600000) | |
loop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment