NumberOfCrashes

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

HKLM\SOFTWARE\Microsoft\DrWatson

Data type Range Default value

REG_DWORD

0x0–Value of the MaximumCrashesentry

(None)

Description

Counts the number of application errors Dr. Watson for Windows is maintaining in its application error viewer and in the Event Viewer application log. When this value reaches the value of MaximumCrashes, Dr. Watson for Windows operates normally and adds new errors to its log and crash dump file, but it does not add any new errors to its application log viewer or to the Event Viewer application log until it is reset.

The user is not notified that the number of crashes has reached the maximum.

To reset Dr. Watson for Windows, run Drwtsn32.exe. You can either click Clear or increase the value in the Number of Errors to Save box. When you click Clear, you delete all errors from the application error viewer in Dr. Watson for Windows, and you delete all events from the Event Viewer application log, even those not generated by Dr. Watson for Windows. However, records of the application errors remain in the Drwtsn32.log and in the crash dump file, user.dmp, if one has been selected.

Activation Method

This entry appears in the registry when you run Dr. Watson for Windows or when it runs automatically.

Caution

  • Do not change the value of this entry. Dr. Watson for Windows uses this entry to maintain an accurate count of application errors.