Did you follow every step here:
Remove Last Exchange 2010 - Cannot remove Public Folder (Folder replicas)
Need some help, im trying to remove the last exchange server on my org, but i got this error.
Uninstall cannot continue. Database 'PublicDB01': The public folder database "PublicDB01" 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.
I already try using the console to remove any replicas, and i only got the Internet Newsgroups. And the only replica is the local public database itself.
Try also the removereplicafrompfrecursive.ps1 and the moveallreplicas.ps1 without success. I want to remove it using the cleanest method, and not forcing it from the ADSI edit.
Any help is appreciated. Thank you