locked
Exchange 2010 - Removal of Default Database RRS feed

  • Question

  • Hi,

    We have recently migrated from 2007 to 2010 and after a few minor issues we are happily running on 2010 exclusively. I am now at the "clean up" phase and I want to remove the default database that gets automatically created when 2010 is installed, ours is called "Mailbox Database 1139482114".

    Now, when I attempt to remove the DB I get this ugly message:

    "--------------------------------------------------------
    Microsoft Exchange Error
    --------------------------------------------------------
    The mailbox database 'Mailbox Database 1139482114' cannot be deleted.

    Mailbox Database 1139482114
    Failed
    Error:
    This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes, or arbitration mailboxes. To get a list of all mailboxes in this database, run the command Get-Mailbox -Database <Database ID>. To get a list of all mailbox plans in this database, run the command Get-MailboxPlan. To get a list of archive mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Archive. To get a list of all arbitration mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Arbitration. To disable a non-arbitration mailbox so that you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID>. To disable an archive mailbox so you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID> -Archive. Arbitration mailboxes should be moved to another server; to do this, run the command New-MoveRequest <parameters>. If this is the last server in the organization, run the command Disable-Mailbox <Mailbox ID> -Arbitration -DisableLastArbitrationMailboxAllowed to disable the arbitration mailbox. Mailbox plans should be moved to another server; to do this, run the command Set-MailboxPlan <MailboxPlan ID> -Database <Database ID>."

    So I googled it and found this informative page, http://muc-ug.org.in/index.php/how-to/exchange-2010/94-default-mailbox-database-a-move-arbitration-mailboxes.html, which talked about arbitration mailboxes and the like. As I followed the steps it had everything the blog spoke of and when it came time to remove the DB after moving the mailboxes I still get the same original error. So I thought that maybe the issue was that in the steps when moving the mailboxes I never specified a target database to move to so I retried the moves this time specifying a target DB but alas still the same error appears and now I do see the mailboxes in "Disconnected Mailbox". After retrying the moves with the target database specified I now see multiples of the mailboxes in "Disconnected Mailbox".

    How do I resolve this issue?

    I am happy to send screenshots to assist with describing my problem.

    Tuesday, June 28, 2011 1:02 AM

Answers

  • Hi,

    Thank you for your super quick reply, there was actually one more mailbox that wasn't moved over, "Discovery Search Mailbox", that when I moved over via the EMC I was then able to completely remove the DB.

    And when I looked in the "Disconnected Mailbox" bucket I saw the three original mailboxes disappeared, BUT there are two mailboxes still there from the 2nd move attempt that I made by specifying the target DB.

    Will these eventually disappear or is there more work I need to do? Should I still run your command:

     Get-Mailbox -Arbitration -DomainController 'hostname' | New-MoveRequest -TargetDatabase 'dbname' -DomainController 'hostname'

    Or should I wait? What's your advice?

    Tuesday, June 28, 2011 2:04 AM

All replies

  • Hi,

    You needs to connect to the root domain controller to move arbitration mailbox.

    For Ex: Get-Mailbox -Arbitration -DomainController 'hostname' | New-MoveRequest -TargetDatabase 'dbname' -DomainController 'hostname'

    Here you can see that, I used host name instead of DC FQDN


    Regards from www.windowsadmin.info
    Tuesday, June 28, 2011 1:54 AM
  • Hi,

    Thank you for your super quick reply, there was actually one more mailbox that wasn't moved over, "Discovery Search Mailbox", that when I moved over via the EMC I was then able to completely remove the DB.

    And when I looked in the "Disconnected Mailbox" bucket I saw the three original mailboxes disappeared, BUT there are two mailboxes still there from the 2nd move attempt that I made by specifying the target DB.

    Will these eventually disappear or is there more work I need to do? Should I still run your command:

     Get-Mailbox -Arbitration -DomainController 'hostname' | New-MoveRequest -TargetDatabase 'dbname' -DomainController 'hostname'

    Or should I wait? What's your advice?

    Tuesday, June 28, 2011 2:04 AM
  • You may try Clean-MailboxDatabase cmdlet to remove them completely

    Eg. Clean-MailboxDatabase 'dbname'


    Regards from www.windowsadmin.info
    Tuesday, June 28, 2011 4:08 AM
  • Hi,

    I've tried that but the objects still exist, however since the originals disappeared from the window I am happy that these are objects that can be removed so I will be removing them via the PowerShell.

    Thank you for your help.

    Tuesday, June 28, 2011 5:13 AM