Task Scheduler Shutdown

  • Thread starter Thread starter TI
  • Start date Start date
T

TI

Hello All,
I have a question about scheduling a shutdown. I am able to work my way
through setting up the shutdown, I just can't get any response. I am a
little confused on which file to choose when selecting what file I want to
run. I thought that once you are in the System32 folder, you look for
'shutdown' and select it. Is this right? I have also see where
'shutdown.exe' is for remote shutdown. I am not wanting a remote shutdown.
I am pretty green at all of this, so any help would be great. Also, I assume
there is not a command that will restart the computer automatically from a
shutdown/power off mode. Any thoughts?

Thanks,
Todd
 
TI said:
Hello All,
I have a question about scheduling a shutdown. I am able to work my way
through setting up the shutdown, I just can't get any response. I am a
little confused on which file to choose when selecting what file I want to
run. I thought that once you are in the System32 folder, you look for
'shutdown' and select it. Is this right? I have also see where
'shutdown.exe' is for remote shutdown. I am not wanting a remote shutdown.
I am pretty green at all of this, so any help would be great. Also, I assume
there is not a command that will restart the computer automatically from a
shutdown/power off mode. Any thoughts?

Thanks,
Todd

You can try executing this
%windir%\System32\shutdown.exe -s -t 0
or you can put that into s batch file and run the batch file.

Shutdown by itself is not sufficient. -s = shutdown rather than -r
restart and -t = time to wait before doing the job 0= now!
 
Back
Top