On Mon, Sep 7, 2009 at 11:43 AM, Simon Mbuthia
<simon.mbuthia@gmail.com> wrote:
Create a Reboot.vbs and paste the following in it..
'Code begin
Dim o
Set o = createObject("WScript.Shell")
WScript.sleep 5400000 'Script is inactive for 90 minutes
'then displays a warning for 30 seconds prompting user to save his/her work before restarting
o.Run "shutdown -f -r -t 30 -c 'Windows is rebooting. Save all your work within the time indicated.'"
'Code end
Copy the script it to your startup folder or add it's path to a string value in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Hi Simon,
This looks promising, but I am lost. Looks like line wraps on my gmail interface is getting me confused with the lines..
I need to try this because creating a .bat file did not work when I tried to import. The Vista scheduler expects an XML file format.