How do I remove and re-create public folder in Exchange 2010

We have a customer who has a public folder which is 96GB but only holds about 300MB of data. We have dismounted the public folder and run ESEUTIL a number of times but only managed to free up a few GB's.

We tried to create a new public folder but were unable to as it was saying one already exists. We copied the contents of the public folder out into a mailbox and tried to delete the public folder but were unable to as it said mailbox database is currently using it as the default public folder database. I have tried going into ADSI Edit as detailed here - http://exchangeserverpro.com/remove-default-public-folder-database-exchange-mailbox-database/ but did not work.

The server is Windows SBS 2011 Standard running Exchange 2010 14.03.0123.003.

What is the recommended way to delete and re-create a public folder in Exchange 2010?
mtxitAsked:
Who is Participating?
 
Gareth GudgerConnect With a Mentor Commented:
One way is to export all the contents to a PST file. The only drawback to this is that you lose all permissions and mail-enabled settings. So if you do that, document all permissions and mail-enabled settings first.

To delete the Public Folder, dismount it. Then rename the Public Folder EDB (or move it to a new location). Then mount it again in EMC.  Exchange will prompt that it can not find the EDB file and if it should create a blank database. Click Yes to do this.

Import you PST back and recreate and PF permissions and mail-enabled options you had previously.
0
 
AmitIT ArchitectCommented:
Best way is to add new Server with new PF DB. then replicate the data. PF is totally different from Mailbox database. It way more complex, you already ran eseutil and that is enough to get the max space. PF store lot of other system information apart from normal data. I highly suggest stop doing R&D on PF database, else be ready for lot of issues.
0
 
Satya PathakLead Technical ConsultantCommented:
try below KB it might be help you to remove a public folder

http://careexchange.in/how-to-remove-default-database-in-exchange-2010-in-a-recommended-way/
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
Satya PathakLead Technical ConsultantCommented:
0
 
mtxitAuthor Commented:
I've backed up the public folder, dismounted it, renamed it and then mounted it again. It then can't find the public folder and asks to create a blank one which I say yes to but then it comes up with an error saying it has failed to mount database 'xxxx'. Error: Couldn't mount the database that you specified. Specified database: xxx; Error code; An Active Manager operation failed. The database action failed. The mount operation is being prevented for database 'xxx' because its database file at xxx is missing, but still has transaction log files, with the highest generation number 0x22a4f.

How do I find where the transaction log files are? The folder that holds the public folder doesn't have any other files.
0
 
Gareth GudgerConnect With a Mentor Commented:
Yep. Looks like you need to move out old log files as well. These may be located in a similar place where your mailbox database logs files are located.

Open EMS and run the following command.

Get-MailboxDatabase | fl *log*

Open in new window

0
 
mtxitAuthor Commented:
Thanks Gareth, that's worked.
0
 
Gareth GudgerCommented:
Glad to help!
0
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.