Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1
Topic Last Modified: 2008-07-24

This topic provides a sample registry file that can be used as a starting point for creating the required registry file to enable debugging functionality as part of your build DVD. You can modify the following procedure to create the necessary registry file for your organization.

The following sample registry file may need to be modified in order to make them functional in your specific environment.

Sample .reg files

Important:
This registry file sample illustrates how debugging functionality can be implemented in an automated fashion. You must test everything in a lab environment prior to attempting to use them in your production environment.

Before You Begin

To perform the following procedure, the account you use must be a member of the Local Administrators group.

For more information about permissions, delegating roles, and the rights that are required to administer Exchange 2007, see Permission Considerations.

Debug.reg

Procedure

Use Notepad to create a registry input file to automate the implementation of debugging functionality on an Exchange 2007

  1. Open Notepad or another text editor.

  2. Copy the following code into a file and save the file with a descriptive name and the .bat extension. We recommend naming the file e2k7-debug.bat.

    Copy Code
    #"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
    #"!!!!!!!  THIS IS NOT A MICROSOFT SUPPORTED SAMPLE.  !!!!!!!!"
    #"!!!!!!!	TEST IN A LAB FOR DESIRED OUTCOME	!!!!!!!!"
    #"!!!!!!!						!!!!!!!!!!"
    #"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
    #" "
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug]
    "Auto"="1"
    "Debugger"="drwtsn32 -p %ld -e %ld -g"
    "UserDebuggerHotKey"=dword:00000000
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DrWatson]
    "NumberOfCrashes"=dword:00000003
    "DumpSymbols"=dword:00000001
    "DumpAllThreads"=dword:00000001
    "AppendToLogFile"=dword:00000001
    "VisualNotification"=dword:00000001
    "SoundNotification"=dword:00000000
    "CreateCrashDump"=dword:00000001
    "Instructions"=dword:0000000a
    "MaximumCrashes"=dword:0000000a
    

For More Information

For more information about creating a configuration DVD or server installation automation files, see How to Create a Configuration DVD and Automation Files.