Re: Searching tool which shutdown the computer at a certain time

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.

.



Relevant Pages

  • Re: Adding CMD to right click on desktop
    ... You could also set the Power Options to do "Shutdown" when you press Power Button. ... Having a command prompt may or may not make a difference, but it would be nice to know. ... I could program in a batch file to run the shutdown command to perform a clean restart. ... adding static context menu items to the Desktop is not possible in Windows 9x/XP. ...
    (microsoft.public.windowsxp.general)
  • Re: Shutdown computer (from command line?)
    ... I know about the command prompt "shutdown" command to shut down a PC. ... "It is now safe to turn your PC off". ... I still haven't found out how to get Windows to give the ...
    (microsoft.public.windowsxp.general)
  • Re: Shutdown computer (from command line?)
    ... "Alain Dekker" wrote: ... I know about the command prompt "shutdown" command to shut down a PC. ... I still haven't found out how to get Windows to give the ...
    (microsoft.public.windowsxp.general)
  • Re: Windows home XP fails to initialize
    ... Windows quirks and lack of productivity, not by choice but because I ... Restart the PC and as it restarts press F8 about once every second ... the Command Prompt will appear. ... This will bring up the shutdown functions. ...
    (microsoft.public.windowsxp.help_and_support)
  • Scheduled Tasks issue
    ... I'm trying to use the software with my Hauppage PVR card in order to ... this places a job in Windows ... -Verified the Scheduled Tasks service was started ... What is interesting is if I open up a command prompt and paste in the ...
    (microsoft.public.windowsxp.help_and_support)