A big download will finish at 2 AM, a render is running, or the kids’ PC should switch off at ten. Windows can shut itself down on a timer — no extra software, just one command.
The shutdown command is the power switch of the command line. With one switch it shuts down or restarts immediately; with a timer value it becomes a countdown you can set and cancel; and with a computer name it can restart another PC on the network — the trick IT staff use on office machines after hours. This guide covers each form with its exact syntax, and is honest about what remote shutdown needs before it will work.
👆 3600 is the delay in seconds — one hour. The /a command is the cancel button, and it only works while the timer is still counting down.
shutdown /s /t 3600 — /s means shutdown, /t is the delay in seconds (3600 = 1 hour, 1800 = 30 minutes, 7200 = 2 hours)shutdown /r /t 0 — /r means restart, and 0 seconds means right nowshutdown /a — /a means abortshutdown /s /f /t 0 — use it knowing unsaved work in those apps will be lostshutdown /l — sign out (log off) the current user immediately. It cannot be combined with a timershutdown /h — hibernate the PC (if hibernation is enabled)shutdown /r /o /t 0 — restart into the Advanced Options (recovery) menu — the technician’s shortcut when a PC will not behaveshutdown /i — opens a small graphical Remote Shutdown dialog where you can pick computers and options with the mouseFull official list any time: shutdown /? prints every switch with its meaning.
shutdown /m \\OfficePC /r /t 0 restarts another PC on the network, but only when you have administrator rights on that PC and its firewall and Remote Registry service allow it. On a default home PC it usually fails with "Access is denied" — that is Windows protecting the other machine by design, and the fix is proper admin configuration, not a trick. Save your own work first, too: a forced shutdown closes apps without asking.
One command, many switches — the video’s toolkit wraps these power options into its menu along with the other 60 commands.
▶️ Watch Full VideoRun shutdown /s /t 1800 — the number is seconds, so 1800 seconds is 30 minutes. Windows shows a notification confirming the scheduled shutdown. If plans change before the time runs out, cancel with shutdown /a.
That message means no timed shutdown was active — either it was never set, it was already cancelled, or the countdown had finished. Run the timer command again first; /a only cancels a countdown that is actually running.
No. If the PC restarts or shuts down before the timer ends, the pending timer is discarded. For a shutdown that must happen every day at a fixed time regardless, use Task Scheduler to run the shutdown command on a daily schedule instead of a one-time timer.