We want to create a Hybrid deployment between Exchange on-premises and Exchange Online. When we…
We like to delete a mailbox database in Exchange 2016 after moving all the mailboxes to another database. Before we start deleting the mailbox database, let’s have a look at the required steps. This article will teach you how to remove the mailbox database in Exchange 2016.
Table of contents
How to delete mailbox database in Exchange 2016
The following steps will delete a mailbox database in Exchange Server:
- Unmount the mailbox database
- Delete the mailbox database
- Remove the database files
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.
Delete the mailbox database
After dismounting the database, select the database in the list view. 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 that we must remove the database and log files manually. Copy the location and click OK.
Delete mailbox database data and log files manually
In the previous step, the mailbox database got deleted from Exchange Server 2016. We only have to delete the data and log files from the specified 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.
If you get errors when deleting a mailbox database, read more in the next steps.
Can’t delete mailbox database
Do you get an error, as shown below? Read the article This mailbox database is associated with one or more move requests.
If you are getting the error shown below, look at the article Cannot delete mailbox database Exchange 2016.
Keep on reading: Create mailbox database Exchange 2016 »
You learned how to delete mailbox database in Exchange 2016. If there are no move requests associated and all mailboxes moved, you will finish with a couple of clicks. If you get errors when deleting a mailbox database, use 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.