Schedule shut down

  • Thread starter Thread starter Man T
  • Start date Start date
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?
 
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
 
Back
Top