Exchange Server Tools: Use ExMerge To Import PST Files

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 Files\Exchsrvr\Bin 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.

12.  

NOTE:  ExMerge will look for a PST file that matches a naming convention of “Alias Name”.PST, when a recovery is performed the Alias name is unknown to DTI Data, so the PST files will be named “Display Name”.PST, which may match your organizations Alias or it may not.  If it does not match what is listed as the alias for a user, Exmerge will skip that mailbox.  You will see in the log files if a mailbox is skipped because of a PST not being found.  It may be necessary to rename the PST files prior to running Exmerge.  For example, on my server here, my mailbox name is

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:\EXTEST\USERNAME.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
b.       Documentation:
1.       http://support.microsoft.com/kb/174197
2.       http://support.microsoft.com/kb/265441
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

Comments

  1. Senzo Selepe says:

    Very helpfull, a dummie like me can understand it easy.

  2. Love exmerge only issue I have seen if the PST exceeds 2 gig per user it freezes and can crash server by writing to log file over and over

  3. Paul Gregg says:

    Just a quick note, I had to right click and ‘run as’ for step 5 before it worked.

    Hope this helps someone!

    Paul.

  4. Thanks Paul!

  5. Worked really well – thank you! Kate C

  6. Hi I am using exchange server 2007 & i want to used exmearge.exe utility so pla…tell me how to used that.

  7. I read this article completely regarding the difference of
    latest and previous technologies, it’s awesome article.

  8. Very nice post. I just stumbled upon your weblog and wanted to say that I’ve really enjoyed surfing around your blog posts. After all I’ll be subscribing to your rss feed and I hope you write again very soon!

Trackbacks

  1. EXMerge « GRH Development Technicians’ Blog says:

    [...] Exchange Server Tools: Use ExMerge to Import PST Files [...]

  2. EXMerge « BlackwellsTake says:

    [...] Exchange Server Tools: Use ExMerge to Import PST Files [...]

  3. [...] bron: http://www.dtidata.com/resourcecenter/2007/05/11/exchange-server-tools-use-exmerge-import-pst-files/ [...]

Speak Your Mind