User Tools

Site Tools


cmd:restart_computer

This is an old revision of the document!


Restart computer


shutdown -t 0 -r -f

  • shutdown: Invokes the built-in Windows shutdown utility.
  • -t 0: Sets the time delay to 0 seconds, triggering the action instantly.
  • -r: Specifies a reboot (restart) rather than a complete power down (-s).
  • -f: Forces all running applications to close immediately without displaying a warning or asking the user to save open work
cmd/restart_computer.1787659158.txt.gz · Last modified: by thekuru