How to Repair Microsoft Exchange EDB File – Step by Step Guide

Note: This is a guest post written by Naomi Johnson

Every organization that uses Microsoft Exchange needs a way to recover email, calendars, and other data if users lose it. In an on-premises Exchange environment, backing up databases is strictly for recovery purposes and not for archival storage. These databases are EDB files and are located in the same folder as the MS Exchange database files.

Exchange Server data recovery is not an easy task. Unlike other services, the presence of an Exchange server requires regular monitoring and maintenance to ensure uninterrupted services. Disasters can strike at any time and you need to be able to recover quickly from a breakdown or accident.

If you’ve been using Microsoft software long enough, you probably know this isn’t going to be a quick or easy answer. Let’s see what you need to repair the Exchange EDB file yourself.

Additional tips: Facing corruption issues related to EDB file? Click here to easily restore mailbox from corrupt Exchange EDB files.

What is an EDB file? And how to repair Exchange EDB file?

EDB files are the primary storage locations for Exchange mailboxes and databases. When you take a backup of an Exchange mailbox, it is usually stored as an EDB file. If something is wrong with your primary storage location and you need to restore that data, these files come in handy.

EDB files are mainly used to store mailbox metadata like mailbox size, creation date, upgrade history, etc. (about 200 KB). Due to this lightweight attribute, it is common for administrators to store multiple copies of each EDB file on different drives or servers, so if one fails; they do not lose access to all documents simultaneously. Typically, when users connect to the Exchange server to send and receive emails, they can access their emails directly from their client inbox.

Causes of Microsoft Exchange EDB File Corruption

Exchange Server saves its data in EDB files and files on Exchange Servers are subject to technical errors. See the point below for a possible cause of EDB file corruption.

  • The Exchange server has been shut down.
  • Unexpected power outage
  • Exchange Server Errors
  • Exchange Server Surprising Failure
  • Virus or malware attacks
  • Third-party software is having difficulty.

Only one cause from the list can corrupt EDB files; however, the files can be repaired by following the simple recovery procedure.

Methods to repair a Microsoft Exchange EDB file:

Two ways to repair an EDB file are: manually using the built-in ESEUTIL and professionally using a tool.

  • Using the Eseutil command, repair the EDB file.
  • Go to Start and click Run.
  • Enter cmd in the Run dialog box and press OK.
  • Now navigate to C:Program FilesExchsrvrbin
  • Then, in the command prompt, type Eseutil.exe.
  • The Eseutil utility (Eseutil.exe) has two repair modes: “/r” and “p”.
  • This command is now only useful for recovering the MS Exchange database.
  • Users can also use Eseutil /p command line to recover remote Exchange EDB files such as priv1.edb and pub1.edb if the EDB database files are severely corrupted.
  • Eseutil /p C:Program filesExchsvrmdbdata principal name.EDB
  • After users restore the damaged database .edb files with the Eseutil /p command, run the Eseutil /d command line to defragment the Exchange database.
  • Now run an Eseutil.exe command to inspect the stability of the repaired EDB database which will show information such as; sinteg –s {Exchange server name}-fix-test all tests.
  • Now select recovered .edb files from MS Server directory.
  • Now run this Exeutil.exe command till no error is displayed on MS Exchange Server.
  • To test the consistency of the fixed Exchange EDB database, use the Eseutil/G command line.
  • Remount the repaired Microsoft Exchange database files (.edb) using Exchange Server administration tools.

However, the manual method is complex and a single incorrect command can tip the scales resulting in data loss. So, using a professional tool to avoid data loss and repair Exchange EDB (corrupt EDB) files is highly recommended. This is a safer and more relaxed method of solving the problem.

Repair Exchange EDB file with Stellar Repair Exchange Tool

Exchange repair tool is the perfect application to repair corrupt EDB files. All mailbox items including emails, contacts, attachments, calendars, tasks, notes, journals and public folders are recovered once the software examines a file from Exchange database (EDB) corrupted. The recovered items are saved in a variety of formats including PST, MSG, EML, RTF, HTML and PDF.

  • Restores broken or corrupted EDB files.
  • Restores a corrupt EDB file and exports it to Office 365 or Live Exchange.
  • Supports Exchange Server versions 2019, 2016, 2013, 2010, 2007, 2003, 2000, and 5.5.

Steps to use Stellar Repair for Exchange

  • Stellar Repair for Exchange application home screen looks like this. The corrupt EDB file you want to recover can be found using Browse or Search. If you don’t know where the EDB file is located, click on the “Find” option.
  • The software will search and display every EDB file kept on the chosen drive.
  • For faster scan and repair of corrupt EDB files, choose “Quick Scan” option. For best results, choose “Deep Scan” option for deep scanning of highly corrupted EDB files.
  • The list of recoverable mailboxes from the scanned EDB file appears in the left pane after the scan. You can choose which mailbox items you want to recover, all or just some.
  • To save the recovered mailboxes in one of the available formats, select “Save” from the File menu. To save the recovered mailboxes, we chose PST.
  • Then click “OK” after selecting the location where you want to save the recovered file.
  • The PST file has been saved to the location you specified.
  • Exporting recovered mailboxes to an Office 365 profile requires choosing the Office 365 option from the save options.
  • To export an entire EDB file or a selection of mailbox folders to Office 365 mailboxes, enter your Office 365 credentials.
  • For save options, choose “Live Exchange” to export restored mailboxes to Live Exchange.
  • To export an entire EDB file or a selection of mailbox folders to Live Exchange Server mailboxes, enter your Exchange Server credentials.
  • Choose the mailbox you want to export the recovered mailboxes to in the Map Mailboxes pane.
  • To export mailbox items to the Public folder of the destination Exchange server, select the Export to Public Folder option, and then click Next.
  • On the target Exchange server, enter the login credentials of the user with access rights to the Public folder. Select OK.


As we have seen, the free utility from Microsoft does not provide a guaranteed solution and also has the risk of data loss. Therefore, experts do not recommend these procedures. You must use Stellar Repair for Exchange Tool for guaranteed results. This automated software has a variety of advanced features and ensures that databases are repaired thoroughly without losing a single bit of data.

Moreover, after successfully repairing the EDB file, the software provides you with the option to import the EDB data into the Live Exchange Server. The software includes a free demo version allowing users to test it before purchasing the licensed version.

Corruption of EDB file can be caused by various factors. The manual method is neither reliable nor helpful in recovering Exchange Server mailbox information from an EDB file. Therefore, using a professional tool like Stellar Repair will make it easier for you. You can test the strength of the tool using the demo version before purchasing the premium version. Stellar Repair for Exchange Tool offers a professional approach to repairing EDB files.

You might also like

Calvin W. Soper