MSDTC uninstall fails with event 4157 (Could not stop the MS DTC service or or one of its dependent services)

Some difficulties came up today while trying to reinstall MSDTC.

Running msdtc -uninstall gave no result. In the eventlog, I found the following error:

Source: Microsoft-Windows-MSDTC
Event ID: 4157
Task Category: SVC
Description:
Could not stop the MS DTC service or or one of its dependent services.

I tried to manually stop the MSDTC service (Distributed Transaction Coordinator) in Services, but the error still popped up after running msdtc -uninstall.

The solution was quite stupid (and dumb at the same time): I had forgotten to run the command prompt as administrator. UAC was nagging me.

To verify your uninstall of MSDTC completed succesfully, open the Application log and note event 4105: The Microsoft Distributed Transaction Coordinator service was succesfully removed.

 

 

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x