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 toshutdown/reboot from the command line) contains support for trackerdescriptions via the -d (description/reason code) and -c (comment)attributes.
John Savill
May 2, 2001
1 Min Read
In Windows XP, the new version of shutdown.exe (the tool used toshutdown/reboot from the command line) contains support for trackerdescriptions 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.
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like