Article ID: 899191 - Last Review: March 19, 2008 - Revision: 2.2 New functionality in the Distributed Transaction Coordinator service in Windows Server 2003 Service Pack 1 and in Windows XP Service Pack 2On This PageSUMMARYMicrosoft Windows Server 2003 Service Pack 1 (SP1) and Microsoft Windows XP Service Pack 2 (SP2) include many security-related updates and changes. Some of these changes affect the Microsoft Distributed Transaction Coordinator (MSDTC) service. These changes can be accessed by using the updated Security Configuration dialog box that is available in the Component Services administrative tool. After you install Windows Server 2003 SP1 or Windows XP SP2, some changes are made to the default security settings that cause Distributed Transaction Coordinator traffic to fail over the network. In this situation, you may receive one or more error messages or error codes. By modifying the settings in the Security Configuration dialog box, you can help control how the Distributed Transaction Coordinator service communicates with remote computers over the network. INTRODUCTIONThis article describes new functionality in
the Microsoft Distributed
Transaction Coordinator (MSDTC) service in the following operating
systems:
MORE INFORMATIONIn Windows Server 2003 SP1 and in Windows XP SP2, the
Distributed Transaction Coordinator service gives you more
control over the network communication between computers. By default, all
network communication is disabled. The
Distributed Transaction Coordinator Security Configuration
dialog box has been enhanced so that you can manage these communication settings. To view the Security Configuration dialog box, follow these steps:
New options that are available in the "Security Configuration" dialog boxThe following information describes the new options that are available in the Security Configuration dialog box. This information also describes the registry entries that are affected by the new options in the Security Configuration dialog box.The "Network DTC Access" check boxThe Network DTC Access check box lets you determine whether the Distributed Transaction Coordinator service can access the network. The Network DTC Access check box must be selected together with one of the other check boxes under the Network DTC Access check box to enable network Distributed Transaction Coordinator transactions.The Network DTC Access check box affects the following registry entry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\Security Note
On a server cluster, the Network DTC Access check box affects a value
in the shared cluster registry key under the MSDTC resource registry key. The registry key of the shared cluster for MSDTC is located at the following location:Value name: NetworkDtcAccess Value type: REG_DWORD Value data: 0 (default) HKEY_LOCAL_MACHINE\Cluster\Resources\<MSDTC resource GUID> By default, the value of the NetworkDtcAccess registry
entry is set to 0. A value of 0 turns off the NetworkDtcAccess registry
entry. To turn on the NetworkDtcAccess registry
entry, set this registry value to 1. The "Allow Inbound" check boxThe Allow Inbound check box lets you determine whether to allow a distributed transaction that originates from a remote computer to run on the local computer. By default, this setting is turned off. To enable this setting, click to select the Network DTC Access check box to set the following registry entry to 1:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\Security To disable this setting, click to clear the Network DTC
Access check box to set this registry entry to 0.Value name: NetworkDtcAccess Value type: REG_DWORD The Allow Inbound check box affects both of the following registry entries: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\Security Value name: NetworkDtcAccessTransactions Value type: REG_DWORD Value name: NetworkDtcAccessInbound Value type: REG_DWORD The "Allow Outbound" check boxThe Allow Outbound check box lets you determine whether to allow the local computer to initiate a transaction and run that transaction on a remote computer. To enable this setting, click to select the Network DTC Access check box to set the following registry entry to 1:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\Security To disable this setting, click to clear the Network DTC
Access check box to set this registry entry to 0.Value name: NetworkDtcAccess Value type: REG_DWORD The Allow Outbound check box affects both of the following registry entries: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\Security Value name: NetworkDtcAccessTransactions Value type: REG_DWORD Value name: NetworkDtcAccessOutbound Value type: REG_DWORD The "Mutual Authentication Required" optionMutual Authentication Required adds support for mutual authentication in Windows Server 2003 SP1 and in Windows XP SP2. Mutual Authentication Required sets the greatest security mode that is currently available for network communication. We recommend this transaction mode for client computers that are running Windows XP SP2 together with server computers that are running Windows Server 2003 SP1.Mutual Authentication Required affects the following registry entries: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC Note
The functionality that is set by using Mutual
Authentication Required differs from the functionality that is
set by using Incoming Caller Authentication Required.
The three options that are listed under Transaction Manager
Communication behave as follows:
Value name: AllowOnlySecureRpcCalls Value type: REG_DWORD Value data: 1 Value name: FallbackToUnsecureRPCIfNecessary Value type: REG_DWORD Value data: 0 Value name: TurnOffRpcSecurity Value type: REG_DWORD Value data: 0
You must use the Incoming Caller Authentication Required transaction mode between Windows Server 2003-based computers in a clustered environment. You must use the No Authentication Required transaction mode where one or more of the following conditions are true:
The "Incoming Caller Authentication Required" optionIncoming Caller Authentication Required requires the local Distributed Transaction Coordinator service to communicate with a remote Distributed Transaction Coordinator service by using only encrypted messages. Only the incoming connection will be authenticated. Only Windows Server 2003 SP1 and Windows XP SP2 support this feature. Therefore, only enable this option if the remote Distributed Transaction Coordinator service is running on a Windows Server 2003 SP1-based computer or on a Windows XP SP2-based computer.Incoming Caller Authentication Required affects the following registry entries: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC For
more information about Incoming Caller Authentication Required, see the "The Mutual
Authentication Required option" section.Value name: AllowOnlySecureRpcCalls Value type: REG_DWORD Value data: 0 Value name: FallbackToUnsecureRPCIfNecessary Value type: REG_DWORD Value data: 1 Value name: TurnOffRpcSecurity Value type: REG_DWORD Value data: 0 The "No Authentication Required" optionNo Authentication Required enables operating system compatibility between earlier versions of the Windows operating system. When this option is enabled, network communication between Distributed Transaction Coordinator services can fall back to nonauthenticated communication or to nonencrypted communication if a secure communication channel cannot be established.Note We recommend that you use this setting if the remote Distributed Transaction Coordinator service is running on a computer that is running Microsoft Windows 2000 or on a computer that is running a version of Windows XP that is earlier than Windows XP SP2. You can also use No Authentication Required to resolve a situation where the Distributed Transaction Coordinator services are running on computers that are in domains that do not have a trust relationship established. Additionally, you can use No Authentication Required to resolve a situation where the Distributed Transaction Coordinator services are running on computers that are members of a workgroup. No Authentication Required affects the following registry entries: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC Note
On a server cluster, these registry entries are located in the shared
cluster registry.Value name: AllowOnlySecureRpcCalls Value type: REG_DWORD Value data: 0 Value name: FallbackToUnsecureRPCIfNecessary Value type: REG_DWORD Value data: 0 Value name: TurnOffRpcSecurity Value type: REG_DWORD Value data: 1 Significance of the new options that are available in the "Security Configuration" dialog boxThe new options that are available in the Security Configuration dialog box let you apply security settings to outgoing or incoming network communications. By default, after you install Windows Server 2003 SP1 or Windows XP SP2, the computer does not accept network traffic. Therefore, the computer is less vulnerable to network access by a malicious user. Additionally, the protocols that are sent over the network are updated to support a more securely encrypted and mutually authenticated communications mode. This helps reduce the chance that a malicious user could intercept and take over communications between Distributed Transaction Coordinator services.Network communication changes in Windows Server 2003 SP1 and in Windows XP SP2After you install Windows Server 2003 SP1 or Windows XP SP2, all network communication coming out of the Distributed Transaction Coordinator service or coming in to the Distributed Transaction Coordinator service is disabled. For example, if a COM+ object tries to update a Microsoft SQL Server database that is located on a remote computer by using a Distributed Transaction Coordinator transaction, this transaction does not succeed. Conversely, if the computer hosts a SQL Server database that components from a remote computer try to access by using a Distributed Transaction Coordinator transaction, this transaction does not succeed.Issues that are related to the Distributed Transaction Coordinator serviceTransactions fail because of network connectivity issuesImportant This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows If the Distributed Transaction Coordinator transactions fail because of network connectivity issues, click to select the following check boxes in the Security Configuration dialog box:
Important We recommend that you do not manually modify the registry to change these settings. If you manually modify these registry settings, you may experience issues with the Cluster service on Windows Server 2003 SP1-based server clusters. Windows Firewall blocks Distributed Transaction Coordinator trafficImportant These steps may increase your security risk. These steps may also make the computer or the network more vulnerable to attack by malicious users or by malicious software such as viruses. We recommend the process that this article describes to enable programs to operate as they are designed to or to implement specific program capabilities. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this process in your particular environment. If you decide to implement this process, take any appropriate additional steps to help protect the system. We recommend that you use this process only if you really require this process.If you use Windows Firewall to help protect Windows Server 2003 SP1 or Windows XP SP2, you must add the Distributed Transaction Coordinator service to the exception list in the Windows Firewall settings. To do this, follow these steps:
Settings that are changed or added in Windows Server 2003 SP1 or in Windows XP SP2The following table describes the registry entries that are changed in Windows XP SP2 from earlier versions of Windows.Collapse this table
Error codes that are associated with the Distributed Transaction Coordinator service changes in Windows XP SP2After you install Windows XP SP2, you may receive one of the following error codes when you run Distributed Transaction Coordinator transactions between computers:Error code 1 // // MessageId: XACT_E_NETWORK_TX_DISABLED // // MessageText: // // The transaction manager has disabled its support for remote/network transactions. // #define XACT_E_NETWORK_TX_DISABLED _HRESULT_TYPEDEF_(0x8004D024L) // // MessageId: XACT_E_PARTNER_NETWORK_TX_DISABLED // // MessageText: // // The partner transaction manager has disabled its support for remote/network transactions. // #define XACT_E_PARTNER_NETWORK_TX_DISABLED _HRESULT_TYPEDEF_(0x8004D025L) APPLIES TO
| Article Translations
|

Back to the top
