Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
To determine whether the KMTRM service is trying to re-enlist every five seconds, create a location and a name for the KTMRM trace log file, and then enable KTMRM tracing. To do this, follow these steps:
- Click Start, click Run, type regedit, and then click OK.
- Locate the following registry subkey, and then click it:
HKLM\Software\Microsoft\MSDTC\Tracing\Output
- Right-click Output, point to New, and then click String Value.
- Type TraceFilePath, and then press ENTER.
- Right-click TraceFilePath, and then click Modify.
- In the Value Data box, type a location for the trace file (For example, type c:\<PathOfFile>\dtctrace.), and then click OK.
Note The value of the TraceFilePath registry entry must contain the full path of the file, and the directory must already exist. - Locate the following registry subkey, and then click it:
HKLM\Software\Microsoft\MSDTC\Tracing\Sources
- Right-click Sources, point to New, and then click DWORD Value.
- Type TRACE_KTMRM, and then press ENTER.
- Right-click TRACE_KTMRM, and then click Modify.
- In the Value Data box, type 4, and then click OK.
- On the File menu, click Exit.
- After you modify the registry entries, you must restart the KTMRM service.
Depending on the value that you set for the TRACE_KTMRM registry entry in step 11, the trace file can record various types of information, as follows:
- Value 0 means "None."
- Value 1 means "Errors."
- Value 2 means "Warnings."
- Value 3 means "Info."
- Value 4 means "Verbose." Use this value for the TRACE_KTMRM registry entry to obtain the "Sleeping for 5 seconds" trace message.
If the TRACE_KTMRM registry entry does not exist or if this registry entry has a value of 0, tracing is not enabled.
Note The log file may become very large if you use verbose tracing. You should use verbose tracing only for about 20 minutes to check whether the KTMRM service receives the "Sleeping for 5 seconds" messages. Afterward, set the value of the TRACE_KTMRM registry entry to 0 to disable tracing, and then restart the KTMRM service.