Others

Fix Cannot Delete Exchange 2013 Mailbox Database Error

Maira MehtabMaira Mehtab Nov 2, 2026 868 views

Question details

The user is unable to delete an Exchange 2013 mailbox database because the system detects remaining mailboxes.

How to Fix 'Cannot Delete Exchange 2013 Mailbox Database Because It Contains a Mailbox'
Product
Microsoft Exchange 2013
Device & OS
not provided
Scenario
Attempting to remove or decommission an Exchange 2013 mailbox database via the Exchange Management Shell or Admin Center.
Observed behavior
Exchange prevents the database from being removed, throwing an error that it still contains user, arbitration, archive, audit, discovery, or public folder mailboxes.
Before you start

Ensure you have the necessary Exchange Administrator privileges and open the Exchange Management Shell (EMS) as an administrator to execute the required diagnostic commands.

Solution 1Recommended

Identify and Move Public Folder Mailboxes

Use Exchange Management Shell commands to locate often-overlooked public folder mailboxes and move them to a new database.

Public folder mailboxes are frequently the cause of this error because they do not always appear in standard mailbox searches. Moving them is essential before database deletion.

1
Run removal with verbose logging

In the Exchange Management Shell, run the command 'Remove-MailboxDatabase -Identity "YourDatabaseName" -Verbose'. The verbose output will help identify exactly which mailboxes are preventing the deletion.

2
Search for public folder mailboxes

Execute the command 'Get-Mailbox -Database "YourDatabaseName" -PublicFolder' to specifically check for any remaining public folder mailboxes in the target database.

3
Move the identified mailboxes

Use the 'New-MoveRequest' cmdlet to migrate any discovered public folder mailboxes to an alternate, active mailbox database.

4
Retry database removal

Once all move requests have successfully completed and the database is entirely empty, run the 'Remove-MailboxDatabase' command again to delete it.

Verification Complete: Always verify that the move requests have a status of 'Completed' using Get-MoveRequest before attempting the deletion again.
Free Microsoft Office alternative

Streamline Your Workflow with WPS Office

While you manage complex IT infrastructure like Exchange servers, ensure your team stays productive with WPS Office. As a free, lightweight, and highly compatible alternative to Microsoft Office, WPS Office offers a familiar interface and seamless document management without the hefty licensing costs.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install the application: Run the installer and follow the simple on-screen instructions to set up WPS Office on your computer.
  3. 3. Open existing Office files: Launch WPS Office and directly open your existing .docx, .xlsx, or .pptx files with full formatting compatibility.
Fully compatible with Microsoft Word, Excel, and PowerPoint formatsLightweight installation ensures fast performance on any hardwareBuilt-in robust PDF editor for comprehensive document managementFamiliar tabbed user interface reduces the learning curve for new users
microsoft office alternative - wps office

Frequently Asked Questions

Why does Exchange say the mailbox database contains a mailbox when it looks empty?

Exchange databases often contain hidden system mailboxes that don't appear in the standard Admin Center view. These include arbitration, audit log, discovery, and public folder mailboxes, all of which must be moved before deletion is allowed.

How do I check the status of my mailbox move requests?

You can check the progress of your move requests by running the command 'Get-MoveRequest | Get-MoveRequestStatistics' in the Exchange Management Shell.

Can I force delete a mailbox database using ADSI Edit?

While it is technically possible to remove database objects via ADSI Edit, it is highly discouraged by Microsoft. Doing so leaves orphaned mailboxes and can cause severe active directory and routing issues. Always clear and remove databases gracefully using EMS.

What is an arbitration mailbox in Exchange 2013?

Arbitration mailboxes are system mailboxes used for storing different types of system data, such as administrator audit logs, metadata for federated sharing, and unified messaging data.