Exmerge is a very usefull tool that can import PST files back into your Exchange Server Information Stores. Here is a tutorial from our Exchange Engineer John Best on how to use ExMerge.
Using ExMerge to import PST files
1. Place all of the PST files that you want imported into a single Folder
2. Make sure the Exchange Information Service is started
3. You need to make sure the account you are logged in with is an administrative account and you need to grant this account the appropriate permissions to read the Exchange Mailboxes. (By default, all administrative accounts are denied permission.) You can assign the correct permissions by following the steps below:
a. Create a Windows Security Group, and name it something such as “Exchange Recovery Administrators”.
b. Add the Windows account you are using to run ExMerge to this group. This account should already be an Exchange administrator account and have local administrator permissions on the Exchange server(s) involved in the mailbox merge process.
c. In Exchange System Manager, locate the target database and open its Properties dialog box. On the Security tab, add the Exchange Recovery Administrators group and grant this group Full Control permissions on the database.
d. It may be necessary to wait up to 15 minutes for the permissions granted to take effect. Alternatively, you can reset cached permissions by stopping and restarting all Exchange services, the IIS Admin Service, and the Windows Management services. Because of this latency, you should grant necessary permissions as soon as you know you will need them, not just before you need to use them.
4. Copy the files Exmerge.exe and Exmerge.ini to your Exchange Bin directory. (Default is C:Program FilesExchsrvrBin for Exchange 2000 and 2003)
5. Run Exmerge.exe
6. Click Next on the Welcome screen
7. At Procedure Selection, choose Extract or Import (Two Step Procedure) and click Next
8. Choose Step 2: Import data and click Next
9. On the Destination Server page, enter the name of your exchange server. You may also enter additional options by clicking on the options button:
a. On the Import Procedure tab, you have your choice of:
1. Copy (will copy even duplicates without checking)
2. Merge (will check for duplicates before copying)
3. Replace (will overwrite duplicates with data from the PST)
b. On the Folders tab you can choose folders to skip (deleted items, etc…)
c. On the Dates tab you can choose messages that meet a date range
10. After entering the server name and any options, click Next
11. Mailbox Selection – here you can choose the mailboxes to import, if you select all, any mailboxes that a PST does not exist for will be skipped.
John Best, the alias name is Jbest. When I recovered the mailbox, the PST file was namedJohn Best.pst, so was initially skipped by Exmerge. I had to change the PST file name to Jbest.pst and run Exmerge a second time.
13. On the Locale Selection, leave the default (English), unless necessary to change it and click Next
14. Target Directory – Browse to the folder containing your PST files and click Next
15. Save Settings – if you choose, you may save the settings into an Exmerge.ini file for use at a latter time
16. After clicking Next, Exmerge will run through the process of importing data, utilizing several threads. After it is finished, click the Finish button
17. Check the logs (from the same directory Exmerge was run from) named Exmerge.log and ExMerge-(Thread[n]).log for any errors encountered during the process.
18. The errors most often encountered are:
a. [14:25:53] (Thread1)Errors encountered. Copy process aborted for mailbox (This is a standard error message that points you to the particular Thread(n).log file to view what actually happened.
b. [14:25:53] Error. File ‘E:EXTESTUSERNAME.PST’ not found. Cannot merge data into mailbox for user ‘USER NAME’ (‘USERNAME‘). – This basically tells us a PST file was not found for the particular mailbox. This can be due to Exmerge looking for ALIAS.pst and the file being named USERNAME.pstc. [14:28:52] Error opening message store (MSEMS). Verify that the Microsoft Exchange Information Store service is running and that you have the correct permissions to log on. (0x8004011d) – This error is normally due to the account not having the appropriate permissions necessary for Exmerge to open the mailbox. Follow the steps from number 3 in this document to assign the correct permissions.
19. Further Information on ExMerge:
a. Download: http://www.microsoft.com/downloads/details.aspx?FamilyID=429163ec-dcdf-47dc-96da-1c12d67327d5&DisplayLang=en
c. ExMerge Strategies and Best Practices: http://technet.microsoft.com/en-us/library/51cd78ab-49c4-4d90-9aa4-29dca171cd31.aspx
d. Troubleshooting ExMerge issues: http://technet.microsoft.com/en-us/library/bb124178.aspx
e. ExMerge is your Friend: http://msexchangeteam.com/archive/2004/07/01/171051.aspx
For Help with Exchange Server Data Recovery call DTI Data 1-866-438-6932