Task Scheduler Shutdown

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
 
B

Big_Al

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top