How To Reinstall MS DTC for a Nonclustered Windows NT 4.0 Server (250987)



The information in this article applies to:

  • Microsoft Transaction Server 1.0, when used with:
    • Microsoft Windows NT Server 4.0 SP4
    • Microsoft Windows NT Workstation 4.0 SP4
    • the operating system: Microsoft Windows 2000
  • Microsoft Transaction Server 2.0, when used with:
    • Microsoft Windows NT Server 4.0 SP4
    • Microsoft Windows NT Workstation 4.0 SP4
    • the operating system: Microsoft Windows 2000
  • Microsoft SQL Server 7.0

This article was previously published under Q250987

SUMMARY

This article describes how to reinstall Microsoft Distributed Transaction Coordinator (MS DTC) for a nonclustered server.

MORE INFORMATION

Important You should reinstall MS DTC only in the context of troubleshooting a serious problem; for example, if you receive the following error message:
MSDTC service terminated with service-specific error 3221229574.
You must follow the procedures given in this article precisely. If you don't follow these instructions, you may need to reformat your hard disk.

This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

Microsoft Windows NT Version 4.0 Service Pack 4 (SP4)

To reinstall MS DTC, perform the following steps:
  1. Stop all services (including SQL Server, Mtx.exe, IISADMIN, SMTP, FTP, and Protected Storage) except for the following:
    • Alerter
    • Cluster Service
    • Computer Browser
    • Distributed File System
    • Distributed Link Tracking Client
    • Distributed Link Tracking Server
    • DNS Client
    • Event Log
    • IPSEC Policy Agent
    • License Logging Service
    • Logical Disk Manager
    • Messenger
    • Net Logon
    • NT LM Security Support Provider
    • Network Connectors
    • Plug and Play
    • Process Control
    • Remote Procedure Call (RPC) Locator
    • Remote Procedure Call (RPC) Service
    • Remote Registry Service
    • Removable Storage
    • Security Accounts Manager
    • Server
    • Spooler
    • TCP/IP NetBIOS Helper
    • Windows Management Instrumentation Driver Extensions
    • Windows Time Service
    • Workstation

  2. Close Control Panel.
  3. At the command prompt, type the following:

    MSDTC -remove

  4. In the registry, remove the following keys if they exist:

    HKEY_CLASSES_ROOT\CID
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSDTC
    						

  5. Delete the DTC log file %WINDIR%\System32\Dtclog\Msdtc.log.
  6. Download the Dtcsetup.exe file into the C:\Temp folder. To obtain a copy of this file, please see the MS DTC Download site at the following FTP address: and then select the folder corresponding to your platform.
  7. At the command prompt, type the following:

    c:\temp\dtcsetup /T:c:\temp\dtc /C

    This extracts the MS DTC files to a temporary directory so that you can determine which existing files to delete.
  8. For each file that is extracted into C:\Temp\Dtc, delete the corresponding file, if it exists, from the %WINDIR%\System32 folder, and if SQL Server is installed, from the Ssql\Binn folder as well.
  9. At the command prompt, type Dtcsetup without parameter; this copies the MS DTC files to the %WINDIR%\System32 folder.
  10. Make sure that the file version is correct by comparing file versions between the %WINDIR%\System32 folder and the C:\Temp\Dtc folder. If the versions do not match, reset the permissions for %WINDIR%\System32 and all subfolders.
  11. To then install MS DTC, type the following:

    msdtc -install -d %WINDIR%\system32\ -l %WINDIR%\system32\dtclog\msdtc.log -a

  12. Run DTC Admin Console (DAC) and reset the log file; the path should point to a local folder.
  13. Restart the computer.
  14. Use DAC to check DTC after installation.
For additional information on how to reinstall MS DTC on Windows 2000, click the article number below to view the article in the Microsoft Knowledge Base:

279786 How To Reinstall MS DTC for a Nonclustered Windows 2000 Server

REFERENCES

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

294209 How To Rebuild or Move MSDTC Used With a SQL Fail-Over Cluster


Modification Type:MinorLast Reviewed:7/15/2004
Keywords:kbDTC kberrmsg kbhowto KB250987 kbAudDeveloper