michael said:
I understand how to type: shutdown -s to automatically shutdown the
computer but my question is how to do this using windows scheduler? I can
get the scheduler to launch the command line utility but then how do I get it
to automatically enter my "shutdown -s" command?
mike
Take a look at this article.
Using Task Scheduler to schedule the computer to shut down and
restart at a specific time
http://www.winxptutor.com/schsd.htm
Also, here are instructions I passed along in response to a similar question.
Open Control Panel.
Double click on Scheduled Tasks.
In the Scheduled Tasks folder, double click on Add Scheduled Task.
When the Scheduled Task Wizard starts, hit the Next button.
After a short time you should see a box with a Browse button underneath it.
Click on the Browse button.
This should bring up "Select Program to Schedule".
Navigate to the C:\Windows\System32 folder.
Scroll through this folder till you locate shutdown.exe.
Click on shutdown.exe so that it's listed in the "File name" box.
Hit the Open button.
Back in the Scheduled Task Wizard, select an appropriate name for this task like
Shutdown.
Select Daily under "Perform this task".
Hit the Next button.
Enter the time you want the computer to shut down.
Hit the Next button.
Enter a user name and password.
Note: The account you use to run this task must have a non-blank password.
Hit Next.
On the next page, put a check mark in the box next to "Open advanced properties
for this task when I click Finish".
Hit the Finish button.
You should now see the properties sheet for the Shutdown task.
Click on the Task tab.
In the Run line, you should see the following:
C:\WINDOWS\system32\shutdown.exe
You need to add -s -t 00 to this entry. It should end up looking like this.
C:\WINDOWS\system32\shutdown.exe -s -t 00
Next, click on the Settings tab.
Put a check mark in the box next to "Wake the computer to run this task". That
way, if the computer is on standby, it will still be shut down.
Click OK.
Good luck
Nepatsfan