Schedule shut down

M

Man T

I want to shutdown my PC by creating a scheduled task with the following:
C:\WINDOWS\system32\shutdown.exe -r -f

However, it did shutdown but also restart.

I also tried
C:\WINDOWS\system32\shutdown.exe -f
The PC shutdown all the program and log off, it went to the login screen.

How do I shutdown the machine by itself?
 
B

Big Al

Man said:
I want to shutdown my PC by creating a scheduled task with the following:
C:\WINDOWS\system32\shutdown.exe -r -f

However, it did shutdown but also restart.

I also tried
C:\WINDOWS\system32\shutdown.exe -f
The PC shutdown all the program and log off, it went to the login screen.

How do I shutdown the machine by itself?


%windir%\System32\shutdown.exe -s -t 0

-r is restart -s is shutdown -t is delay time

shutdown /? might help or Google shutdown.exe
 

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