Share via


Cannot remove mailbox database [UnwillingToRemoveMailboxDatabase]

Exchange Setup can't continue because it can't remove a user mailbox database from the local server without incurring potential data loss.

Before Exchange Setup removes the Mailbox server role from a server, it checks for one of the following conditions:

  • All mailbox databases are removed from the server.
  • Databases on the server don't contain active mailboxes. However, user mailboxes might still remain on the server.

To resolve this issue, do either of these steps:

After you deal with the mailbox databases on the server, run Exchange Setup again.

  • For more information about how to identify a mailbox in the database, see Get-Mailbox.

Having problems? Ask for help in the Exchange Server forum at Exchange | Exchange Server | Management.