Share this article

This article is translated in

Improve this guide

FIX: MSDTC encountered an error (HR=0x80000171)

4 min. read

Updated onOctober 4, 2023

updated onOctober 4, 2023

Share this article

This article is translated in

Improve this guide

Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more

MSDTC encountered anerroron yourPC? Don’t not worry, we have got the right fixes for you. Some Windows users reported gettingerrorswhen they enable the WCF-Custom receive location. Theerroris usually displayed in this format:MSDTC encountered anerror(HR=0x80000171) while attempting to establish a secure connection with system.

Microsoft’s Distributed Transaction Coordinator (MSDTC) enables you to control transactions coordination between resource managers and applications. Also, while MSDTC relies on the network topology of the underlying components, a transaction can span multiple DTCs throughout your network.

However, Network DTC Access must be enabled on all MS DTC instances that are participating in the transaction; this enables transactions to be coordinated across the network.

For example, if a remote computer attempts to update a SQL database by using MS DTC transaction while Network DTC is disabled, the transactions will fail; hence, the MSDTC encountered anerrorprompt. The Windows Report team has compiled the applicable solution for thiserrorproblem.

How to fix ‘MSDTC encountered an error’ alert

How to fix ‘MSDTC encountered an error’ alert

Solution 1: Enable Network DTC Access

One of the quick fixes for theerrorproblem is to enable Network DTC Access for MS DTC transactions. You can do this in the component services. Follow these steps to enable network DTC Access:

However, if you still get theerrorafter trying out this fix, you may proceed to the next solution.

Solution 2: Enable a firewall exception for MSDTC

Sometimes, MSDTC encountered anerrorprompt is caused by theWindows Firewall.Windows Firewallprevents MSDTC from running on your computer; this is due to its protective measures against external control.

However, you can bypass this ‘wall’ by enabling firewall exception for MSDTC. Here’s how to do this:

Meanwhile, if you still get theerrorafter trying out this fix, you may proceed to the next solution.

Solution 3: Exclude MSDTC in your antivirus settings

Also, hyperactive antivirus programs can block MSDTC onWindows 10; hence, resulting in MSDTC encountered anerrorprompt. The best workaround would be to exclude DTC from your antivirus protection settings.

Here’s how to do this in Windows Defender:

— RELATED:FIX: Wi-Fi frequently disconnects in Windows 10, 8.1, 8, 7

Solution 4: Enable rule for PPTP

Here’s how to do this:

For Inbound Rules: right-click “Routing and Remote Access (PPTP-In)”, select “Enable Rule”.For Outbound Rules: right-click “Routing and Remote Access (PPTP-Out)”, select “Enable Rule”.

Conclusively, we suggest that you also check the MSDTC security settings dialog for details concerning MSDTC encountered an error (HR=0x80000171) prompt. Let us know how you were able to solve this error problem. Feel free to comment below.

RELATED STORIES TO CHECK OUT:

More about the topics:windows 10 fix

Ivan Jenic

Windows Hardware Expert

Passionate about all elements related to Windows and combined with his innate curiosity, Ivan has delved deep into understanding this operating system, with a specialization in drivers and driver troubleshooting.

When he’s not tackling diverse driver-related problems, Ivan enjoys watching good movies and spending time hiking with his family and friends.

User forum

0 messages

Sort by:LatestOldestMost Votes

Comment*

Name*

Email*

Commenting as.Not you?

Save information for future comments

Comment

Δ

Ivan Jenic

Windows Hardware Expert

Ivan has delved deep into understanding the Windows OS, with a specialization in drivers and driver troubleshooting.