Microsoft KB Archive/891801

From BetaArchive Wiki
Knowledge Base


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.

  1. In Administrative Tools, open Services, and then stop all services.
  2. 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
    • DNS Client
    • Event Log
    • IPSEC Services
    • Logical Disk Manager
    • Messenger
    • Net Logon
    • NT LM Security Support Provider
    • Network Connections
    • Plug and Play
    • Remote Procedure Call (RPC)
    • Remote Procedure Call (RPC) Locator
    • Removable Storage
    • Security Accounts Manager
    • Server
    • System Event Notification
    • Task Scheduler
    • TCP/IP NetBIOS Helper
    • Windows Management Instrumentation
    • Windows Management Instrumentation Driver Extensions
    • Windows Time
    • Workstation
  3. Close Services, and then restart your computer.
  4. At a command prompt, type the following command:

    %WINDIR%\System32\msdtc.exe -uninstall

  5. Start Registry Editor, and then remove the following registry keys if they exist:
    • HKEY_CLASSES_ROOT\CID
    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSDTC
    • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\MSDTC
    • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\MSDTC
    • HKEY_LOCAL_MACHINE\Software\Microsoft\MSDTC
  6. At a command prompt, type %WINDIR%\System32\msdtc.exe -install.
  7. Wait for disk activity to stop, and then restore the startup type of the services that you changed to their original values.
  8. In the registry, create the following registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\XADLL

  9. 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.
  10. Restart your computer.
  11. At a command prompt, type %WINDIR%\System32\msdtc.exe -resetlog.


REFERENCES

For additional information about reinstalling MS DTC on a computer that is running Microsoft Windows 2000 Server, click the following article number to view the article in the Microsoft Knowledge Base:

279786 How to reinstall MS DTC for a nonclustered Windows 2000 Server


Keywords: kbhowto kbinfo KB891801