Tuesday, December 6, 2011

Manually transferring public folders from Exchange 2003 to 2010

Problem

You are in the process of migrating from Exchange 2003 to Exchange 2010 and noticed that using the Exchange 2010 supplied AddReplicaToPFRecursive.ps1 script does not appear to replicate all the public folders over to the new public folder store.

Solution

Note that this can be caused by various reasons such as corrupted items in your public folders, replication problems, etc.  One of the ways to get your public folders over is to actually manually export them to a pst file and then re-import them into the new public folder store.

Start off by identifying an account that has permissions to all of the public folders in the Exchange 2003 organization and locate the account’s store.

image

Open up the store’s properties and change the Default public folder database to point to the Exchange 2003 server:

image

Force replication once you’ve made the public folder store change by executing:

repadmin /syncall /AdeP

image

Review and ensure that there are no errors from the forced replication and open Outlook with the account that has full permissions to all of the folders in the Public Folders store: 

image

Proceed with exporting the public folders to a PST file.  In this example, we’ll be exporting one of the subfolders in the public folder store:

image 

image 

image 

image 

image 

Once the public folder has been exported, proceed with re-pointing the home server of the information store of the account you used to export the public folder back to Exchange 2010.  Force replication once again and proceed with re-importing the public folder PST into the same folder: 

image 

image

image

image 

image 

image

Once the PST has been re-imported, proceed with dismounting the information store you imported into:

image

image

… and to be absolutely sure the changes have been applied, you can also restart the Microsoft Exchange Information Store service:

image 

image

Once you’ve completed the steps above, you can issue the following command on the Exchange 2010 server to get an item count on the public folder store folder and compare it to the Exchange 2003 server’s public folder’s folder item count:

C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Get-publicfolderstatistics -ResultSize unlimited > c:\pfcount.txt

6 comments:

Guy Bachar said...

Great post.
you can also use ExFolders and PFDAVAdmin for migrating Public Folders permissions.

Terence Luk said...

Great comment Guy. I ended up using PFDAVAdmin to set the permissions. Awesome tool.

Active Directory Services said...

Hi all,

A PST file is a personal folder file in Microsoft Outlook. The PST file is part of each and every version of Microsoft outlook. Without this file, Outlook would give an error and shut down. Thanks for sharing it......

Marshal Hubs said...

HI,

Thanks for sharing informative article and command "repadmin /syncall /AdeP", which helps to transfer exchange 2003 public folder data to exchange 2010 by using Outlook pst file. But sometime exchange EDB file got corrupted during the manual conversion. So i would like to suggest a converter Stellar Phoenix EDB to PST, Software convert all edb file and folder data into Outlook PST file format without any loss of original data.

Annie said...

The tips and instructions presented for us are good and i like the style of post. There is outlook and other type of recovery software which do different tasks in different situation.
hard drive recovery

Robert Johnson said...

One of the most globally used edb to pst converter software which is used and recommended by most of technician. Easy to Use and perform conversion process with in few minutes. We recommended to use the free trial version first. In trial version you can see the preview of converted mailboxes.
http://www.recoverydeletedfiles.com/exchange-server-edb-recovery.html