We like to delete a mailbox database in Exchange 2016 as there are no users in that database anymore. Before we start deleting the mailbox database, let’s have a look at the most asked questions. How can we remove the mailbox database in Exchange 2016? Can we just click the delete button and that’s it? Do we delete the mailbox database in Exchange Admin Center (EAC) or with PowerShell?
Let’s answer these questions. Unmount the mailbox database first. After it’s unmounted, delete the mailbox database. We can delete the mailbox database in Exchange 2016 with EAC and with PowerShell. In this article, we are going to look into how to delete the mailbox database in Exchange 2016 with EAC.
Delete mailbox database Exchange 2016 with Exchange Admin Center
Log in to the Exchange Admin Center (EAC). Click servers in the feature pane and click databases in the tabs. We already have two databases in Exchange Server. That’s mailbox database DB01 and DB02.
We like to remove mailbox database DB02 in Exchange Server 2016. Select the database that you want to dismount in the list view. Click the More … icon in the toolbar and click Dismount.
A warning will show up if you are sure to dismount the mailbox database. Click Yes.
After dismounting the database. Select the database in the list view and click the delete icon in the toolbar.
A warning message will show if you are sure to delete the mailbox database from Exchange Server. Click Yes.
The last warning is showing us that the database and log files need to be removed manually. Copy the location and click OK.
Delete mailbox database data and log files manually
The mailbox database is deleted from Exchange Server 2016. We only have to delete the data and log files from the location in File Explorer. In our example, we have to remove the database file from the G drive.
The log files are on the H drive, we will delete these too.
Can’t delete mailbox database
If you do get the error as shown below, read the article This mailbox database is associated with one or more move requests.
If you are getting the error as shown below, have a look at the article Cannot delete mailbox database Exchange 2016.
You learned how to delete mailbox database in Exchange 2016. If there is no move requests associated and all mailboxes are moved, you’re finished with a couple of clicks. If you get errors when deleting a mailbox database, make use of the articles linked in the post. Don’t forget to delete the mailbox database and log files manually in File Explorer. Did you enjoy this article? You may also like Change Users UPN automatically with scheduled task. Don’t forget to follow us and share this article.