Error While Deleting The Default Mailbox Database In Exchange 2010…

When an Exchange 2010 mailbox role is installed, a default mailbox database is created. In Exchange 2007, the default database is named “Mailbox Database” whereas in 2010, it comes with a random numbering at the end of the “Mailbox Database” name. This is to make the mailbox database name unique. Mine is named “Mailbox Database…

When an Exchange 2010 mailbox role is installed, a default mailbox database is created. In Exchange 2007, the default database is named “Mailbox Database” whereas in 2010, it comes with a random numbering at the end of the “Mailbox Database” name. This is to make the mailbox database name unique. Mine is named “Mailbox Database 1697561822”.

MBX

As most of the admins, my first instinct is to remove the default database and create ones with my company’s naming convention or the names of my choice. I created a new database named “MD1” and tried deleting the default one, only to be greeted with the error below.

“This mailbox database contains one or more mailboxes or arbitration mailboxes. Before you can remove this mailbox database, you must disable, move or remove user mailboxes and move arbitration mailboxes.

Arbitration Mailbox Error

Technet explains arbitration mailboxes as the mailboxes used for managing approval workflow. For example, an arbitration mailbox is used for handling moderated recipients and distribution group membership approval.

I moved my user mailboxes to another database and ran the following command to find the arbitration mailboxes.

Get-Mailbox –Database “Mailbox Database 1697561822” –arbitration

Find Arbitration Mailboxes

I moved the arbitration mailboxes as well to the second database with the command below.

Get-Mailbox –Database “Mailbox Database 1697561822” –arbitration | New-MoveRequest –TargetDatabase MD1

Arbitration Mailbox Move

I confirmed that the arbitration mailboxes were successfully moved using the Get-MoveRequest cmdlet.

Arbitration Move Complete

Once the mailbox move was completed, I could delete my default database!

MBX After

14 Comments

  1. Peter Webster says:

    Well done – what I like about your articles, is that they are clear and precise and on Administrator level I would say.
    Why don’t you create a mailing list – monthly or so – with some article links etc.

    1. Rajith Jose Enchiparambil says:

      Thanks Peter.

      I will see whether I can do a monthly mailing list. But you can always subscribe to my emails and you will get the articles as and when they are published.

  2. Mahmoud Badran says:

    Got again erroe ” mailbox database ‘#LONGHASHCODE#’ is offline”

    is there any other resolution?

    1. Rajith Jose Enchiparambil says:

      Hi Badran,

      Can you copy & paste the command you are running and the full error please?

      Thanks.

  3. Hi ,
    I am not facing the above issue , But I was cross checking to run above command nothing is showing to me.

    Get-Mailbox –Database “Mailbox Database 1791121752”

    1. Rajith Jose Enchiparambil says:

      Hi Dinesh,

      Have you moved the arbitration mailboxes as well? Run Get-Mailbox –Database “Mailbox Database 1791121752” -Arbitration to find out.

      Thanks.

  4. yeah, so helpful. But i think Microsoft should make it simple for administrators. They always do as if everybody have enough time to surf internet.

    1. Rajith Jose Enchiparambil says:

      Good point Aron ;)

  5. Thank you so much. Really helpful. Just the information I was looking for.

    1. Rajith Enchiparambil says:

      Thanks Jerry.

  6. There is no space between your – and tatgetdatabase command. I know its just a type here but the steps are great except this.

    1. Rajith Enchiparambil says:

      Thanks Bill.

      I have updated the article.

  7. Anonymous says:

    Very helpful information!

Leave a Reply

Your email address will not be published. Required fields are marked *