msdtc.exe is causing lock/active on windows system

msdtc.exe is causing lock/active on windows system.

Issue: If you need to update any application on windows sometime we face the issue with active/locked file by windows services or process.

Solution:

C:\windows>tasklist /m oci*

Image Name     PID      Modules
============   ======   ========
explorer.exe   3136     oci.dll
vmtoolsd.exe   36108    oci.dll
msdtc.exe      6932     oci.dll


If you kill the PID process for msdtc.exe , it open again as shown below:

taskkill /pid 6932 /F
SUCCESS: The process with PID 6932 has been terminated.

C:\windows>tasklist /m oci*

Image Name     PID     Modules
============   =====   ========
explorer.exe   3136    oci.dll
vmtoolsd.exe   36108   oci.dll
msdtc.exe      23492   oci.dll


So, for fix it we need to stop the services for msdtc.exe process and disable it for the duration of our activity and then start it. Open the Services.msc of microsoft windows and find the following service and stopped or disabled it for during the activity, then start it.

Service name is Distributed Transaction Coordinator

6.JPG

Advertisements

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.