none
Remove Exchange 2007 from AD (manually)

    Question

  • In the lab I had Exchange 2007 running and someone pulled my VM.  It's not the end of the world because I'm done with what I was doing in 2007 however I've got other things running in the lab and I'd rather not rebuild the domain.

    Does anyone know what the process would be to clean up AD (remove the Exchange org) without having the Exchange server to do an uninstall on?  Can I Install the Exchange admin console on another box and than remove the mail attributes from the accounts that has them and just remove the Exchange Systems Object container in AD or is there more?

    Erik

    Thursday, October 19, 2006 4:03 PM

Answers

  • I did run into one problem while trying to install RTM:

    Organization Preparation
    Failed

    Error:
    The well-known object entry B:32:A7D2016C83F003458132789EEB127B84:CN=Exchange Servers\0ADEL:e60b372e-cd97-4fc2-bc8f-907728f0bc8d,CN=Deleted Objects,DC=domain,DC=com of the otherWellKnownObjects attribute on container object CN=Configuration,DC=domain,DC=com points to an invalid DN or a deleted object.  Please remove the entry and rerun the task.

    I was able to resolve the issue by launching adsiedit.msc (part of the support tools) and going to the Configuration partion and bringng up the properties for Configuration,DC=domain,DC=com

    I edited the "othereWellKnownObjects" attribute to be "not set" (which it should be) by leaving it blank and clicking "add" (adding nothing) than applying the changes and re-running setup.

    Kudos to this thread for the fix:

    http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=839779&SiteID=17

    Cheers,

    Erik

    Tuesday, January 23, 2007 12:18 AM

All replies

  • Hi Erik,

    I couldn't find it in 2007 but 2003 had a removeorg switch ... maybe setup /m:uninstall does something similar? I can't try it right now though as my vm's are at work. As far as I know the removeorg just removed the Exchange System Object Container but I can't really give you a definative answer on 2007 as I'm only just getting around to playing with it properly.

    Now, maybe I'm just turning my answer into a question but if you've extended the schema with forestprep in 2003 did the removeorg switch undo that, I never checked ?

    Hopefully there's a bit of help for you in this answer somewhere and I'll let you know if that uninstall switch works for me

    Mark

    Tuesday, November 07, 2006 11:35 PM
  • Thanks Mark.

    For lack of a better solution I ended up removing the Exchange System Objects container.  I figured I could live with the schema extensions since I would be installing Ex 2007 again as soon as I can get my hands on the RTM bits, I guessing that if I'm going to run into a problem with an improper uninstall that would probably be the time symptoms will manifest.

    Good thing this is just my lab enviroment :)

    Let me know how your removal process goes.

    Erik

    Wednesday, November 08, 2006 3:37 PM
  • I'm also searching for how to remove it completely.
    I did the uninstall, but seems that I an error when I try to reinstall it...
    With the PrepareAD switch I get this error

    The well-known object entry B:32:A7D2016C83F003458132789EEB127B84:CN=Exchange Servers\0ADEL:55aededc-b582-4141-92c9-b8a9fa3957e1,CN=Deleted Objects,DC=hartbc,DC=be of the otherWellKnownObjects attribute on container object CN=Configuration,DC=hartbc,DC=be points to an invalid DN or a deleted object.  Please remove the entry and rerun the task.



    So I need also to find out, how to remove it completely.  I can't find nowhere in the register or file system for this entry what the error mentioned.

    Should I contact microsoft for this problem?
    Saturday, November 18, 2006 11:05 AM
  • I am having the same problem.

    Were you able to find a solution?

    Wednesday, December 20, 2006 5:41 PM
  •  Erik Szewczyk-MVP wrote:

    ...For lack of a better solution I ended up removing the Exchange System Objects container.  I figured I could live with the schema extensions since I would be installing Ex 2007 again as soon as I can get my hands on the RTM bits, I guessing that if I'm going to run into a problem with an improper uninstall that would probably be the time symptoms will manifest...

    That's what I did.  I just got my hands on the RTM bits and havent had a chance to install in the lab yet.

    Erik

    Thursday, December 21, 2006 12:36 AM
  • I did run into one problem while trying to install RTM:

    Organization Preparation
    Failed

    Error:
    The well-known object entry B:32:A7D2016C83F003458132789EEB127B84:CN=Exchange Servers\0ADEL:e60b372e-cd97-4fc2-bc8f-907728f0bc8d,CN=Deleted Objects,DC=domain,DC=com of the otherWellKnownObjects attribute on container object CN=Configuration,DC=domain,DC=com points to an invalid DN or a deleted object.  Please remove the entry and rerun the task.

    I was able to resolve the issue by launching adsiedit.msc (part of the support tools) and going to the Configuration partion and bringng up the properties for Configuration,DC=domain,DC=com

    I edited the "othereWellKnownObjects" attribute to be "not set" (which it should be) by leaving it blank and clicking "add" (adding nothing) than applying the changes and re-running setup.

    Kudos to this thread for the fix:

    http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=839779&SiteID=17

    Cheers,

    Erik

    Tuesday, January 23, 2007 12:18 AM
  • Dear Erik,

     

    When you did this, what effects did it cause when you brought the new exchange enviroment online? I have unfortanely did the same thing that has  happened and am getting ready to go live and see my old exchange 07 test server still in some of the enviroment. Will doing the above fix help? any help would be much appreciated.

     

    Wednesday, November 14, 2007 4:03 AM
  • It fixed the problem for me, I didnt have any issues after that (and the lab is still running today).

     

    Erik

     

    Wednesday, November 14, 2007 6:01 PM
  • Erik Szewczyk-MVP

     

    You are a dead set legend.

     

    Nick

    Tuesday, August 26, 2008 12:49 AM
  •  Bullfrog001 wrote:
    Erik Szewczyk-MVP

     

    You are a dead set legend.

     

    Nick

    Wow thanks for the plug!

     

    Erik

    Tuesday, August 26, 2008 10:01 PM
  •  

    Hi - I had a similar issue and what worked for me was by using ADSIedit and going into

    Configuration

    Services

    Microsoft Exchange

     

    and locating "OtherWellKnownObject" and setting to blank

     

     

    Pete

    Sunday, September 14, 2008 9:03 AM
  •  

    Performing Microsoft Exchange Server Prerequisite Check

    Organization Checks ......................... COMPLETED

    Configuring Microsoft Exchange Server

    Organization Preparation ......................... FAILED
    The well-known object entry B:32:A7D2016C83F003458132789EEB127B84:CN=Exchange Servers\0ADEL:55aededc-b582-4141-92c9-b8a9fa3957e1,CN=Deleted Objects,DC=hartbc,DC=be of the otherWellKnownObjects attribute on container object CN=Configuration,DC=hartbc,DC=be points to an invalid DN or a deleted object. Please remove the entry and rerun the task.

    Solutions (Remove Exchange 2007 from AD (manually))
    1、launching adsiedit.msc (part of the support tools) and going to the Configuration partion and bringng up the properties for Configuration,DC=domain,DC=com , edited the "othereWellKnownObjects" attribute to be "not set" (which it should be) by leaving it blank and clicking "add" (adding nothing) than applying the changes and re-running setup.

    2、if failed again, open CN=Services,delete CN=Microsoft Exchange,   Open CN=Extended-rights,Delete CN=ms-Exch-*   :)

    then,run setup  /ps  、setup /p [/on:<>]  、setup /preparealldomains again.

    Tuesday, February 10, 2009 4:21 AM
  • When I tried to modify the "othereWellKnownObjects" attribute on adsiedit, i cannot modify it, it says "there is no editor registered to handle this attribute type"..  i am using a windows 2008 sp2 domain , any ideas?
    Friday, September 11, 2009 2:31 AM
  • I did run into one problem while trying to install RTM:

    Organization Preparation
    Failed

    Error:
    The well-known object entry B:32:A7D2016C83F003458132789EEB127B84:CN=Exchange Servers\0ADEL:e60b372e-cd97-4fc2-bc8f-907728f0bc8d,CN=Deleted Objects,DC=domain,DC=com of the otherWellKnownObjects attribute on container object CN=Configuration,DC=domain,DC=com points to an invalid DN or a deleted object.  Please remove the entry and rerun the task.

    I was able to resolve the issue by launching adsiedit.msc (part of the support tools) and going to the Configuration partion and bringng up the properties for Configuration,DC=domain,DC=com

    I edited the "othereWellKnownObjects" attribute to be "not set" (which it should be) by leaving it blank and clicking "add" (adding nothing) than applying the changes and re-running setup.

    Kudos to this thread for the fix:

    http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=839779&SiteID=17

    Cheers,

    Erik

    otherWellKnownObjects is a multi-valued object.  You need to remove the bad value, NOT ALL OF THEM!!


    Mike Crowley | MVP
    My Blog -- Planet Technologies

    Friday, August 16, 2013 6:10 PM
  • Iam Also Getting the Same Error while iam upgrading My Exchange from 2010 to 2013 

    Error:
    The following error was generated when "$error.Clear(); 
    initialize-ExchangeUniversalGroups -DomainController $RoleDomainController -ActiveDirectorySplitPermissions $RoleActiveDirectorySplitPermissions

    " was run: "The well-known object entry B:32:B3DDC6BE2A3BE84B97EB2DCE9477E389:CN=Help Desk\0ADEL:99403f81-76c2-4773-8c1a-9a8cbec12ae7,CN=Deleted Objects,DC=ubgkw,DC=com on the otherWellKnownObjects attribute in the container object CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=ubgkw,DC=com points to an invalid DN or a deleted object.  Remove the entry, and then rerun the task.".

    Please help me..to resolve this issue i try to Edit the 

    Friday, March 07, 2014 8:14 AM