Removing Public Folder Database from Exchange 2010

Muhajreen used Ask the Experts™
Hello experts,

We have only one Exchange 2003 server in our organization.

I have tried to setup a new Exchange 2010 server in coexistence with 2003, but failed for some reason. I didn't move any mailbox from 2003 to 2010.

Finally, I will remove Exchange 2010 and start again from begining using some good guides which I have got.

I have removed the mailbox database.

Now I am trying to remove the Public Folder Database, but getting this error:

Microsoft Exchange Error
The public folder database 'Public Folder Database' cannot be deleted.

Public Folder Database
The public folder database "Public Folder Database" contains folder replicas. Before deleting the public folder database, remove the folders or move the replicas to another public folder database. For detailed instructions about how to remove a public folder database, see

Any help removing it?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®


Note that I have never used Public Folders before and don't need it. (except if it will be required later by 2010 OWA)


Thank you.

[PS] C:\Windows\system32>Get-PublicFolder \ -Recurse | ft name,parentpath,replicas

Name                                    ParentPath                              Replicas
----                                    ----------                              --------
IPM_SUBTREE                                                                     {}
Internet Newsgroups                     \                                       {OldExchange\First Storage Group\Public Folder Store (OldExchange)}

Shall I delete it using Exchange 2003 System Manager? Is it safe to do so?
yeah, if your not going to be using public folders, then you have no need for the replicas so I would say that it is safe to remove
Top Expert 2011
you could also use the RemoveReplicaFromPFRecursive.ps1 command to remove all replica's from one server at once.

RemoveReplicaFromPFRecursive.ps1 – this script will remove a server from the list of replicas for a folder and its subfolders.  A server must have all of its public folder replicas removed before it can be decommissioned.

For example, to remove EXCH02 as a replica for all public folders on EXCH01 starting at the root folder you would run this command.

RemoveReplicaFromPFRecursive.ps1 –Server EXCH01 –TopPublicFolder \ –ServerToRemove EXCH02

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial