When businesses or organizations employ Exchange Server to manage their email communication, they create mailboxes for their users. These mailboxes reside in the Exchange database files. The database file has the .edb extension. An administrator does not interact with the EDB files regularly, and that’s why they are not aware of the exact EDB file location on the computer.

Sometimes, most of the actions in the Exchange mailbox are completed through the Exchange Admin Center and the Exchange Management Shell. But, when the administrator requires to take the manual backup or restore any file, then it requires the exact location of the database file. And if you know the location of EDB files, it will be easier for you to fix Exchange related issues and errors, especially when you are using inbuilt features or facilities to fix EDB corruption.

Where can you find EDB files?

If you are using Exchange Server 2000 & 2003, you can locate your EDB files at:

C:\Program Files\Exchsrvr\MDBDATA\Priv1.edb
C:\Program Files\Exchsrvr\MDBDATA\Pub1.edb

Here, Priv1.edb is the private folder database file of Exchange Server with Exchange mailbox information like default emails and attachments, and Pub1.edb is the public folder database file of Exchange Server containing rich text format file. These files have a related STM file that stores SMTP messages of the Exchange Server.

If you are using Exchange Server 2007, you can locate your EDB files at:

C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\Mailbox Database.edb
C:\Program\Files\Microsoft\Exchange Server\Mailbox\First Storage Group\Public Folder Database.edb

If you are using Exchange Server 2010, you can locate your EDB files at:

C:\Program Files\Microsoft\Exchange Server\V14\Mailbox Database\Mailbox Database.edb
C:\Program Files\Microsoft\Exchange Server\V14\Public Folder Database\Public Folder Database.edb

If you are using Exchange Server 2013, you can locate your EDB files at:

C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox database Name\Mailbox database Name.edb

If you are using Exchange Server 2016, you can locate your EDB files at:

C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database Name.edb

The above EDB file location is the same as the Exchange Server 2019 version.

To find the exact location of the Exchange Server EDB file, users can take help of the Exchange Management Shell by running a specific command for it. The command which outputs the EDB file location for the Exchange Server is as follows:

Get-MailboxDatabase –Status | select “edbfilepath”

Once you know the location of EDB files, you can move, backup, migrate, recover, restore or delete them as per your requirement using their respective procedures. Also, most of the Exchange recovery tools have inbuilt search facilities to locate the EDB files. Tools like this can be used even if you don’t know the location of the EDB file.

Why should you know the Exact Exchange database location files?

  1. For the security of Exchange mailboxes, the administrator needs to back up the Exchange data regularly. These backups make the databases more flexible and safer. To take the manual backup of the Exchange, you need to know the location of the EDB file.
  2. When the user wants to export the EDB file to an external file format like PST or some other platforms like Office 365, then the process becomes more comfortable with the knowledge of the EDB file location.
  3. When the Exchange mailbox becomes unavailable or inaccessible, then to retrieve the content manually, you need to know the location of the EDB file.
Kernel for Exchange Server

It has an in-built search feature which allows it to search for EDB files from not just a specific folder but an entire drive. Please note that the Search feature works even in the free trial version of the tool.

Here is its working procedure with all the Steps -

  1. Install the software and run by following Start > Kernel for Exchange Server > Kernel for Exchange Server. The home page displays all the options for the source and destination. Click the Offline EDB icon. Install and run the software
  2. Select the first option, ‘Offline EDB file’ and click Next. Select Offline EDB file
  3. As you are not aware of the location of the Exchange database (EDB) file, you need to click the Search button. search location
  4. Click the (•••) icon and browse the folder or drive where you suspect the EDB file resides. browse the folder
  5. After selecting the folder or drive, click the Search button. click on search button
  6. The tool searches for the EDB file in the specified drive and enlists all the files it finds. Select the desired one and click OK.
    Note: You can note down the exact EDB file path location from here for future use.
    select edb files
  7. Click Next. Go for next process
  8. There are two scan modes for the corrupt EDB file - Standard Scan and Deep Scan. Select any one and click Next. select the scan mode
  9. After scanning the database, the tool shows the message ‘100% process completed’. Click Finish. process completed
  10. Check the content of the EDB file and get the preview of mailbox items. Check the content of the EDB file

If you want to recover the mailbox data after preview, you can add a destination from the available options and copy/paste, drag/drop, or export mailboxes from the EDB file to the added destination directly.

Conclusion

Exchange administrators usually do not have to interact directly with the EDB storage folders unless they need to restore data or create a backup. So, it won’t come as a surprise if you don’t know the default location of your EDB files. In fact, the default location of Exchange Database Files varies from one version to another. And if you know the location of EDB files, it will be easier for you to fix Exchange related issues and errors, especially when you are using inbuilt features or utilities to fix EDB corruption.