How Do I Enter a Shutdown Description from the Command Line? - 03 May 2001

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, the command

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.