Cannot remove public folder database

[This topic is intended to address a specific issue called out by the Exchange Server Analyzer Tool. You should apply it only to systems that have had the Exchange Server Analyzer Tool run against them and are experiencing that specific issue.
The Exchange Server Analyzer Tool, available as a free download, remotely collects configuration data from each server in the topology and automatically analyzes the data. The resulting report details important configuration issues, potential problems, and nondefault product settings. By following these recommendations, you can achieve better performance, scalability, reliability, and uptime.
For more information about the tool or to download the latest versions, see "Microsoft Exchange Analyzers" at http://go.microsoft.com/fwlink/?linkid=34707.]

Topic Last Modified: 2010-10-18

Microsoft® Exchange Server 2007 Setup cannot continue because the Uninstall Mailbox Server role process cannot remove the public folder database from the local server without potential data loss.

Exchange 2007 Setup requires that the public folder database be removed from the server before the Mailbox Server role is removed.

Public folder replicas might remain on the server, or the public folder database might be the last in the Exchange organization.

To resolve this issue, move or delete the public folder database on the server, and then rerun Exchange Server 2007 Setup.

For more information about how to remove public folder databases from a Mailbox server, see the "Remove a public folder database from a Mailbox server" section in How to Remove a Public Folder Database.