Microsoft KB Archive/891801

= How to reinstall Microsoft Distributed Transaction Coordinator on a computer that is running Windows XP =

Article ID: 891801

Article Last Modified on 3/4/2005

-

APPLIES TO


 * Microsoft Windows XP Professional
 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Media Center Edition 2002

-





Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



INTRODUCTION
This article describes how to reinstall Microsoft Distributed Transaction Coordinator (MS DTC) on a computer that is running Microsoft Windows XP.



MORE INFORMATION
You typically do not have to reinstall the Microsoft Distributed Transaction Coordinator (Msdtc.exe) on computers that are running Windows XP or later versions. If you use an earlier operating system, you may have to reinstall MS DTC after you install software such as Microsoft SQL Server 6.5 because this software overwrites MS DTC binaries with the versions that are included with the software. Reinstalling the correct version of Msdtc.exe restores the binaries. In Windows XP and later versions, the Windows File Protection (WFP) feature makes sure that current system binaries are not replaced.

However, if you have to reinstall MS DTC on a computer that is running Windows XP, use the following procedure.

Warning If you use the following steps, all the transactions that are not completed will be lost. Make sure that you do not have active transactions before you perform these steps.

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.  In Administrative Tools, open Services, and then stop all services. In the Startup type column, change the startup type to Manual for all services except the services in the following list.

Note We recommend that you note the services that you change so that you can correctly restore these values in step 7.  Alerter COM+ Event System Computer Browser Distributed Link Tracking Client</li> DNS Client</li> Event Log</li> IPSEC Services</li> Logical Disk Manager</li> Messenger</li> Net Logon</li> NT LM Security Support Provider</li> Network Connections</li> Plug and Play</li> Remote Procedure Call (RPC)</li> Remote Procedure Call (RPC) Locator</li> Removable Storage</li> Security Accounts Manager</li> Server</li> System Event Notification</li> Task Scheduler</li> <li>TCP/IP NetBIOS Helper</li> <li>Windows Management Instrumentation</li> <li>Windows Management Instrumentation Driver Extensions</li> <li>Windows Time</li> <li>Workstation</li></ul> </li> <li>Close Services, and then restart your computer.</li> <li>At a command prompt, type the following command:

%WINDIR%\System32\msdtc.exe -uninstall

</li> <li>Start Registry Editor, and then remove the following registry keys if they exist: <ul> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li></ul> </li> <li>At a command prompt, type %WINDIR%\System32\msdtc.exe -install .</li> <li>Wait for disk activity to stop, and then restore the startup type of the services that you changed to their original values.</li> <li>In the registry, create the following registry key:

</li> <li>At a command prompt, type regsvr32 mtxoci.dll.

You will receive a message that states that DllRegisterServer in Mtxoci.dll succeeded. Click OK to close the message.</li> <li>Restart your computer.</li> <li>At a command prompt, type %WINDIR%\System32\msdtc.exe -resetlog .</li></ol>

<div class="references_section">