How to Mount Dismounted Exchange 2016/2013 Database?

Summary: In MS Exchange 2016/2013, you can mount a dismounted mailbox database via the Exchange Admin Center (EAC) or Exchange Management Shell (EMS). In this guide, we discussed both ways- Manual & third party tool- Stellar Repair for Exchange to restore a dismounted database.

It?s not unusual that the Exchange database stops working or terminates unexpectedly during normal operations. Exchange server database may dismount due to,

This prevents users from accessing their mailbox data. Hence, it requires you to mount the database and restore business continuity as soon as possible.

Methods to Mount Dismounted Exchange 2016/2013 Database

There are two different manual methods to mount a dismounted database in Exchange 2016 or 2013. However, before that, ensure the following,

  1. Check if the drive has enough storage space available
  2. The user account that you will use to mount the database has been assigned with permissions and roles to mount the dismounted Exchange database file. To assign permissions and roles, run the following command,
Add-MailboxPermission -Identity John -User Tom.Fox -AccessRights FullAccess
Get-MailboxDatabases ?Status | Sort Name | Format-Table Name, Server, Mounted

If the mounted status is displayed as ?False?, copy the database name and server name.

eseutil/mh ?C:\ program files\ exchsrv\ mdbdata\ priv1.edb?

NOTE: If the dismounted database is inconsistent or in a dirty shutdown state, you can?t mount it. To mount such a database, you must bring the database to a clean shutdown state. 

-> Soft Repair Command

eseutil/r ?C:\ program files\ exchsrv\ mdbdata\ priv1.edb?

If the database is still inconsistent and in Dirty Shutdown state, you must hard repair the database files.

-> Hard Repair Command

eseutil/p ?C:\ program files\ exchsrv\ mdbdata\ priv1.edb?

In case, the dismounted Exchange database is still in Dirty Shutdown state, it indicates database file corruption. In such a case, you must use an Exchange database repair software such as Stellar Repair for Exchange to fix and repair a corrupt database (EDB) file.

Once repaired, you can export the EDB file and the recovered mailbox items such as emails, attachments, contacts, notes, public folders, etc. to the Live Exchange server.

Method 1: Mount Dismounted Exchange 2016/2013 Database by using EAC

To mount the Exchange database via EAC or Exchange Admin Center, follow these steps,

  1. Open Exchange Admin Center as administrator and click on ?servers?
  2. Click ?databases? and select the database which is dismounted
  3. Then click on the three dots and select ?Mount?

Method 2: Mount Database by using Exchange Management Shell (EMS)

To mount dismounted Exchange 2016 or 2013 database by using EMS commands, follow these steps,

Mount-Database ?DB01? ?Confirm:$False
Get-MailboxDatabase ?Status | Sort Name | Format-Table Name, Server, Mounted

If you need to mount multiple databases at once, you can use the following command in EMS,

Get-MailboxDatabase ?Server EX01 | Mount-Database ?Confirm:$False
Get-MailboxDatabases ?Status | Sort Name | Format-Table Name, Server, Mounted

If all databases? Mounted state is displayed as ?True?, it means the databases are successfully mounted.

Conclusion

Exchange administrators can easily mount or dismount Exchange 2016/2013 database in MS Exchange by using either the Exchange Management Shell (EMS) or Exchange Admin Center (EAC). However, to mount a dismounted database, it should be in ?Clean Shutdown? state and must not be damaged or corrupt.

If the database is in Dirty Shutdown state, you must bring the database to a clean state. Otherwise, it?s not possible to mount the database.

But if the database does not enter the clean shutdown state or turns out to be corrupt, you must repair such database files by using an Exchange repair tool such as Stellar Repair for Exchange. You can download the demo version of the software for free and use it to repair one or multiple Exchange database files. After activating the software, you can export the EDB contents to a Live Exchange server to restore the mailboxes and communication.

Related Post