How to Enable Regtrace for NDR Troubleshooting
Última modificación del tema: 2007-04-13
This topic explains how to enable Regtrace, which is available on servers that are running Microsoft Exchange. It is a useful tool for diagnosing and troubleshooting NDRs.
Running Regtrace produces a trace file. The trace file is a binary-encoded file that contains debug-level information about the transport and routing components, such as NDRs, that are being traced. The trace file is available at the location that is specified on the Output tab of Regtrace. The default location for the file is C:\Trace.atf.
If you request assistance from Microsoft Customer Support Services (CSS), you can expect that they will require Regtrace output files for analysis as part of the troubleshooting process. You may have to use file compression software to package the files so that you can deliver them to CSS by means of an FTP server, the Microsoft File Exchange (MSFE), or the Premier Service Desk. For details about any of these delivery methods, consult your CSS representative.
Before You Begin
Before you perform the procedure in this topic, read Problemas de los informes de no entrega.
To perform the following procedures, the account you use must be delegated membership in the local Administrator group. For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Consideraciones sobre permisos.
Precaución
La modificación incorrecta del Registro puede causar problemas graves que podrían hacer necesario volver a instalar el sistema operativo. Es posible que los problemas debidos a una modificación incorrecta del Registro no se puedan resolver. Antes de modificar el Registro, realice una copia de seguridad de los datos valiosos.
Procedure
To enable regtrace
At a command prompt, type regtrace. The Trace Settings window opens.
On the Traces tab, select all the check boxes.
Traces tab of Trace Settings properties
On the Output tab, make sure that the File option is selected, and then provide a path to a location that has enough capacity to store a large file as output.
On the Threading tab, make sure that the Write traces on a Background Thread option is not selected, and then click OK.
In Registry Editor, locate the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MosTrace\CurrentVersion\ DebugAsyncTrace
On the Edit menu, click Add Value, and then add the following registry values:
Value Name: Modules Data Type: REG_SZ Value: AQ CAT DS2MB dsevntwrap EXSINK IMAP4SVC REAPI RESVC Routing SMTP StoreDev TranMsg DSACCESS
Next, add the MaxTraceFileSize registry key value to set the maximum trace file size to 20 MB. On the Edit menu, click Add Value and add the following:
Value Name: MaxTraceFileSize Data Type: REG_DWORD Value: 20 (decimal)
Quit Registry Editor.
Reproduce the issue that you are troubleshooting. For example, if mail is being returned as undeliverable, send some e-mail messages to an address that will cause Exchange to return the message undelivered.
When you have reproduced the issue several times, stop tracing. In Regtrace, click the Output tab and select No Tracing.
Nota
It is important to disable tracing when you have completed troubleshooting an issue.