Gladly stolen from Ramesh
http://www.mvps.org/sramesh2k/
Use Task Scheduler to schedule the computer to shut down and restart at a
specific time.
To do so, follow these steps:
01. Create a shortcut to %windir%\System32\shutdown.exe -s -t 00.
02. Click Start, and then click Control Panel.
03. Click Performance and Maintenance, and then click Scheduled Tasks.
04. Double-click Add Scheduled Task. The Scheduled Task Wizard starts.
05. Click Next.
06. Under Click the program you want Windows to run, click Browse.
07. In the Select Program to Schedule dialog box, locate the
shortcut that you created, click it, and then click Open.
08. Under Perform this task, specify a name for the task and how frequently
you want this task to run, and then click Next.
09. Under Select the time and day you want this task to start, specify a
start time and date for the task, and then click Next.
10. Type the user name and password to run this task under, and then click
Next.
11. Click to select the Open advanced properties for this task when I click
Finish check box, and then click Finish.
12. Click the Task tab.
13. In the Run box, change it to read:
%windir%\System32\shutdown.exe -s -t 00
Change the Start in box to read:
%windir%
14. Click Apply.
15. Click OK.
NOTE: For exact parameters for shutdown.exe, open cmd and type
shutdown.exe /?
Using Task Scheduler to schedule the computer to shut down and restart at a
specific time
http://www.winxptutor.com/schsd.htm
You Cannot Schedule a Windows XP-Based Computer to Shut Down and Restart by
Using the AT Command with Shutdown.exe:
http://support.microsoft.com/default.aspx?scid=kb;en-us;814761
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In