
Set the appropriate MSDTC Security Configuration options on Windows Server 2003 SP1, Windows XP SP2, Windows Server 2008, and Windows Vista
Windows Server 2003 SP1, Windows XP SP2, Windows Server 2008, and Windows Vista provide security enhancements that govern how MSDTC is accessed over a network. By modifying the MSDTC security settings, you control how MSDTC communicates with remote computers over the network. This table lists the recommended values for the options that are available when configuring MSDTC security settings:
|
Configuration Option |
Default Value |
Recommended Value
|
|---|
|
Network DTC Access |
Disabled |
Enabled |
|
Client and Administration |
|
|
|
Allow Remote Clients |
Disabled |
Disabled |
|
Allow Remote Administration |
Disabled |
Disabled |
|
Transaction Manager Communication |
|
|
|
Allow Inbound |
Disabled |
Enabled |
|
Allow Outbound |
Disabled |
Enabled |
Mutual Authentication Required | Enabled | Enabled if all remote machines are running Windows Server 2003 SP1 or Windows XP SP2 or higher, and are configured with “Mutual Authentication Required”. |
Incoming Caller Authentication Required | Disabled | Enabled if running MSDTC on cluster. |
No Authentication Required | Disabled |
Enabled if remote machines are pre-Windows Server 2003 SP1 or pre- Windows XP SP2. |
Enable TIP | Disabled | Enabled if running the BAM Portal. |
Enable XA Transactions | Disabled |
Enabled if communicating with an XA based transactional system such as when communicating with IBM WebSphere MQ using the MQSeries adapter.
|
After applying these changes, the MSDTC service will be restarted.
To access the MSDTC security configuration options follow these steps:
On Windows Server 2003 SP1 and Windows XP SP2:
- Click Start, click Run, and type dcomcnfg to launch the Component Services Management console.
- Click to expand Component Services and click to expand Computers.
- Right-click My Computer, and click Properties.
- Click the MSDTC tab of the My Computer Properties dialog and click the Security Configuration button to display the Security Configuration dialog box.
On Windows Server 2008 and Windows Vista:
- Click Start, click Run, and type dcomcnfg to launch the Component Services Management console.
- Click to expand Component Services and click to expand Computers.
- Click to expand My Computer, click to expand Distributed Transaction Coordinator, right-click Local DTC, and click Properties.
- Click the Security tab of the Local DTC Properties dialog.
Note |
|---|
| Depending on the changes that were made, you may need to reboot the computer to enact the changes. If you are still encountering problems after applying changes and restarting the MSDTC service, reboot the computer on which the changes were made to ensure that the changes take effect. |
If either the Mutual Authentication Required or the Incoming Caller Authentication Required configuration options are enabled then the client(s) computer account must be granted the Access this computer from the network user right. If the computer account for a client computer is not granted the Access this computer from the network user right, or is included in the Deny access to this computer from the network user right, then DTC communication between the client and server computer will fail.
The default setting is to grant the Everyone group the Access this computer from the network user right. Therefore this user right will not need to be changed unless the default setting has been modified. If the No Authentication Required configuration option is enabled then the Access this computer from the network user right does not apply to the client(s) computer account.
To change the users or groups that are granted the "Access this computer from the network" user right, follow these steps:
-
Click Start, click Run, type Gpedit.msc, and then click OK.
-
Expand the following items in the Local Computer Policy list:
-
Computer Configuration
-
Windows Settings
-
Security Settings
-
Local Policies
-
Click User Rights Assignment.
-
Double-click Access this computer from the network, and then click Add User or Group.
-
Click Object Types, select Computers and click OK.
-
Add the computer name or the group name in the Enter the object names to select area.
-
Click Check Names to verify the entry.
-
Click OK twice.
To change the users or groups that are included in the Deny access to this computer from the network user right, follow these steps:
-
Expand the following items in the Local Computer Policy list:
-
Computer Configuration
-
Windows Settings
-
Security Settings
-
Local Policies
-
Click User Rights Assignment.
-
Double-click Deny access this computer from the network, and then click to select the computer name or group that you want to remove from this user right.
-
Click Remove and then click OK.
For more information about new functionality in the Distributed Transaction Coordinator service in Windows Server 2003 Service Pack 1 and in Windows XP Service Pack 2, see New functionality in the Distributed Transaction Coordinator service in Windows Server 2003 Service Pack 1 and in Windows XP Service Pack 2.