net stop msdtc
msdtc -uninstall
– Open system registry and delete these entries:
[HKEY_LOCAL_MACHINE \SOFTWARE \Microsoft \MSDTC]
[HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Services \MSDTC]
– From command-line console again, run these commands:
msdtc -install
msdtc -resetlog
net start msdtc
It is possible that the problems in MSDTC service have corrupted the transaction logs too. In this case, it is better that additionally to the steps to reinstall MSDTC service, you execute the following steps to reset the log-file:
– Go to %SystemRoot%\System32\DTCLog folder (or to the folder where logs are generated if you have changed the default one)
– If exists a Msdtc.log file, rename it to Msdtc.old (MSDCT service has to be stopped)
– Use notepad to create text file named Msdtc.log
– Open command-line console and run this command:
msdtc -resetlog