John Yassa's Blog

Home » Exchange 2010 » How to remove default mailbox database in Exchange 2010

How to remove default mailbox database in Exchange 2010

Most of us as messaging administrators want to delete the default created mailbox database with any new exchange mailbox server

If you tried to delete this default database in normal way you will face the below error
1

So what to do to delete the default database!!!!!!!

below is the steps needed to delete the default database:

  1. Moving Arbitration Mailboxes (System Mailboxes , FederatedEmail) & Discovery mailbox

Get-Mailbox -Arbitration -Database “Mailbox Database 1973945018”
you will get the below result
getarbitration

Now moving this arbitration mailboxes to another DB (MailboxDB) using the below Command
Get-Mailbox -Arbitration -Database “Mailbox Database 1973945018” | New-MoveRequest -TargetDatabase MailboxDB
movearbitration

Now to move the Discovery mailbox , use the Exchange Mangement Console as below
movediscovery

Once all moves are complete, you can remove the move request from the Exchange management console
removemoverequest

2. Move Mailboxes exist on this Mailbox Database

you can do that by the following command :
Get-Mailbox -Database “Mailbox Database 1973945018” | New-MoveRequest -TargetDatabase MailboxDB
movemailboxes

3. Move any archiving mailboxes exist on this DB

Now get all archiving mailboxes and thier corrosponding DBs
Get-mailbox -archive | fl identity,database

Now move these archiving mailboxes to any other DB
Get-Mailbox -Archive | New-MoveRequest -ArchiveTargetDatabase ‘Mailbox Database’ -ArchiveOnly

4. Now you can delete the default Mailbox Database safely without any problem


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: