Windows

shutdown

CautionReboot/shutdown

shutdown /r /t 0

/r reboots, /s shuts down, /t delays (sec), /f forces.

Examples

  • shutdown /r /t 0Reboot immediately
  • shutdown /aCancel a scheduled shutdown

Syntax

shutdown /r|/s /t <sec> [/f]

Before you run it

May lose unsaved work; /a cancels.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store