Disable MAPI for All Mailboxes on a Server

Applies to: Exchange Server 2010

You can disable Messaging Application Programming Interface (MAPI) access for all mailboxes on a Mailbox server. To perform this procedure, you must edit the registry.

Warning

Incorrectly editing the registry can cause serious problems that may require you to reinstall your operating system. Problems resulting from editing the registry incorrectly may not be able to be resolved. Before editing the registry, back up any valuable data.

After you disable MAPI on a server, Microsoft Outlook 2010, Outlook 2007 and Outlook 2003 client computers receive the following error message:

Your Microsoft Exchange administrator has blocked the version of Outlook that you are using. Contact your administrator for assistance.

If an Outlook client computer is connected to the server when the registry change is applied, the client computer will immediately be disconnected and will return the following message:

Connection to Microsoft Exchange has been lost. Outlook will restore the connection when possible.

Looking for other management tasks related to user mailboxes? Check out Managing User Mailboxes.

Use Registry Editor to disable MAPI for all mailboxes on a server

To perform this procedure, the account you use must be delegated membership in the local Administrators group.

  1. Start Registry Editor.

  2. Navigate to the following registry subkey:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeIS\ParametersSystem

  3. On the Edit menu, point to New, and then select String value.

  4. In the details pane, name the new value Disable MAPI Clients.

  5. Double-click the Disable MAPI Clients value, and in the Edit String box under Value Data, type the version or range of versions to disable:

    • To disable a specific MAPI client version, type: 12.1234.01
    • To disable a range of MAPI client versions, type: 11.1234.01-12.1234.01
    • To disable an open-ended range of MAPI client versions, type: -12.1234.01 or 11.1234.01-
    • To disable multiple sets of MAPI client versions, use either commas or semicolons to separate the sets as follows: 11.1234.01-11.9999.01;12.1234.01-12.5000.01

    Note

    To determine the MAPI client version for Outlook clients, view the file version of the Emsmdb32.dll file.

    Important

    The version of the Emsmdb32.dll file is listed as X.0.Y.Z. This version must be entered as X.Y.Z in the registry value. For example, if the version of Emsmdb32.dll is 12.0.4407.1004, enter 12.4407.1004 in the Disable MAPI Clients registry value.

    Important

    Server-side Exchange components also use MAPI to log on. Some components report their client version as an Exchange build number. Therefore, avoid restricting 6.x.x on an Exchange server.

  6. Exit Registry Editor.

    Note

    This registry value applies to all mailboxes on the server. If you move a mailbox to this server, this setting will apply to the moved mailbox.

  7. (Optional) To apply the registry key, restart the Microsoft Exchange Information Store service. If you don't restart the Microsoft Exchange Information Store service, the service will query the registry key every 15 minutes and apply any changes. Any open connections with a newly blocked version will be disconnected immediately after the registry key is applied. Any new connections will be blocked.