How do I shut down Windows from the command line without Shutdown?

Not Rated 0 votes Rate this answer

Open a Command Prompt or PowerShell window and use the built-in Windows shutdown command:

  • shutdown /s /t 0 -- Shut down immediately
  • shutdown /r /t 0 -- Restart immediately
  • shutdown /l -- Log off the current user
  • shutdown /s /f /t 0 -- Force shut down immediately, closing all applications

The /t 0 parameter sets the timeout to zero seconds so the action happens right away.

Was this answer helpful? Not Rated 0 votes

Support Our Work

Please consider making a contribution today to help us keep Shutdown available for everyone.

Get Help

Didn't find your answer?

Our support team can help you with your specific issue. Submit a request and we'll get back to you.

Get Help Now
Additional Information
Added: Feb 28, 2026