MSDTC encountered an error (HR=0x80000171)

November 2022 · 4 minute read
MSDTC encountered an error

XINSTALL BY CLICKING THE DOWNLOAD FILE

To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:
  • Download DriverFix (verified download file).
  • Click Start Scan to find all problematic drivers.
  • Click Update Drivers to get new versions and avoid system malfunctionings.
  • MSDTC encountered an error on your PC? Don’t not worry, we have got the right fixes for you. Some Windows users reported getting errors when they enable the WCF-Custom receive location. The error is usually displayed in this format: MSDTC encountered an error (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 an error prompt. The Windows Report team has compiled the applicable solution for this error problem.

    How to fix ‘MSDTC encountered an error’ alert

  • Enable Network DTC Access
  • Enable a firewall exception for MS DTC
  • Exclude MSDTC in your antivirus settings
  • Enable rule for PPTP
  • Solution 1: Enable Network DTC Access

    One of the quick fixes for the error problem 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 the error after trying out this fix, you may proceed to the next solution.

    Solution 2: Enable a firewall exception for MSDTC

    Sometimes, MSDTC encountered an error prompt is caused by the Windows Firewall. Windows Firewall prevents 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 the error after 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 on Windows 10; hence, resulting in MSDTC encountered an error prompt. 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:

    ncG1vNJzZmivmaOxsMPSq5ypp6Kpe6S7zGikrJykmHqmusKorKeslaeypXnEq6moql8%3D