How to remotely shutdown, restart or logoff a Windows Machine

With these simple commands you can remotely restart, shutdown, log off or even abort a system shutdown on  Local or remote windows machines using Remote Shutdown Tool (shutdown.exe). The Remote Shutdown Tool can be accessed via a GUI or from the command prompt. The Remote Shutdown Tool GUI can be accessed by executing: shutdown.exe /i […]

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 […]