Cannot delete exchange 2010 public folder database - Exchange thinks there are replicas that aren't there.

I have an Exchange 2010 Public Folder database which I can't seem to remove.  When I issue the remove command, I get:
Microsoft Exchange Error
The public folder database 'PublicFoldersOnEx2010' cannot be deleted.

The public folder database "PublicFoldersOnEx2010" 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

I followed the link but that doesn't fix the issue.  I've checked the replication data in the ExFolder application and the server in question does not show up at all.    If I do Get-PublicFolderStatistics I do get a short list of folders (out of thousands in the PF), all with zero items as the results.  If I manually go to those folders in the Public Folder Admin Tool the Server does not show up there in the replication list.  There's nothing in the Msg Queue related to public folder updates.  Is there a way to "force" a removal?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Satya PathakLead Technical ConsultantCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RobertSeattleAuthor Commented:
Your solution is "close" - but it needs to be updated for the Exchange 2010 changes to the schema.  But it gave me what I needed to fix the problem.  Always frustrated when one has to resort to "ADSIEDIT" to fix things.
RobertSeattleAuthor Commented:
Solution just needs to be updated for the schema changes in Exchange 2010 - databases now instead of the storage groups.

I had gotten another solution, if you want to remove the public folder database and are seeing error because it still has replicas...

I had removed all replicas but the

get-publicfolderstatistics -server ServerName returrned about 10 folders.

I dismounted the public folder database , then moved the edb and logs to another location.

Mounted the database ... said yes to the prompt to mount as empty.

Then was able to remove the public folder database without having to touch AD.


Good one markpalinux.  That helped a lot.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.