This is something i wrote for my netbook, it uses the functionality in Windows 7 to bind tasks to events in the system log. You First need to copy this script and set a couple of values:
WScript.Sleep 20000
strComputer = “.”
strProxyURL=”"
strProxyPort=”"
Set objShell = CreateObject(“WScript.Shell”)
Set objWMIService = GetObject(“winmgmts:” _
& “{impersonationLevel=impersonate}!\\” & strComputer & [...]