How do I add my own Shutdown Event Tracker shutdown reasons?

John Savill

April 29, 2001

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. In last week's FAQs (see the links at the end of this FAQ), we looked at using the Shutdown Event Tracker for shutdowns. Although the tracker includes several built-in events, you might want to add your own events. To do so, perform the following steps:

  1. Start regedit.exe.

  2. Go to HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionReliabilityUserDefined.

  3. From the Edit menu, select New, Multi-String value.

  4. Set the name in the following format:

    • P—The shutdown is planned.

    • C or B—A comment is required.

    • S—The reason should be displayed in the user-initiated shutdown box.

    • D—The reason should be displayed in the sudden shutdown box (you must specify either S or D).

  5. Define a major reason number and a minor reason number. For example, PCS;5;5 means a planned, comment required, user-initiated shutdown with a major reason of 5 and a minor reason of 5.

  6. Double-click the new value and enter two lines. The first line is the title (up to 64 characters), and the second line is the description (up to 96 characters)—for example,

    Wife MoaningThe wife is moaning and must turn off "stupid" computer
  7. Click OK.

  8. Close regedit.

Click here to view image

Note that because we specified C, a comment is required before the user can click OK.

What is the Shutdown Event Tracker?
How do I enable/disable the Shutdown Event Tracker?
How do I enter a shutdown description from the command line?

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