When trying to uninstall Exchange 2010 RC I ecounter this situation
Mailbox Role Prerequisites
Uninstall cannot continue. Database 'Public Folder Database 1166479595': The public folder database "Public Folder Database 1166479595" 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 http://go.microsoft.com/fwlink/?linkid=81409&clcid=0x409.Recommended Action: http://go.microsoft.com/fwlink/?linkid=30939&l=en&v=ExBPA.4&id=b6e3b32a-8848-46cb-9567-72288ac15f60When trying to use cmdlet to remove public folder replicas
I get the error:
"Multiple MAPI public folder trees were found".
What I did was opened ADSI Edit and went to
then in the details pane right clicked "CN=Public Folders" and changed parameter of "msExchPFTreeType" from "1" to "<not set>" (by choosing Edit and clicking Clear).
Then restarted Microsoft Exchange Information Store service and rerun cmdlets:
Ttried to uninstall Exchange server again. This time prerequisites passed and I uninstalled successfully.