Most of the Administrators wants to have a new database created and Remove the Default Databases in Exchange 2010
Where we can rename the Databases and change the location of the databases.
But still Administrators wants to remove the default databases and Start Fresh.
So Lets Start how we can remove the default Mailbox Databases in Exchange 2010
We got to Think 4 Things inorder to Remove the Default database in Exchange 2010
1. Moving Arbitration Mailboxes (How to recreate System Mailbox , FederatedEmail)
2. Moving Discovery Mailbox (DiscoverySearchMailbox)
3. Moving User Mailboxes
4. Moving Archive Mailboxes
If you miss out anything and if you try to remove the Default Database you might face a popup with an Error
——————————————————–
Microsoft Exchange Error
——————————————————–
The mailbox database ‘Mailbox Database 0089743213’ cannot be deleted.
Mailbox Database 0089743213
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>.
——————————————————–
OK
——————————————————–
1. Moving Arbitration Mailboxes (System Mailboxes , FederatedEmail)
&
2. Discovery mailbox
if you run (Specify your Default Database name ,Number Differs)
Get-Mailbox -Arbitration -Database "Database name"
Now moving my Arbitration Mailboxes to the new Mailbox Database .
In my case Am moving my Arbitration Mailboxes (From:”Mailbox Database 0089743213″) to “Mailbox Database”
Hence Running this Command – Modify your Default Database name if your gonna use it
Get-Mailbox -Arbitration -Database "Database name" | New-MoveRequest -TargetDatabase "Database Name"
Moving Discovery Mailbox – We can Use Exchange Management Console
Now once its completed you got to Remove the Move Request once Completed
You can view that using the Exchange management Console and Once its completed , you can remove it
Recipient Configuration – Move Request
3. Moving User Mailboxes
Moving User Mailboxes going to be real simple . Use Exchange management Console
For Fresh People – you can create a Filter for the database and Move Everything to the New Database
One last thing – In newer Versions of Exchange archive mailboxes can be placed in any database
So most of them miss out on that
For Example when you move an mailbox which has an Archive mailbox as well
It would ask you Three options –
Move only the user mailbox , Move only the archive mailbox , Move both the mailbox and archive
So you got to move the archive mailbox as well
If people miss out moving the archive mailboxes
4. Moving Archive Mailboxes
You can view the archive mailboxes
Get-mailbox -archive
but if you need find where they are residing
Get-mailbox -archive | fl identity,database
Moving archive mailboxes You can use Exchange managment Console like above or Using Shell am moving all the archive maiboxes to the new database
Get-Mailbox -Archive | New-MoveRequest -ArchiveTargetDatabase 'Database Name' -ArchiveOnly
Now Go ahead and remove the default database
Great !!
You learnt how to remove a Default Database in Exchange 2010
Hi Manoharan,
I have moved the mailboxes to the targeted DB, and have run the commands for the Hidden or arbitrated mailboxes, but don’t get any result… but still I am unable to remove the DB…
any suggestion ?
Regards
you can try running Get-Mailboxdatabase “DB name” | clean-mailboxdatabasse
if you didn’t miss out any other step on the above blog. things should work without any issues.
Hi Manoharan,
thanks for the nice tips.
I am searching few day for my problem with desinstalling exchange.
There are many tips in the www, but the tip with the archiv mailbox are great.
Thank you for your comments stefan
Hello Manoharan,
It helps a lot..
Kinldy, let me know how exactly these default mailboxes will help in exchange.
Gowtham T
They acts for different purposes. like when is a Mail sent . And if the transport rule makes the mail to wait for moderation.
It will be stored in the arbitration mailboxes.
So It has their own purposes.
I cant remove mailbax in exchange 2010
Satheshwaran,
We still have Public Folders. Do I need to considers steps relating to Public Folders prior to removing the default database?
Thanks
Ron
Removing Default Database . Its nothing to do with Public Folders.
Satheshwaran,
Cool.
Thanks
Ron
when dismount PFMS5 (Public Folders),I got error message
Event ID 1020 (MSExchange Store Driver)
The store driver couldn’t deliver the public folder replication message “Status Request (PFMS5@domain.com)” because the following error occurred: Cannot open mailbox /o=domain/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=MBS_name/cn=Microsoft System Attendant..
Might be stalled SA service
Restart System attendant once. –