Home > Microsoft Exchange Tips > Exchange Server Administration Tips > Remove Exchange 2007 public folder stores from a Mailbox Server role
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SERVER ADMINISTRATION TIPS

Remove Exchange 2007 public folder stores from a Mailbox Server role


Brien Posey
02.26.2008
Rating: -4.00- (out of 5)


Exchange Server tips, tutorials and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


When trying to uninstall the Mailbox Server role after installing Exchange Server 2007 Service Pack 1 (SP1), Exchange MVP Brien Posey encountered a bug that prohibits removing a Mailbox Server role if it contains public folder stores. In this tip, he explains a workaround that uses ADSI Edit to change an Active Directory database and remove public folder stores from the Mailbox Server role.
As noted in a previous tutorial, uninstalling Exchange 2007 and individual server roles can be quite involved. I recently encountered another serious uninstallation issue that I didn't cover in the original tutorial.

When I attempted to install Exchange Server 2007 Service Pack 1 (SP1) beta on my lab server, the installation failed and blocked me from trying again. Initially, I wasn't too concerned since this occurred on a lab server. But when I tried to install the final release of SP1 onto the server, the installation was blocked because of the previous failure.

VIEW MEMBER FEEDACK TO THIS EXCHANGE SERVER TIP
Because I was working on a lab system, I uninstalled and then reinstalled Exchange Server 2007, and then applied the service pack. This is when I discovered that there's a bug in Exchange Server 2007 that makes it difficult to uninstall the Mailbox Server role if the server contains a public folder store. The installation process checks that the store is empty before it uninstalls the Mailbox Server role. Unfortunately, because it can be impossible to remove system folders from the public folder store, an installation process also isn't possible.

This is a common issue; possible solutions involve things such as moving public folder replicas to a different server, or using various Exchange Management Shell commands to delete a public folder store's contents manually. But none of these solutions have worked for me -- or many other Exchange administrators, it seems.

More Exchange 2007 server role resources:
Tutorial: How to uninstall Exchange Server 2007 and individual server roles

Tutorial: A primer on Exchange 2007 server roles

Step-by-Step Guide: Test driving Exchange Server 2007

I have found that using ADSI Edit can correct the problem. ADSI Edit is a Windows tool that lets you change an Active Directory database manually. But be careful -- making a mistake in ADSI Edit is very serious, and can possibly destroy the entire Active Directory or your Exchange Server organization. It's best to back up all your Exchange servers and domain controllers before working with ADSI Edit.

NOTE: ADSI Edit isn't installed by default; it's part of Windows Support Tools. You will need to install it to continue. To do so, insert your Windows Server installation CD and navigate to the \SUPPORT\TOOLS folder. Double click on the SUPTOOLS.MSI file to install the Windows Support Tools. When the installation process completes, go to C:\Program Files\Support Tools and launch ADSI Edit.

To use ADSI Edit to remove the reference to the public folder store from Active Directory:

  1. Verify that the public folder store doesn't contain any data that you must save.
  2. Open the Exchange Management Console and dismount the public folder store.
  3. Once the store is dismounted, close the Exchange Management Console.
  4. Open ADSI and navigate through the console tree to:

    Configuration -> Configuration -> Services -> Microsoft Exchange -> your Exchange organization -> Administrative Groups -> the Exchange 2007 administrative group -> Servers -> the server containing the store that you want to delete -> Information Store -> the storage group containing the store that you want to delete

  5. Figure 1 shows the location of ADSI Edit. Verify that you have gone to the correct location.

    Exchange Server 2007 ADSI Edit Figure 1. Use ADSI Edit to locate the store that you want to remove.

  6. The right-hand column should list the public folder store located in the selected storage group. Right click on public folder database and choose Delete from the menu.
  7. When asked if you want to delete the object, click Yes.
  8. When the store's reference has been deleted, close ADSI Edit.

About the author: Brien M. Posey, MCSE, is a four-time recipient of Microsoft's Most Valuable Professional Award for his work with Windows Server, Internet Information Server (IIS) and Exchange Server. Brien has served as CIO for a nationwide chain of hospitals and healthcare facilities, and was once a network administrator for Fort Knox. You can visit Brien's personal web site at www.brienposey.com.

MEMBER FEEDBACK TO THIS TIP

This is a great tip for removing the public folders from Exchange Server2007! When I first tried using the Exchange Management Shell, I followed the commands word for word and it failed every time. Thanks for making that part much easier!
—Mark P.

Do you have comments on this tip? Let us know.

Please let others know how useful this tip was via the rating scale below. Do you know a helpful Exchange Server, Microsoft Outlook or SharePoint tip, timesaver or workaround? Email the editors to talk about writing for SearchExchange.com.

Rate this Tip
To rate tips, you must be a member of SearchExchange.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Microsoft Exchange Server Public Folders
Editing Exchange Server public folder permissions
Search and index Microsoft Outlook 2007 public folders
Can't delete old Microsoft Outlook public folders
Sharing a user's Outlook calendar with a public folder calendar
Why can't I grant users permissions to an Exchange public folder?
Can I prevent users from deleting voice messages from a UM folder?
Move public folder data from Exchange Server to a local share
Finding the best tool to migrate Exchange public folders to SharePoint
Exchange public folder calendar can't be opened in Microsoft Outlook
Methods for moving mailboxes and public folders to Exchange 2007

Microsoft Exchange Server 2007
Benefits of backing up Exchange Server with Microsoft's DPM 2007
Creating and configuring Exchange Server 2007 mailboxes
How to configure Exchange Server 2007 mailboxes
Setting up Exchange Server 2007 contacts
How to create and configure Exchange Server 2007 distribution groups
Deleting and reconnecting Exchange Server 2007 mailboxes
Creating mail users in Exchange Server 2007
Creating and managing recipients in Exchange Server 2007
Managing Exchange Server 2007 address lists
Exchange Server 2007 replication and database transaction basics
Microsoft Exchange Server 2007 Research

Microsoft Exchange Server and Active Directory
Deployment tool errors during a migration from Exchange 5.5 to Exchange 2003
Can't create mailboxes after virtualizing Microsoft Exchange Server
Tools to bulk modify Active Directory users in Exchange Server 2003
Email sent to a PDA doesn't get saved in Exchange Server mailbox
How to verify Exchange Server email forwarding
A network connection problem or an offline server prevented delivery of the message
Create Exchange user and mailbox accounts on a Windows 2000 PDC
Error 1053: Exchange System Attendant service could not start
Forward Exchange Server email to an ISP using Active Directory
Using the Active Directory Migration Tool in a large environment
Microsoft Exchange Server and Active Directory Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
public folder  (SearchExchange.com)
rehoming  (SearchExchange.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Email Server Solutions: Exchange 2007, Exchange 2003, Exchange 2000, SharePoint
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2004 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts