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.71- (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.

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...


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



RELATED CONTENT
Microsoft Exchange Server Public Folders
Backing up public folders on multiple Exchange servers
Displaying Exchange 2007 public folders in SharePoint
Synching public and private Exchange calendars
Prevent duplicate appointments in Microsoft Outlook 2003 calendar
Restore contacts from an Exchange public folder
Importing a public folder contact list into an Exchange 2007 public folder
Exchange Server public folder rules and memory limits
Editing Exchange Server public folder permissions
Search and index Microsoft Outlook 2007 public folders
Can't delete old Microsoft Outlook public folders

Microsoft Exchange Server 2007
Two ways to improve Exchange 2007 storage volume performance
How to install Forefront Security for Exchange Server
Displaying Exchange 2007 public folders in SharePoint
Don'ts for optimal Exchange 2007 mailbox server efficiency
Is your Exchange 2007 hub transport server healthy?
Top 5 Exchange ActiveSync tips
Two useful tools for documenting an Exchange Server installation
Controlling spam in Exchange 2007 at the edge transport server level
Restore Exchange storage groups with DPM 2007
How a hosted Exchange service can help you
Microsoft Exchange Server 2007 Research

Microsoft Exchange Server and Active Directory
Show hidden email addresses in a GAL on Exchange Server 2003
Remove Exchange 2003 objects from AD to install Exchange 2010
How DSAccess service improves Exchange Server 2007 reliability
Restoring user accounts and mailbox links in Active Directory
Changing email address formats in Exchange Server 2003
Restore contacts from an Exchange public folder
An introduction to the DSAccess service in Exchange Server 2007
Exchange users receiving email addressed to legacy users
Mailbox viewing problems after migrating to Exchange 2007
Installing Exchange Server 2003 and a domain controller on the same hardware
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


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.

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.

    [IMAGE]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.




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 technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




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