Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto shut down and Auto start up

Status
Not open for further replies.

Aeroboy

IS-IT--Management
Sep 7, 2006
23
CA
Hi,

does anyone know how to get windows to shut down automatically at a scheduled time?

Also, i don't know if this is even possible, but is there any way to get the computer to turn itself on at a certain time? Some settings in the bios maybe?
 
To shutdown: you could create a batch program using the shutdown command and then schedule the batch file using SCHEDULED TASKS under control panel.

Syntax
shutdown [{-l|-s|-r|-a}] [-f] [-m [\\ComputerName]] [-t xx] [-c "message"] [-d[p]:xx:yy]

Parameters
-l
Logs off the current user, this is also the defualt. -m ComputerName takes precedence.
-s
Shuts down the local computer.
-r
Reboots after shutdown.
-a
Aborts shutdown. Ignores other parameters, except -l and ComputerName. You can only use -a during the time-out period.
-f
Forces running applications to close.
-m [\\ComputerName]
Specifies the computer that you want to shut down.
-t xx
Sets the timer for system shutdown in xx seconds. The default is 20 seconds.
-c "message"
Specifies a message to be displayed in the Message area of the System Shutdown window. You can use a maximum of 127 characters. You must enclose the message in quotation marks.
-d [p]:xx:yy
Lists the reason code for the shutdown. The following table lists the different values.
 
Have a look here.
IntelligentWakeUp 1.0.0.1


Turn on computer automatically
thread779-846356

PC Powering up by phone use
thread779-847109

System Turns Itself On - Win XP
thread779-665592

Cpu starts up when phone rings
thread779-282001

Computer Starts On Its Own.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top