When trying to uninstall Exchange 2010 RC I ecounter this situation
Mailbox Role Prerequisites
Failed
Error:
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-72288ac15f60
When trying to use cmdlet to remove public folder replicasGet-PublicFolder -Server
I get the error:
"Multiple MAPI public folder trees were found".
What I did was opened ADSI Edit and went to
Configuration [
CN=Configuration,DC=contoso,DC=com
CN=Services
CN=Microsoft Exchange
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:
Get-PublicFolder -Server
and
Get-PublicFolder -Server
Ttried to uninstall Exchange server again. This time prerequisites passed and I uninstalled successfully.
Links: http://msexchangeteam.com/archive/2007/07/09/445967.aspx