MS Windows - Force remote computer to restart

By xngo on May 3, 2020

shutdown /m \\computername /r /f /t 0
  • /m \\computername: Specify the target computer.
  • /r: Full shutdown and restart the computer.
  • /f: Force running applications to close without forewarning users.
  • /t xxx: Set the time-out period before shutdown to xxx seconds.

About the author

Xuan Ngo is the founder of OpenWritings.net. He currently lives in Montreal, Canada. He loves to write about programming and open source subjects.