Win 7 - PowerCram Blog - Page 2

Schedule Windows reboot (restart) from command line with schtasks

Schedule one-time reboot: schtasks /create /tn “Reboot” /tr “shutdown /r /t 1” /sc once /st 01:00:00 /sd 08/18/2009 /ru “System” Create scheduled task to run twice daily: schtasks /create /tn “TTF” /tr “C:TempTttf.bat” /sc daily /st 06:00:00 /sd 08/25/2009 /ri 720 /du 720 /ru “System” Create scheduled task to run every weekday, M-F: schtasks /create /tn “Reboot” /tr […]