Exchange 2007 Public folders removal

Migrating to Exchange 2010 hosting all 3 roles from 2007 single box also holding all roles. In process of moving mailboxes over. I am trying to remove public folders from the 2007 box as we no longer have any clients older than 2007. When I try to remove the public folder database I get a message saying "The public folder database contains folder replicas".

When I run  Get-PublicFolderStatistics

[PS] C:\Windows\System32>Get-PublicFolderStatistics

Name                                     ItemCount               LastAccessTime
----                                     ---------               --------------
EX:/o=Company Name/ou=Exchange Ad 0                  1/3/2013 8:13:15 AM
ministrative Group (FYDIBOHF23SPDLT)
StoreEvents{EA9DB63F-1D06-40D8-A183-BF5A 0                  1/3/2013 8:13:15 AM

It will not let me delete these 2 items, as I believe is necessary to removing the public folder database.
Who is Participating?
Manpreet SIngh KhatraConnect With a Mentor Solutions Architect, Project LeadCommented:
Delete the PF Store manually using ADSIEDIT ?

- Rancy
schilsteAuthor Commented:
When I go to ADSI edit I see the

CN=Second Storage Group
     CN=Public Folder Database

There is nothing under the public folder database container. Do I delete the "Public Folder Database"?


When I go to my Exchange 2010 Server and click on any of the mailbox databases, it lists
2007server\second storage group\public folder database

It will let me browse for another public folder, but as stated, I don't want to use public folders. Will deleting the entry in ADSI remove this entry?
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Yes delete the entry "CN=Second Storage Group" or "CN=Public Folder Database" and simply restart the IS service on  the server

- Rancy
schilsteConnect With a Mentor Author Commented:
I was able to solve by going to the public management console and removing replication on any remaining items. I reran the remove command within the 2007 console. I then received the error that it could not be deleted because it was created with a newer version of exchange.
From Exchange 2010 Shell

Get-PublicFolderDatabase –Server YOUREXCHANGE2007SERVERNAME (this is just security measure not to delete some other database)
If Public Folder Database name is correct than run

Get-PublicFolderDatabase –Server YOUREXCHANGE2007SERVERNAME | Remove-PublicFolderDatabase
schilsteAuthor Commented:
I believe both ways would have worked. My comment worked for me.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.