Public Folder Replicas Prevent Uninstall Exchange 2007

When you try to uninstall Exchange 2007 from your server, you may receive some error messages which indicate that there is still some Public Folder on the machine thus meaning the uninstall process fails. We have received a lot of these issues recently. It is caused by the Exchange 2007 server containing some public folder replicas. We should remove the replicas as well as the public folder store before we can uninstall Exchange 2007 properly.

For the detailed steps to remove public folder replicas and the public folder store, please refer to the following article.

How to remove Exchange 2007 from a computer

https://support.microsoft.com/default.aspx?scid=kb;EN-US;927464

Comments

  • Anonymous
    January 01, 2003
    The comment has been removed

  • Anonymous
    July 11, 2007
    The KB only says how to move replicas to another server. Not remove them completely if you are permanently removing exchange.

  • Anonymous
    July 15, 2007
    Yep, this article only moves the replicas. Is there no way you can uninstall exchange??????

  • Anonymous
    July 20, 2007
    The comment has been removed

  • Anonymous
    August 02, 2007
    The comment has been removed

  • Anonymous
    August 07, 2007
    The comment has been removed

  • Anonymous
    August 24, 2007
    The comment has been removed

  • Anonymous
    October 03, 2007
    The comment has been removed

  • Anonymous
    December 06, 2007
    These commands finaly makes it happen to remove exchange 2007! Thanks! Just what I was looking for for a long time.

  • Anonymous
    February 25, 2008
    The comment has been removed

  • Anonymous
    February 26, 2008
    The comment has been removed

  • Anonymous
    June 13, 2008
    The comment has been removed

  • Anonymous
    July 22, 2008
    The comment has been removed

  • Anonymous
    August 11, 2008
    The comment has been removed

  • Anonymous
    August 13, 2008
    The comment has been removed

  • Anonymous
    August 29, 2008
    Do these steps only remove the Replicas on that one Public Folder server, or do these steps remove the folders from ALL Public Folder servers?

  • Anonymous
    September 05, 2008
    Just tried the commands listed and they remove the public folders and their content from all replicas not just the server being decomissioned! I know how to remove the server from the replica lists of the folders - that works fine and aftwer ~15 mins the folders are removed only from the server to be decomissioned. However what is left behind is the IPM_Sub_Tree folders - how do you deal with these? Isn't E2007 Fun!

  • Anonymous
    October 03, 2008
    Cool, I could uninstall my Exchange 2007 SP1 that was installed in Windows 2008. Thank you Gracias!!

  • Anonymous
    February 07, 2009
    THis works GREAT!  Just be patient and place all spaces, dashes and lowercase/Uppercase exactly

  • Anonymous
    February 11, 2009
    Hey thanks buddy... these scripts really works... removing exchange was really a overehead... Thanks a lot !!! Bye...  :)

  • Anonymous
    March 14, 2009
    I have the same issue listed above.  The scripts given, I believe, remove all public folders in the organization.  I am interested only in getting the system folders off one this one system so that I can remove the public folder store.  I don't want to harm any other servers.  Does anyone have a fix for that?

  • Anonymous
    September 28, 2010
    Caution:   The Remove-PublicFolder cmdlet will remove the public folder data from all servers in your organization. If you only want to remove data from one server, use the Set-PublicFolder –replicas command. For more information, see Set-PublicFolder.  

  • Anonymous
    October 06, 2010
    EricB, you're right that's exactly what's happening here too. every time we run these commands it completely delete all the public folders in the organization. then i had to use ExFolder to recover the folders. I've yet to find a true method to remove the replicas from only the Exchange 2007 machine. Please if anyone have more info, please share. Thanks

  • Anonymous
    October 08, 2010
    Like most of my posting, shortly after posting it, I found something that actually worked. It  required to delete something from ADSI EDIT. but worked like a charm.. telnetport25.wordpress.com/.../quick-tip-removing-exchange-2007-error-with-public-folder-replicas

  • Anonymous
    October 15, 2012
    Thanks! Took ages to find this but saved it somewhere safe. Cheers,

  • Anonymous
    January 29, 2013
    For those of you who do not want to remove the public folder but just want to remove the replica, you can do this using the Public Folder Management Console as explained here: technet.microsoft.com/.../bb691120(v=exchg.141).aspx

  • Anonymous
    May 16, 2013
    Excellent life saver .. thanks for the commands.

  • Anonymous
    October 15, 2013
    The comment has been removed

  • Anonymous
    July 10, 2014
    The comment has been removed

  • Anonymous
    September 28, 2014
    Awesome thanks for that worked a treat. :)

  • Anonymous
    January 04, 2015
    The comment has been removed

  • Anonymous
    February 12, 2015
    Genius, so simple after hours of trying to find a solution! Thankyou thankyou

  • Anonymous
    February 12, 2015
    The comment has been removed

  • Anonymous
    July 03, 2015
    The comment has been removed

  • Anonymous
    August 17, 2015
    The comment has been removed

  • Anonymous
    August 20, 2015
    Very helpful! Thanks for sharing!

  • Anonymous
    November 20, 2015
    Thanks for the info. Came in handy