Exchange 2013 uninstall – This mailbox database contains one or more mailboxes
During the uninstall of Exchange 2013 or the removal of one of your Exchange 2013 servers from your organization you may come across the following error.
This is because you have one of the following:
- Still have folders in your Public Folders
- Still have Mailboxes in your Mailbox Datbases
- Still have Mailbox Databses
Exchange 2013 uses a number of different types of mailboxes as seen below. Even if you have removed all of your users mailboxes you must still remove these mailboxes.
These mailboxes must be removed before you can actually uninstall Exchange 2013 You can remove these mailboxes from the ECP however if you you may need to use the command below to allow you to remove the arbitration mailoxes, this command allows you to disable them
Get-Mailbox -Arbitration -Database <MailboxDatabase> | Disable-Mailbox -Arbitration -DisableLastArbitrationMailboxAllowed
Replacing the Mailboxdatabase information with your own. Once removed if you start to unistall Exchange 2013 the uninstallation should complete