Microsoft KB Archive/810489

= MTA Stacks service supportability guidelines for Exchange 2000 Server and Exchange Server 2003 =

Article ID: 810489

Article Last Modified on 10/25/2007

-

APPLIES TO


 * Microsoft Exchange Server 2003 Enterprise Edition
 * Microsoft Exchange Server 2003 Standard Edition
 * Microsoft Exchange 2000 Server Standard Edition

-



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SUMMARY
The Message Transfer Agent (MTA) Stacks service in Microsoft Exchange 2000 Server and in Microsoft Exchange Server 2003 is frequently used to provide backward-compatible message transfer services between Exchange 2000 Server or Exchange Server 2003 servers and Microsoft Exchange Server 5.5 servers in a mixed-mode environment.

When the transition is made to a pure Exchange 2000 Server or Exchange Server 2003 native-mode environment, administrators may want to disable the MTA Stacks service.

We do not recommend that you disable the MTA Stacks service in Exchange 2000 Server. This action is not supported. The MTA Stacks service is a core operational component. You may experience unexpected behavior if you disable this service. In Exchange 2000 Server, the MTA Stacks service is required to correctly process mailbox moves and for other core functions. These dependencies on the MTA Stacks service have been removed in Exchange Server 2003. Therefore, Microsoft supports Exchange Server 2003 deployments in which the MTA Stacks service is disabled.



How to disable the MTA Stacks service on Exchange Server 2003
Note The MTA Stacks service must remain enabled on an Exchange Server 2003 server if the following conditions are true:
 * The server is a transport bridgehead to Exchange Server 5.5 servers.
 * The server is running the GroupWise connector.
 * The server is running the Notes connector.
 * The server is running another Exchange Development Kit (EDK) connector, such as a third-party Fax connector

The MTA Stacks service is also required for direct connectivity with external X.400 mail systems.

How to disable the MTA Stacks service on an Exchange Server 2003 stand-alone server
To disable the MTA Stacks service on Exchange Server 2003 stand-alone servers, follow these steps.

Note Before you disable the MTA Stacks service on the stand-alone server, use Exchange System Manager to verify that there are no queued messages in the MTA Stacks service.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.  Click Start, point to Administrative Tools, and then click Services. Right-click Microsoft Exchange MTA Stacks, and then click Properties. In the Startup type list, click Disabled. Click Stop, and then click OK. Close the Services window. Start Registry Editor. Locate and then click the following registry subkey, where  is the name of the Exchange Server 2003 server:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ 

For each private or public database that is listed under this subkey, perform steps 8 to 11.</li> Right-click the Gateway In Threads value, and then click Modify.

If the Gateway In Threads value does not exist, you must create it. To do this, right-click the database key, point to New, and then click DWORD Value. Name this new value Gateway In Threads .</li> Type 0 in the Value data box, and then click OK.</li> Right-click the Gateway Out Threads value, and then click Modify.

If the Gateway Out Threads value does not exist, you must create it. To do this, right-click the database key, point to New, and then click DWORD Value. Name the new value Gateway Out Threads .</li> Type 0 in the Value data box, and then click OK.</li> Quit Registry Editor.</li></ol>

Note The changes that you made in steps 8 through 11 will not take effect until the Microsoft Exchange Information Store service is restarted.

When you set the Gateway In Threads value and the Gateway Out Threads value to 0, Store and MTA connection failure events are not logged in the Application log after the MTA Stacks service has been disabled. If you create a new database on the server, you should set the Gateway In Threads value and the Gateway Out Threads value for the new database.

You should add the procedure that is described in this section to your Exchange server build out documentation and to your Mailbox Store creation documentation.

How to disable the MTA Stacks service on Exchange Server 2003 cluster servers
Important In an Exchange cluster, the MTA Stacks service is hosted by the first Exchange virtual server that is created in the cluster. All other Exchange virtual servers share this one MTA resource. After the MTA resource is deleted from an Exchange cluster, you cannot re-add the MTA resource by just adding it back to the cluster. You can only re-add the MTA resource by performing a failure recovery sequence with the Exchange virtual server that has previously hosted the MTA resource. You must delete the Exchange System Attendant resource and then re-add the same Exchange System Attendant resource. When you do this, an MTA resource that has the same configuration settings as the previous MTA resource is created. Also, if you remove of the MTA resource, the Exchange virtual server deletion or removal logic will not be changed. You cannot remove the Exchange virtual server that previously hosted the MTA Stacks service unless the Exchange virtual server is the only Exchange virtual server that remains in the cluster. For example, If there is more than one Exchange virtual server in the cluster, the Exchange virtual server that previously hosted the MTA resource can only be removed after all other Exchange virtual servers are removed.

To disable the MTA Stacks service on Exchange Server 2003 clustered servers, follow these steps on each Exchange cluster.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. <ol> Delete Exchange Message Transfer Agent Instance cluster resource: <ol style="list-style-type: lower-alpha;"> Start Cluster Administrator, and then connect to the cluster that you want to administer.</li> Expand the cluster group that contains the Exchange MTA resource .</li> Right-click the MTA resource, and then click Delete.</li> Click Yes.</li></ol> </li> Click Start, point to Administrative Tools, and then click Services.</li> Right-click Microsoft Exchange MTA Stacks, and then click Properties.</li> In the Startup type list, click Disabled.</li> Click Stop, and then click OK.</li> Close the Services window.</li> <li>Start Registry Editor.</li> <li>Locate and then click the following registry subkey, where  is the name of the Exchange Server 2003 server:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ServerName

For each private or public database that is listed under this subkey, perform steps 9 to 11.</li> <li>Right-click the Gateway In Threads value, and then click Modify.

If the Gateway In Threads value does not exist, you must create it. To do this, right-click the database key, point to New, and then click DWORD Value. Name this new value Gateway In Threads .</li> <li>Type 0 in the Value data box, and then click OK.</li> <li>Right-click the Gateway Out Threads value, and then click Modify.

If the Gateway Out Threads value does not exist, you must create it. To do this, right-click the database key, point to New, and then click DWORD Value. Name the new value Gateway Out Threads .</li> <li>Type 0 in the Value data box, and then click OK.</li> <li>Quit Registry Editor.</li></ol>

When you set the Gateway In Threads value and the Gateway Out Threads value to 0, Store and MTA connection failure events are not logged in the Application log after the MTA Stacks service has been disabled. If you create a new database or new Exchange virtual servers in the cluster, you should set the Gateway In Threads value and the Gateway Out Threads value for the new database or the new Exchange virtual server. Remember that you must fail over the new database or the new Exchange virtual servers to each node before the database registry keys will be generated.

You should add this procedure to your Exchange server build out documentation and to your Mailbox Store creation documentation.

Note Before you disable the MTA Stacks service on the cluster server, use Exchange System Manager to verify that there are no queued messages in the MTA Stacks service. Also, make sure that the Exchange virtual servers within the cluster have been brought online at least one time on every potential node in the cluster. This includes active and passive nodes. This action is required to create the MDB-specific registry keys. For example, the  registry key is created after the Exchange virtual servers are brought online.

<div class="references_section">