Home > Issues > Solution for problem with starting MSDTC and Missing Local DTC in Windows 7

Solution for problem with starting MSDTC and Missing Local DTC in Windows 7

When I tried to execute one of C# application that is using transaction scope, I found that i couldn’t start MSDTC service( I was using windows 7(64bit)).I tried following link and solved that problem.

link:http://social.technet.microsoft.com/Forums/en-ZA/winserverhyperv/thread/d3de5460-fb42-4af0-ac75-27c22741c7e9 .

Then I found that there are no Local DTC in MSDTC.(I checked with component services ( start->type component services)).I tried following steps too.But still no luck.(But hope sometimes it works).


1) Stop the Distributed Transaction Coordinator service in the Services Control Panel

2) At a command prompt run "msdtc -uninstall" without quotes. This removes the MSDTC service from the Services Control Panel and the associated service hive along with the CIDs and CID.Locals from the registry:


3) Skip this step if you want to preserve existing configuration, such as network transactions and other MSDTC security settings. Otherwise manually delete the following registry keys if they exist:


4) At a command prompt run "msdtc -install" without quotes. This reinstalls the MSDTC service and the 4 registry hives above.

5) At a command prompt run “msdtc –resetlog” without quotes

Then I browsed to C:\windows\System32\MSDTC folder but I couldn’t access that one.Next I reboot machine and logged in safe mode and deleted that folder and create new MSDTC folder.

Still I couldn’t found Local DTC.Then I stopped windows firewall service in services.msc and virus guard firewall service.Then I tried above steps.Eureka now it works fine. I found that it was happen due to some Microsoft updates.It’s not fair to forget the key factors in solving this.Thanks Dilshan and Kavinda bro’s.

Hope this one help you to solve your MSDTC problem.Until next post cheers..!!!

Categories: Issues Tags: , , ,
  1. Joko
    April 3, 2013 at 12:28 pm

    Hi, if this applicable in windows server 2008? because i have same problem but using Windows Server 2008 R2.

  2. Rasika
    April 7, 2013 at 12:04 pm

    Hi Joko, No. I have only tried for windows 7. But sometimes it works check registry settings are same. If not please don’t try.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: