locked
Uninstall exchange 2010 RRS feed

  • Question

  • I need to remove the Exchange 2010 Mailbox role from my server.
    Ran the setup.com /m:uninstall and the uninstall process fails with the following message:
    ------------------------------------
        Mailbox Role Checks              ......................... FAILED
         Uninstall cannot continue. Database 'Mailbox Database 0652571616': This mai
    lbox database contains one or more mailboxes or arbitration mailboxes. To get a
    list of all mailboxes in this database, run the command Get-Mailbox -Database <D
    atabase ID>. To get a list of all arbitration mailboxes in this database, run th
    e command Get-Mailbox -Database <Database ID> -Arbitration. To disable a non-arb
    itration mailbox so that you can delete the mailbox database, run the command Di
    sable-Mailbox <Mailbox ID>. Arbitration mailboxes should be moved to another ser
    ver; run the command Move-Mailbox <Mailbox ID> -Arbitration -TargetDatabase <Dat
    abase ID>.  To remove the arbitration mailbox if this is the last server in the
    organization, run the command Remove-Mailbox <Mailbox ID> -Arbitration -RemoveLa
    stArbitrationMailboxAllowed.

         Uninstall cannot continue. Database 'Public Folder Database 1650533127': Th
    e public folder database "Public Folder Database 1650533127" contains the follow
    ing offline address book(s):
    \Default Offline Address Book
    . Before you can delete the public folder database, you must  change the OAB dis
    tribution mentod to Web-based distribution.

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

    The Exchange Server setup operation did not complete. Visit http://support.micro
    soft.com and enter the Error ID to find more information.

    Exchange Server setup encountered an error.
    -----------------------------------------------------------------

    I ran the "get-mailbox -arbitration | fl name, identity"
    Got the Identity and ran the following  remove-mailbox ... commands but I am running into Active Directory issues.
    What should I do  to remove the software from my system?
    ---------------------
    Name     : SystemMailbox{1f05a927-3be2-4fb9-aa03-b59fe3b56f4c}
    Identity : Calidco.Net/Users/SystemMailbox{1f05a927-3be2-4fb9-aa03-b59fe3b56f4c}

    Name     : SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9}
    Identity : Calidco.Net/Users/SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9
               }


    remove-mailbox -identity "Calidco.Net/Users/SystemMailbox{1f05a927-3be2-4fb9-aa03-b59fe3b56f4c}" -arbitration -RemoveLastArbitrationMailboxAllowed
    remove-mailbox -identity "Calidco.Net/Users/SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9}" -arbitration -RemoveLastArbitrationMailboxAllowed


    [PS] C:\Windows\System32>remove-mailbox -identity "Calidco.Net/Users/SystemMailb
    ox{1f05a927-3be2-4fb9-aa03-b59fe3b56f4c}" -arbitration

    Confirm
    Are you sure you want to perform this action?
    Removing the Mailbox
    "Calidco.Net/Users/SystemMailbox{1f05a927-3be2-4fb9-aa03-b59fe3b56f4c}" will
    remove the Windows user object and mark the mailbox in the database for
    removal.
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"): y
    Invoke-Command : Active Directory operation failed on WIN-S47RNBO387P.Calidco.N
    et. This error is not retriable. Additional information: Access is denied.
    Active directory response: 00000005: SecErr: DSID-03152374, problem 4003 (INSUF
    F_ACCESS_RIGHTS), data 0
    At C:\Users\administrator.CALIDCO\AppData\Local\Temp\tmp_caa4500c-63c4-4c52-9d8
    4-ee4b77bb7374_j13xcxe1.ksu\tmp_caa4500c-63c4-4c52-9d84-ee4b77bb7374_j13xcxe1.k
    su.psm1:19131 char:25
    +         $scriptCmd = { & <<<<  $script:InvokeCommand `
        + CategoryInfo          : NotSpecified: (0:Int32) [Remove-Mailbox], ADOper
       ationException
        + FullyQualifiedErrorId : CE37EEEE,Microsoft.Exchange.Management.Recipient
       Tasks.RemoveMailbox
    -------------------------------------------------------------------------

    Thanks

    Jay


    jaytaba@hotmail.com
    Wednesday, August 19, 2009 7:06 AM

Answers

  • This is known issue with older bits of E2010, try deleting arbitration mailboxes directly through ADSIEdit.msc and go for unistallation...

    Amit Tank | MVP – Exchange Server | MCITP: EMA | MCSA: M | http://ExchangeShare.WordPress.com

    • Marked as answer by jaytaba Wednesday, August 19, 2009 3:24 PM
    Wednesday, August 19, 2009 7:21 AM

All replies

  • This is known issue with older bits of E2010, try deleting arbitration mailboxes directly through ADSIEdit.msc and go for unistallation...

    Amit Tank | MVP – Exchange Server | MCITP: EMA | MCSA: M | http://ExchangeShare.WordPress.com

    • Marked as answer by jaytaba Wednesday, August 19, 2009 3:24 PM
    Wednesday, August 19, 2009 7:21 AM
  • Thanks Amit, it worked.
    I downloaded the E2010 only about two weeks ago (August 3rd) , so I don't know if there are any newer versions out there.

    Jay
    jaytaba@hotmail.com
    Wednesday, August 19, 2009 3:24 PM
  • Exchange 2010 RC released yesterday, find info @ http://msexchangeteam.com/archive/2009/08/17/451974.aspx


    Enjoy full featured version of Exchange 2010! :)

    Amit Tank | MVP – Exchange Server | MCITP: EMA | MCSA: M | http://ExchangeShare.WordPress.com

    Wednesday, August 19, 2009 3:37 PM
  • Where can i find those objects in ADSI Edit console?

    thanks!!
    Saturday, November 21, 2009 5:30 PM
  • While in ADSI Edit.msc console, from the ADSI Edit root, right click and connect to "Configuration" Store. You can then dig & drill to find the arbitration mailboxes. 

    Jay
    jaytaba@hotmail.com
    Monday, November 23, 2009 5:50 AM
  • Amit,

    Thank you very much!  Removing the Mailboxes through ADSIEdit.MSC worked for me as the Information Store Service would not start meaning the database could not be contacted.

    Ray
    Sunday, January 24, 2010 5:10 PM
  • Try this,

    http://www.docstoc.com/docs/26805161/Uninstall_Exchange_2010
    Clement Rosario
    Saturday, February 27, 2010 9:52 AM
  • Hi,

    Exchange 2010 Manual Un-Installation is UN-SUPPORTED.

    The Best way to Remove Exchange 2010 is Uninstall it from Add/Remove Programs.

    You may try the following article.


    This will COMPLETELY REMOVE ALL Exchange related objects from Organization Completely.

    As It will Remove all Exchange Related Active directory Objects , None of the Exchange related stuff will work after you complete the following Manual Un-Installation.

    Please don’t follow in case you have any working exchange server ( 2000,2003,2007 or 2010) in your Organization.

    Ref to:
    How to Manually Uninstall Last Exchange 2010 Server from Organization

    All the Best :)

    Sathish Kumar Elango | MCSE 2003 & MCSA Messaging | http://msexchangehelp.wordpress.com
    Sunday, February 28, 2010 5:39 AM
  • I have deleted the arbitration mailbox in adsiedit, but my uninstall is still failing with the same error, is there more then one instance of the arbitration mailbox, can you tell me exactly where to find it?

    AM
    • Proposed as answer by Arun Khatri Sunday, January 2, 2011 6:25 AM
    Friday, April 23, 2010 2:08 PM
  • Deleting the arbitration mailboxes and the public folder mailboxes through ADSIEdit worked for me. Thanks for the information.

    Rheomano

    • Proposed as answer by VI123 Thursday, June 14, 2012 9:12 AM
    • Unproposed as answer by VI123 Thursday, June 14, 2012 9:12 AM
    Thursday, September 16, 2010 1:44 PM
  • As a rookie, would you please elaborate as to where to find these entries for the arbitration mailboxes? Thank you.
    Wednesday, December 15, 2010 3:14 PM
  • on the powershell type Get-Mailbox -database "database name" -Arbitration This will list the arbitration mailboxes,go to adsiedit, expand users, there you will see the mailboxes you just discovered from powershell, delete it from there.
    Tuesday, January 4, 2011 12:47 PM
  • Check this: http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/f19001bf-b6af-4b63-b8d6-1203bf76b7c3/

     

    Wednesday, February 16, 2011 10:45 PM
  • I don't think the developers still are in contact with real life. There allways is a chance that something happens that makes a normal uninstallation impossible. I just had one case where a server got lost completely. Since the remaining organisation is fully capable of handling the actual mailboxes there is no founds to buy a machine just to do a recovery out of AD only to uninstall the server afterwards. Why is it som difficult to ready a tool (PowerShell command) just to clean AD from a lost server? Even if we had the hardware for the recovery it would be incredible lot of work for nearly nothing.

    Monday, March 14, 2011 12:55 PM

  • While in ADSI Edit.msc console, from the ADSI Edit root, right click and connect to "Configuration" Store. You can then dig & drill to find the arbitration mailboxes. 

    Jay
    jaytaba@hotmail.com
    Hello,

    I need more information on what to do in asciedit.msc in order to delete the following mailboxes. I can't make sense of what I see in that app.

    Following are the ones that I need to delete, in order to be able to uninstall Exchange 2010 SP1;

    [PS] C:\Windows\system32>Get-Mailbox -Database "mailbox database 0881436060" -Arbitration| fl name, identity | ft -wrap
    -auto

    Name     : SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9}
    Identity : domain.com.us/Users/SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9}

    Name     : FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042
    Identity : domain.com.us/Users/FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042

     

    Please help

    Monday, May 2, 2011 11:22 AM
  • Page not found
    Friday, July 1, 2011 12:37 AM
  • Page not found

    Friday, July 1, 2011 12:38 AM
  • Format C: worked for me.

    Time to install all those darn prerequisites they just can't seem to include in the install as well as 2 days worth of patches etc to the O/S. Oh well, spent 4 days on the install and unistall as since I installed the program onto my D: RAID and it didn't work and caused some WSMan error.

    Friday, July 1, 2011 12:45 AM
  • The removal of the arbitration mailboxes is actually done in the "Default Naming Context" portion of ADSIEDIT.  Just drill to the OU that your particular objects are located and you'll find them there.  In your case they are in the default "Users" OU.
    Jeff Shaffer
    Saturday, January 21, 2012 5:57 PM
  • I was in stuck in terminating Exchange Server 2010 in one box as a test. As you definitely know, I also failed to uninstall it by using Exchange Server Uninstallation Wizard at appwiz.cpl. This situation was repeated and was really hard time. Finally, I could succeed uninstall it by using setup wizard AFTER DOING THIS STEP BELOW:

    1. Start adsiedit.msc
    2. Go to [Configuration | Services | MicrosoftExchange | <Your Organization> | Administrative Group | Exchange Administrative Group | Databases]
    3. Remove the database you currently use

     Hope it will help you guys....
    • Proposed as answer by Crenor Friday, April 20, 2012 7:02 PM
    Friday, April 20, 2012 1:47 AM
  • document already has been deleted!
    Friday, May 25, 2012 2:38 PM
  • This one does it.. many thank JinHo
    Friday, July 27, 2012 8:03 AM
  • Following are the ones that I need to delete, in order to be able to uninstall Exchange 2010 SP1;

    [PS] C:\Windows\system32>Get-Mailbox -Database "mailbox database 0881436060" -Arbitration| fl name, identity | ft -wrap
    -auto

    Name     : SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9}
    Identity : domain.com.us/Users/SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9}

    Name     : FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042
    Identity : domain.com.us/Users/FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042

     

    Please help

    These 2 did not come up for me in the database query probably because the install failed at about 80%.  However the entries were there and had to be removed.  Look for SystemMailbox and FederatedEmail.
    Tuesday, October 9, 2012 1:14 PM
  • on the powershell type Get-Mailbox -database "database name" -Arbitration This will list the arbitration mailboxes,go to adsiedit, expand users, there you will see the mailboxes you just discovered from powershell, delete it from there.

    This is close, but you dont't need ADSIEDIT.EXE

    Just lunch powershell end execute script

    $AllMBX = Get-Mailbox -Database "Mailbox Database 1948643635" -Arbitration | Select Name, Database 
    $AllMBX | ForEach { Disable-Mailbox $_.Name -Arbitration -DisableLastArbitrationMailBoxAllowed }

    5-minutes ago completely deleted Exchange 2010 SP2 from AD, because Exchange 2013 don't install before Exchange 2010 updated to SP3

    Mailbox role won't uninstall before I deleted completely arbitration mailboxes. 


    • Edited by Vladimir_HmH Tuesday, October 30, 2012 4:38 PM
    • Proposed as answer by Vladimir_HmH Tuesday, October 30, 2012 4:39 PM
    Tuesday, October 30, 2012 4:32 PM
  • Get-mailbox -arbitration | disable-mailbox -DisableLastArbitrationMailboxAllowed

    Worked for me to disable the last arbitration mailboxes, after that I uninstalled Exchange 2010 via add/remove programs and "bob is your uncle".

    Hope this helps out some people. :)

    Saturday, December 13, 2014 12:44 PM