Where to install DTC in 2008 R2

1. Through Command Prompt:

msdtc –uninstall

msdtc –install

Reference:

On each server, do the following:

                1. From Server Manager, Click "Roles", scroll down to the "Application Server" section, click "Remove Role Services" and uncheck/remove "Distributed Transactions"
                2. From powershell in "Run as administrator" mode, issue the MSDTC uninstall command "msdtc -uninstall" (http://msdn.microsoft.com/en-us/library/aa561924%28v=bts.70%29.aspx)
                3. Using regedt32.exe, delete all the MSDTC registry entries (My Computer\HKEY_LOCAL_MACHINE\Software\Microsoft\MSDTC)
                4. Restart the server.
                5. Reinstall the "Distributed Transactions" role service from step #1. In addition, I also made sure to install the MSMQ role/feature, and I enabled TCP Port sharing, all the "Windows Process Activation Service Support" features (I dont know if all of that is necessary)
                6. Run the MSDTC install command from a powershell window as administrator "msdtc -install"
                7. Reset all the DTS security settings (Component Services-Computers-My Computer-Distributed Transaction Coordinator-Local DTC-Properties-Security tab), and also update the "Distributed Transaction Coordinator" service to start automatically on boot
                8. Reboot

http://www.bryansgeekspeak.com/2011/02/windows-2008r2-msdtc-errors.html

or

2. Server Manager->Add Roles->Select "Application Server" –> Select "Distributed Transactions"

image

image

原文地址:https://www.cnblogs.com/aot/p/3035639.html