Tuesday, December 25, 2007

Disabling Dr. Watson

Dr. Watson can be a little annoying at times, but there's solution. You can turn it off. The behaviour of Dr Watson is controlled by:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AeDebug

The contents of the REG_SZ value, Auto, controls how Dr Watson operates:
0:
Displays a message box informing the user of an application error.
1:
(default) Causes the debugger to start automatically.

You can disable Dr Watson completely by deleting the AeDebug key. To re-enable it, type:

drwtsn32 -i

at the command prompt.


0 Comments:

© Template designed by CHAITANYA