How do I enter a shutdown description from the command line? - 27 Apr 2001

A. In Windows XP, the new version of shutdown.exe (the tool used to shutdown/reboot from the command line) contains support for tracker descriptions via the -d (description/reason code) and-c (comment) attributes. For example,

shutdown -t 10 -d up:125:1 -c "Testing"
shuts down the system in 10 seconds, with a description of user-defined, planned, major reason 125, minor reason 1, and a comment of "Testing."
Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.