How to Uninstall and Reinstall the MS DTC


1.      From a command prompt run “msdtc -uninstall” without the quotes.

2.      Verify the DTC was uninstalled successfully by reviewing the application event log.

3.      On Windows 2003 Servers…From Add/Remove Programs, Add/Remove Windows Components under the Application Server Details uncheck “Enable network DTC access” services and then “Next” through the wizard until completed.

4.      Open regedit and ensure the following registry keys have been deleted (they all may not be present):

  •   HKEY_CLASSES_ROOT\CID
  •   HKEY_CLASSES_ROOT\CID.Local for Windows 2008
  •  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC
  •  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSDTC

5.      Reboot the machine.

6.      From a command prompt run “msdtc -install” without the quotes.

7.      On Windows 2003 Servers…From Add/Remove Programs, Add/Remove Windows Components under the Application Server Details check “Enable network DTC access” services and then “Next” through the wizard until completed.

8.      Verify the MSDTC was installed successfully by reviewing the application event log.

9.      From a command prompt run “msdtc -resetlog” without the quotes.

10.   In the Administrative tools, Services verify the Distributed Transaction Coordinator service is started and then change the properties of the service so the startup type is “automatic."

11.   Also, remember to go into Component Services and change the security settings for the DTC to match the other machines.

Feedback and Knowledge Base