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:
- Start regedit.exe.
- Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Reliability\UserDefined.
- From the Edit menu, select New, Multi-String value.
- 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).
- 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.
- 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 Moaning The wife is moaning and must turn off "stupid" computer
- Click OK.
- Close regedit.
Note that because we specified C, a comment is required before the user can click OK.