Keep Your PC Awake Without Admin Rights

*waits for SQL to execute so I can continue working*

*four hours*

*still wants to be interruptible to help my remote team*

*no admin rights for my work laptop which sleeps after 15 minutes*

*discovers `.vbs`*

*does the needful*

wake.vbs

set wsc = CreateObject("WScript.Shell")

for i = 1 to 12
    wsc.SendKeys("{NUMLOCK}")
	WScript.StdOut.WriteLine "Good for another 5 minutes"
    WScript.Sleep(5*60*1000)
next

MsgBox "Re-run if you need more time!"

:\> cscript wake.vbs

Written on May 17, 2018