Microsoft Exchange Mailbox Merge program (Exmerge.exe) information
This article was previously published under Q174197
This article has been archived. It is offered "as is" and will no longer be updated.
The Microsoft Exchange Mailbox Merge Program (Exmerge.exe) enables an Exchange Server administrator to extract data from mailboxes on an Exchange Server computer and then merge this data into the same mailboxes on another computer that is running Exchange Server. The Exchange Server 4.0, 5.0, and 5.5 version of this program is included in the Microsoft BackOffice Resource Kit, Second Edition. The Exchange 2000 Server version of Exmerge is included on the Exchange 2000 Server CD in the Support\Utils\I386\Exmerge folder.
To run the Exmerge utility, you must copy the Exmerge.exe and Exmerge.ini files from the CD to the ExchSrvr\Bin folder on the server's hard drive and run the .exe file from that location.
Exmerge.exe copies data from the source server into personal folder (PST)files and then merges the data in the personal folders into themailboxes on the destination server.
Note You cannot use Exmerge on front-end servers because front-end servers do not have a mailbox store. Also, you cannot use Exmerge on a recovery storage group that is mounted on a front-end server.
The program has two modes of operation: One Step and Two Step.
In One Step mode, the program copies data from the source mailbox to a PSTfile and then merge the data in the PST file into the same mailbox on thedestination server. In this case, the mailbox on the destination servermust have the same mailbox name and the same container path. TheDistinguished Name (DN) of the mailbox on the destination server isobtained by replacing the Organization and Site names in the DN of themailbox on the source server with the Organization and Sites names of thedestination server.
In Two Step mode, the user has the option of only copying data to PSTfiles or merging data from PST files into a server.
For this program to successfully work, the user must be logged onto Microsoft Windows NT with the Exchange Service account. If this is notpossible, then the current Windows NT account must have permissions on allmailboxes selected to be merged.
The program creates a log file called C:\Exmerge.log, which contains anyerrors encountered during operation.
The Exchange Server 4.0, 5.0, and 5.5 version of this program only runs on Windows NT Server 4.0 or later. The Exchange 2000 Server version of this program only runs on Microsoft Windows 2000 Server or later.
Before you run this program, make sure that the Microsoft Outlook Clientand the Microsoft Exchange Administrator program are installed on thecomputer that Exmerge.exe is being run on.
Note We recommend that you do not install Outlook on the Exchange server. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
266418 Microsoft does not support installing Exchange Server components and Outlook on the same computerTo start the program, double-click on the Exmerge.exe program from theWindows NT Explorer.
This version of Exmerge.exe only merges user folders and messages. Itdoes not support Inbox Rules, forms, and Schedule+ data. Exmerge.exe merges Outlook Calendars and Contacts.
Messages copied lose their single instance storage and this may resultin the size of the Exchange private information storeincreasing significantly.
To download Exmerge.exe, visit the following Microsoft website:
NOTE: Assume the production server is called SERVERP and another testserver is called SERVERT.
- Create a new (blank) information store on SERVERP by moving out all the files in the Exchsrvr\Mdbdata directory. This allows the information store service to start.
- Restore or recover the old information store onto SERVERT.
- Stop the information store service on SERVERP.
- Stop the information store service on SERVERT.
- On SERVERT, rename the Exchsrvr\Mdbdata directory to Mdbdata.old.
- On SERVERT, create a new directory called Exchsrvr\Mdbdata.
- On SERVERP, rename the Exchsrvr\Mdbdata directory to Mdbdata.new.
- On SERVERP create a new directory called Exchsrvr\Mdbdata.
- On SERVERP, from the Exchsrvr\Mdbdata.new directory copy the Priv.edb and the Pub.edb files to the Exchsrvr\Mdbdata directory on SERVERT.
- On SERVERT, from the Exchsrvr\Mdbdata.old directory copy the Priv.edb and the Pub.edb files to the Exchsrvr\Mdbdata directory on SERVERP. Hence, you have swapped the Priv.edb and Pub.edb files on the two servers.
- On SERVERP, run Isinteg -patch.
- On SERVERT, run Isinteg -patch.
- Run the Exmerge program to now merge all data from SERVERT intoSERVERP.
- Check server name.
- Check Organization and Site names.
- Verify that the directory and information store are running on theserver. The Exmerge program gets the list of mailboxes from the information store, because it also gets the mailbox size.
- Sometimes the list displayed may not contain all the mailboxes on the Exchange Server computer. Mailboxes that have never been logged on tohave no Information Store object. Therefore, these mailboxes are notdetected. This behavior is also noticed in the Exchange Server Administrator program when you view the mailbox resources of the privateinformation store. The workaround to this problem is to log on to theExchange client and send an e-mail message to all mailboxes on that server. This creates mailbox objects in the information store for all mailboxes. (This step applies to Exchange 4.0, 5.0, 5.5, not to Exchange 2000)
Error MessagesThe following error message may be logged in the Exmerge.log:
Error configuring message service (MSEMS)This error message can be generated if there is no Directory object for a mailbox object that exists in the information store.
Check the Mailbox Resources page of the private information store in the Administrator program, and then verify that Directory Objects exists for the mailboxes listed in the Mailbox Resources. Directory objects can be created manually, or by using the DS/IS adjustment.
NOTE: Please make sure you understand the implications of running the DS/IS adjustment before you run it.
The following error may also be reported:
Error opening message store (MSEMS). Verify you have the correct permissions to log on.Make sure that you are logged on to Windows NT using an account that hasrights to the mailboxes you are trying to access using Exmerge.exe It maybe easiest to log on to Windows NT using the Exchange Service account.
If you receive the following error:
Error creating Message Service (MSPST MS)Make sure that Exchange client is installed on the computer thatExmerge.exe is running on.
After using the Exmerge utility to move a user's mailbox, any users usingoffline storage (OST) have to fully synchronize all folders. If thecontents of the mailbox are missing for any reason or have been lost, themessages may have to be restored from the OST. This involves addingpersonal folders (PSTs) to the profile, starting the client offline, andmanually moving messages from the OST to the PST then back to the mailbox.
For more information about restoring messages from an OST, click the following article number to view the article in the Microsoft Knowledge Base:
163589 Restoring from an OST after deleting the mailboxFor additional information, click the following article number to view the article in the Microsoft Knowledge Base:
273642 ExMerge does not work unless you have Receive As and Send As permissions on the store
Version InformationVersion 1.3 fixed a problem noticed when aliases longer than 18 charactersin length are encountered. The following error is logged:
Error creating MAPI profileVersion 1.4 added functionality to copy messages individually if theMAPI_W_PARTIAL_COMPLETION error is encountered. Added extra logging whenerrors are encountered during the message copy process.
Article ID: 174197 - Last Review: 12/04/2015 17:54:04 - Revision: 6.0
Microsoft Exchange Server 4.0 Standard Edition, Microsoft Exchange Server 5.0 Standard Edition, Microsoft Exchange Server 5.5 Standard Edition, Microsoft Exchange 2000 Server Standard Edition
- kbnosurvey kbarchive kberrmsg kbinfo KB174197