Upcoming Webinar 22 Aug - Simplify Your SharePoint Migration with Alistair Pugin (MVP) Reserve My Spot
Home  /  Blog  /  Solving Exchange Server Errors   /   How to use ESEUTIL for Exchange Server Repair?

How to use ESEUTIL for Exchange Server Repair?

Solving Exchange Server Errors, by

ESEUTIL is one Exchange tools that help in repairing corrupted or damaged Exchange Server. ESEUTIL is an inbuilt utility that ensures good health of the information store in an Exchange Server. Quite often, we come across corruption of MS Exchange Server, when access to mailboxes gets lost completely.

It is always a good habit to have a backup of Exchange database file, so that in times of data crisis these backups can be used for restoring the database. Basically, ESEUTIL is an Exchange server tool that defragments the Exchange databases offline, checks for their integrity and therefore, strives to repair a damaged/lost database. ESEUTIL is located in the \EXCHSRVR\BIN directory.

On encountering Exchange corruption, our first step should be defragmenting the Exchange database.

  1. Database defragmentation is a means of reorganizing the way information is stored on a computer disk, so that all of the information belonging to a file is stored in a single, contiguous area over the disk. Using ESEUTIL utility one can easily defrag the database working offline. There is no need of offline defrag under normal conditions, but it becomes necessary when there is addition of numerous new mailbox users or when you delete many objects from the store. ESEUTIL /MS let you defrag the database.
  2. Once done with defrag portion, ESEUTIL utility must be used for checking the integrity of Exchange database.

  3. Integrity of your Exchange database can be checked with ESEUTIL /G. To start the integrity check for the PRIV1.EDB database, type the following command: ESEUTIL /G C:\Program files\exchsrvr\mdbdata\priv1.edb.
  4. Last step left in repairing Exchange Server is the disaster recovery.

  5. Exchange another utility named ESEUTIL/p repairs a corrupted or damaged database. Ensure that you have enough disc capacity in relation to the Exchange database size. Consider the following command prompt instruction.

ESEUTIL /P c:\program files\exchsrvr\mdbdata\priv1.edb /Se:\exchsrvr\mdbdata\priv1.stm /Te:\tempdb.edb

This command repairs PRIV1.EDB database. If in case, you have no .STM file, you can create one with ESEUTIL/CREATESTM.

After running ESEUTIL, you can open a detailed log file called >database<.integ.raw to see the recovery results.

You can see that ESEUTIL is so much of help while repairing corrupt Exchange Server. However, there are times when, this utility fails to provide desired results. In such situation, you may need to take of help of Exchange repair tools.

Kernel for Exchange Server is one of those renowned Exchange recovery tool that help the user in extracting all user mailboxes from corrupt Exchange server database. So if ESEUTIL is not helpful enough to solve your problem, try this out.

Leave a Reply

Your email address will not be published. Required fields are marked *