Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Cannot delete stale public Folders in Exchange 2007??

Posted on 2009-07-09
8
Medium Priority
?
381 Views
Last Modified: 2012-05-07
I'm trying to remove a public folder database from one of my exchange 2007 servers but am unable to because there are two instances on the server.  I've removed the exchange server from all the replicas however there are two folders that are still in the database.  Is there a command that I can run to clear the copies in this servers local DB?

Name                                                                                                        ItemCount                    LastAccessTime
----                                                                                                                ---------                      --------------
StoreEvents{B0692785-9BBE-4932-B516-49C1 09FEB6EF0}                                0                              7/9/2009 12:00:55 PM

Office Directory                                                                                               201                          5/28/2009 10:25:58 PM
0
Comment
Question by:bigz71
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 40

Expert Comment

by:Subsun
ID: 24817447
Check the command for to move content in a tree of folders from one server to another
http://technet.microsoft.com/en-us/library/bb331970.aspx
0
 

Author Comment

by:bigz71
ID: 24817468
I do not want to move the contents to another server.  I want to delete it all since it is stale.
0
 
LVL 40

Expert Comment

by:Subsun
ID: 24818296
Use command Remove-PublicFolder -Identity "\My Public Folder" -Server "My Server"
0
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 

Author Comment

by:bigz71
ID: 24818377
If i run that command it deletes the actual public folder from the exchange environment and i don't want that.
0
 
LVL 40

Expert Comment

by:Subsun
ID: 24818530
Did you remove all replicas for this server PF DB?
When you dismount and delete this PF DB what is the exact error which you are getting?
0
 

Author Comment

by:bigz71
ID: 24818550
This is the error with the DB dismounted:

--------------------------------------------------------
Microsoft Exchange Error
--------------------------------------------------------
The public folder database 'Public Folder Store' cannot be deleted.

Public Folder Store
Failed
Error:
Exchange is unable to check the public folder replicas for "LUXEXCH1\First Storage Group\Public Folder Store". Verify the Microsoft Information Store service is running on luxexch1.noco.corp, and that the database is properly mounted.

MapiExceptionMdbOffline: Unable to determine if the store has local replicas (hr=0x80004005, ec=1142)


This is the error with the DB mounted:

--------------------------------------------------------
Microsoft Exchange Error
--------------------------------------------------------
The public folder database 'Public Folder Store' cannot be deleted.

Public Folder Store
Failed
Error:
The public folder database "LUXEXCH1\First Storage Group\Public Folder Store" 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.





0
 
LVL 40

Accepted Solution

by:
Subsun earned 2000 total points
ID: 24820299
User ADSIEDIT to remove it.
refer the part "To use ADSI Edit to remove the reference to the public folder store from Active Directory" from given article.
http://searchexchange.techtarget.com/tip/0,289483,sid43_gci1302366_mem1,00.html

In your case you need to select the Ex2007 admin group and the server where the PF is located.. then navigate to the PF store as explained in the article and delete it.
Note Take a system state backup before you do adsiedit.
ADSI.JPG
0
 
LVL 40

Expert Comment

by:Subsun
ID: 24820319

You need to remove the PF database manually.
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question