Archived from groups: microsoft.public.windowsxp.help_and_support (
More info?)
There's actually a way to do it in just about any version of Windows.
First, go to 'Scheduled Tasks' (under the control panel) and
double-click on 'Add Scheduled Task'. This will start up a little
wizard asking you for information about the task etc. After clicking
next, you'll be asked to choose which application to run; click browse
and go to "C:\WINDOWS\system32". Somewhere in the system32 folder will
be a file named shutdown.exe (or just shutdown if you don't have file
extensions showing)- select this file. The next two phases of the
wizard will ask for information about when you'd like to run the task
(choose when you'd like to have your computer shutdown). On the final
screen there'll be and option to open the advanced properties, ensure
that this is checked, then click finish.
Under the 'Run:' section of the properties there should be this
(without the quotes): "C:\WINDOWS\system32\shutdown.exe".
We want to change it to this (again, without the quotes):
"C:\WINDOWS\system32\shutdown.exe -s -t 00".
You can also use shutdown.exe to do a few other tasks. These include:
Restart the computer ("C:\WINDOWS\system32\shutdown.exe -r -t 00")
and
Logoff the computer ("C:\WINDOWS\system32\shutdown.exe -l -t 00").
You may also want to have a warning dialogue popup when the computer is
about to shutdown and remain for a specified amount of time. To do
this, simply replace the two 0's after the -t to the number of seconds
you want it to last (note: if you try this out and want to abort the
shutdown, go to Start -> Run, then type "shutdown -a", then click OK.
Though a bit lengthy, I think that should allow you to do it. Of course
you can use any of the options that are a part of the Windows Task
scheduler. Furthermore, just so you know, shutdown.exe is simply a
Windows command-line program. For more help using it, go to Start ->
Run and type cmd. This will bring up the Command Prompt. In it, type
"Shutdown /?" then press ENTER. For help about other command-line
programs in the Command Prompt, simple type "help" in it then press
ENTER.