Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • If you don't provide a time, then 30 seconds is assumed, I am going to guess you don't want any delay. If that is the case then you should be using shutdown /s /f /t 0 or simply shutdown /s /t 0 instead of the command your using. You might want to force the shutdown, this will close any open applications forcefully, so I suggest you test without it. Proper research is the key to solving any problem.
    – Ramhound
    Commented Oct 31, 2017 at 20:54
  • Exactly!!! and part of that research is asking questions in the right place Commented Oct 31, 2017 at 22:25
  • You can’t use shutdown to shutdown a system that is already shutting down. You’ll just be told the system is already shutting down. You do understand that using a trigger based on the system shutting down to run the shutdown command really makes no sense, right? What are you REALLY trying to accomplish here? Commented Nov 1, 2017 at 2:22