Skip to content

Tip of today: Windows Server restart on given time

How to Schedule a Reboot. This should work also on workstation.

This will restart in 6 hours

Invoke-Command -ComputerName NameOfServer {shutdown /r /t 21600}

This will restart in 1 hour

Invoke-Command -ComputerName NameOfServer {shutdown /r /t 3600}

This will restart in 19th of October 2025 at 12:00 hour

schtasks /create /tn “Scheduled Reboot” /tr “shutdown /r /t 0” /sc once /st 12:00:00 /sd 19/10/2025 /ru “System”

Published inComputersWindows