Microsoft KB Archive/250987

= How To Reinstall MS DTC for a Nonclustered Windows NT 4.0 Server =

Article ID: 250987

Article Last Modified on 7/15/2004

-

APPLIES TO

 Microsoft Transaction Services 1.0, when used with:  Microsoft Windows NT 4.0 Service Pack 4

 Microsoft Windows NT Workstation 4.0 Developer Edition

 Microsoft Windows 2000 Standard Edition  Microsoft Transaction Services 2.0, when used with:  Microsoft Windows NT 4.0 Service Pack 4</li></ul>

 Microsoft Windows NT Workstation 4.0 Developer Edition</li></ul>

 Microsoft Windows 2000 Standard Edition</li></ul> </li> Microsoft SQL Server 7.0 Standard Edition</li></ul>

-

<div class="notice_section">

This article was previously published under Q250987

<div class="summary_section">

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

<div class="moreinformation_section">

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

</li> <li>Close Control Panel.</li> <li>At the command prompt, type the following:

MSDTC -remove

</li> <li>In the registry, remove the following keys if they exist:

<pre class="fixed_text">HKEY_CLASSES_ROOT\CID HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSDTC

</li> <li>Delete the DTC log file %WINDIR%\System32\Dtclog\Msdtc.log.</li> <li>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:

ftp://ftp.microsoft.com/bussys/distapps/MTS/Public-Fixes/usa/DTC/svcpack/nt4_sp6/

and then select the folder corresponding to your platform.</li> <li>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.</li> <li>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.</li> <li>At the command prompt, type Dtcsetup without parameter; this copies the MS DTC files to the %WINDIR%\System32 folder.</li> <li>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.</li> <li>To then install MS DTC, type the following:

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

</li> <li>Run DTC Admin Console (DAC) and reset the log file; the path should point to a local folder.</li> <li>Restart the computer.</li> <li>Use DAC to check DTC after installation.</li></ol>

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

<div class="references_section">