Windows DatabaseebooksStatistical Information

LWE10296 : Howto disable Dr. Watson on a terminal server (citrix) system


You want to disable Dr. Watson on your system after you have found it usefull for debugging




Dr. Watson is the application debugger that automatically starts if errors occur in applications and if these errors cannot be handled by a default procedure. For instance, Dr. Watson is often launched when an application accesses memory improperly. This requires exception handling; and if such an exception occurs, Dr. Watson is launched and saves all relevant data. However, this type of behavior is not desirable on terminal servers, except for targeted error analyses.

For this reason, Dr. Watson should be disabled on production systems by deleting the HKLM\Software\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger registry key and the drwtsn32 –P %ld –e %ld –g value. By deleting this key, Dr. Watson is disabled. Dr. Watson can also be deactivated by deleting the HKLM\Software\Microsoft\DrWatson key.


The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
Copyright © 2004-2011 Lubby (V3.0.10 Aug 2011)
Sponsored by Keskon.
Statistical information by Google Analytics