Stellar Logo
  • For Individuals
    Back to main menu

    For Individual

    • Windows Data Recovery

      Recovers lost or deleted Office documents, emails, presentations & multimedia files.

      • Free
      • Standard
      • Professional
      • Premium
    • Mac Data Recovery

      Recovers deleted files, photos, videos etc. on Mac.

      • Free
      • Standard
      • Professional
      • Premium
    • Photo Recovery

      Recover photos, videos, & audio files from all cameras and storage on Windows or Mac.

      • Standard
      • Professional
      • Premium
    • iPhone Data Recovery

      Recover deleted photos, videos, contacts, messages etc. directly from iPhone & iPad.

      • Recover
      • Erase
      • Toolkit
    • Video Repair

      Repair multiple corrupt videos in one go. Supports MP4, MOV & other formats.

      • Standard
      • Premium
    • Photo Repair

      Repair multiple corrupt photos in one go. Supports JPEG & other formats.

      • Standard
      • Professional
      • Premium
  • For Business
    Back to main menu

    For Business

    • Email Repair
      • Exchange Repair Repair corrupt EDB file & export mailboxes to Live Exchange or Office 365
      • Outlook PST Repair Repair corrupt PST & recover all mailbox items including deleted emails & contacts
      • OLM Repair Repair Outlook for Mac (OLM) 2011 & 2016 backup files & recover all mailbox items
      • Exchange Toolkit Repair EDB & Exchange backup file to restore mailboxes, convert OST to PST, & convert EDB to PST
      • Active Directory Repair Repair corrupt Active Directory database (Ntds.dit file) & extract all objects in original form
    • Email Converter
      • EDB to PST Convert online & offline EDB file & extract all mailbox items including Public Folders in PST
      • OST to PST Convert inaccessible OST file & extract all mailbox items including deleted emails in PST
      • NSF to PSTConvert IBM Notes NSF file & export all mailbox items including emails & attachments to PST
      • MBOX to PSTConvert MBOX file of Thunderbird, Entourage & other clients, & export mailbox data to PST
      • OLM to PST Convert Outlook for Mac Data File (OLM) & export all mailbox data to PST in original form
      • GroupWise to PST Convert GroupWise mail & export all mailbox items - emails, attachments, etc. - to PST
      • EML to PSTConvert Windows Live Mail (EML) file & export mailbox data - emails, attachments, etc. - to PST
      • Office 365 to PSTConnect to Office 365 account & export mailbox data to PST and various other formats
      • Migrator for Office 365Quickly migrate Outlook data files(OST/PST) directly to Office 365 or Live Exchange
    • File Repair
      • SQL Repair Repair corrupt .mdf & .ndf files and recover all database components in original form
      • Access RepairRepair corrupt .ACCDB and .MDB files & recover all records & objects in a new database
      • QuickBooks RepairRepair corrupt QuickBooks® data file & recover all file components in original form
      • MySQL RepairRepair MyISAM & InnoDB tables and recover all objects - keys, views, tables, triggers, etc.
      • Excel RepairRepair corrupt Excel (.XLS & .XLSX) files and recover tables, charts, chart sheet, etc.
      • BKF RepairRepair corrupt backup (BKF, ZIP, VHDX and .FD) files and restore complete data
      • Database ConverterInterconvert MS SQL, MySQL, SQLite, and SQL Anywhere database files
      • PowerPoint RepairRepair corrupt PPT files and restore tables, header, footer, & charts, etc. like new
      • File Repair ToolkitRepair corrupt Excel, PowerPoint, Word & PDF files & restore data to original form
    • Data Recovery & Erasure
      • Data RecoveryRecover lost or deleted data from HDD, SSD, external USB drive, RAID & more.
      • Tape Data RecoveryRetrives data from all types and capacities of tape drives including LTO 1, LTO 2, LTO 3, & others.
      • Virtual Machine RecoveryRecover documents, multimedia files, and database files from any virtual machine
      • File ErasurePermanently wipe files and folders, and erase traces of apps and Internet activity.
      • Mobile ErasureCertified and permanent data erasure software for iPhones, iPads, & Android devices
      • Drive ErasureCertified and permanent data erasure software for HDD, SSD, & other storage media
    • Toolkit
      • Exchange Toolkit5-in-1 software toolkit to recover Exchange database, convert EDB to PST, convert OST to PST, restore Exchange backup, and reset Windows Server password.
      • Outlook ToolkitComprehensive software suite to repair PST files, merge PST files, eliminate duplicate emails, compact PST files, and recover lost or forgotten Outlook passwords.
      • File Repair ToolkitPowerful file repair utility to fix corrupt Word, PowerPoint, and Excel documents created in Microsoft Office. It also repairs corrupt PDF files and recovers all objects.
      • MS SQL Toolkit5-in-1 software toolkit to repair corrupt SQL database, restore database from corrupt backup, reset database password, analyze SQL logs, & interconvert databases.
      • Data Recovery ToolkitSoftware helps to recovers deleted data from Windows, Mac and Linux storage devices. Also supports recovery from RAIDs & Virtual Drives.
    • Forensic
      • Email ForensicAdvanced email forensic solution for cyber experts to audit, analyze, or investigate emails & gather evidences.
      • Log Analyzer for MySQLAnalyze forensic details of MySQL server database log files such as Redo, General Query, and Binary Log.
      • Exchange AuditorExchange Server monitoring solution to automate audits, scans and generate reports ìn real-time.
      • Log Analyzer for MS SQLTrack & analyze MS SQL Server database transactions log files.
  • Our Partners
  • Lab Services
  • Support
  • About

Trending Searches

Data Recovery

Photo Recovery

Video Repair

iPhone Data Recovery

File Erasure Software

Exchange Repair

OST to PST

PST Repair

Raid Recovery

MS SQL Repair

Eseutil Errors 7 minute read

How to use EseUtil for Exchange Database Repair

Eric Simson
Written By
Eric Simson
stellar calander
Updated on
October 12th, 2022

Summary: Extensible Storage Engine Utilities or EseUtil is a command-line tool that is used to resolve problems and issues caused by database corruption. It’s a quite useful Exchange tool for administrators as it helps them perform various Exchange database maintenance and repair tasks, such as database integrity check, defragmentation, reduce database size, and fix or recover corrupt database files. In this guide, we’ve discussed EseUtil in detail and the steps to use it for Exchange database repair and various other maintenance tasks.

Free Download for Windows

Contents

  • Exchange Database File Location
  • EseUtil Switches
  • Prerequisites to Run EseUtil
  • Steps to Use EseUtil for Exchange Database Repair
  • Points to Remember Before Using EseUtil for Exchange Database Repair

Exchange database (EDB) recovery is often required when the database is dismounted from the server or becomes inaccessible. This may occur due to several reasons, such as server crash, force or abrupt shutdown, virus or malware intrusion, or software and hardware failure. Recovery from a corrupt or damaged database can be a tricky situation, depending on the level of damage. In Exchange Server, Microsoft provides a native command-line tool called EseUtil that helps check the status of a database and perform a soft or hard recovery. It also helps restore an EDB file for Dial tone recovery and recovery databases (RDB).

Hard recovery is required when soft recovery fails to repair the database on the server. However, with hard recovery, you must accept data loss as this process purges all corrupt or irrecoverable data from the database permanently. Thus, it’s not recommended to perform hard recovery. Instead, you can use Exchange recovery software to repair the Exchange database without any data loss. The software also recovers accidentally deleted mailboxes and mailbox items during database repair.

Exchange Database File Location

By default, the database is created at the following location when Exchange is installed.

C:\Program Files\Microsoft\Exchange Server\Vxx\Mailbox\<database>

Here, Vxx represents Exchange version.

Exchange database file location

At this location, besides database file, following files are stored,

  • The Exchange Mailbox Database File

An Exchange database (.edb) file stores all mailboxes and data on the server. You may change the database name or location by using Exchange Management Shell (EMS).

exchange database file
  • Log Files

A log file, such as E001.log, holds the transaction records, which are performed on the Exchange.

log files
  • Check Point File

A checkpoint file, such as E001.chk, is used by Exchange server to keep track of relation between the database and log files.

checkpoint file
  • Reserved Log File

These are .jrs format files, such as E00res0001E.jrs, used by Exchange to hold transaction logs when a situation, such as disk full, occurs. It checks the available disk space before committing the changes from log files to database.

reserved log files
  • Temporary Log File  

A temporary log file, such as E00tmo1.log, is used when a new log file is created.

temporary log file

EseUtil Switches

To perform different Exchange maintenance and repair tasks on an inaccessible, corrupt, or damaged database, you can use the following EseUtil switches,

SwitchDescription
Eseutil /DDefragments the offline database file. Helps reduce the overall size of the Exchange database on disk and optimizes the database file for performance. Also helps keep a check on the database health.
Eseutil /RAllows you to restore the database. It replays the transaction log files to bring the database from Dirty Shutdown or inconsistent state to Clean Shutdown or consistent state.
Eseutil /CPerforms hard recovery and displays restore log files of the database.
Eseutil /MIt displays the header information of database files, logs files, & checkpoint files. It also shows the database space allocation and page header information with metadata.
Eseutil /PRepairs corrupt or damaged database. It removes the pages that can’t be repaired. This can lead to data loss as it removes severely damaged content from the database.
Eseutil /GUsed to perform integrity checks. It verifies page level and ESE-level database integrity checks to detect specific inconsistencies with the database.
Eseutil /YCopies large files such as Mailbox Database files fast.
Eseutil /KPerforms checksum tests to verify pages in database file, transaction log file, and checkpoint file.
Eseutil /MHDisplays database state, i.e. Dirty Shutdown (Inconsistent) or Clean Shutdown (Consistent)

Prerequisites to Run EseUtil

Before you run EseUtil to verify, modify, or repair Exchange databases, you must ensure the following prerequisites,

  1. Backup Exchange database file
  2. Administrator access or permissions
  3. Free storage space (at least 1.2 times of database size)

Steps to Use EseUtil for Exchange Database Repair

Below we have discussed the steps and requirements to use EseUtil for repairing the Exchange database. 

Step 1: Locate EseUtil

To use EseUtil, you need to find it. You can find the EseUtil.exe utility in the Bin directory of your Exchange installation. For instance, if you have installed Exchange 2013 or 2016 in C: drive volume, you can locate the EseUtil at the following path,

C:\Program Files\Microsoft\Exchange Server\V15\Bin\
eseutil exe utility

After verifying the path, open the command prompt as administrator and then change the directory path to the EseUtil location by using the following command,

cd C:\Program Files\Microsoft\Exchange Server\V15\Bin
path to bin folder exchange

However, if the EseUtil path is added to the Environment Variables list, you can launch the Command Prompt directly from any location and run EseUtil commands.

Step 2: Check Database Size

If the database size is 10 GB, open the 1221 event ID to check whitespace in the database. Once known, subtract the whitespace database size from the total database size. That’s the minimum storage space required to use EseUtil for Exchange database repair.

Step 3: Check Database State

To identify the database state, use the /MH switch. If the state is displayed as Clean Shutdown, there shouldn’t be any issues and the database can be easily mounted after moving all the log files to a different location.

However, if the database is in Dirty Shutdown state, the database won’t mount. This indicates an inconsistent or corrupt database. This may occur due to missing or deleted log files and when log files are not committed to the database.

The command to check database consistency or state is as follows,

eseutil /mh <database file name>
dirty shutdown state

Step 4: Check Logs

If your database is in Dirty Shutdown, you will see another line under it, which mentions the log file that is required. The next step is to check if the logs are healthy or if there is a problem with the logs. To do this, use the ML prefix with EseUtil and the log path that you can copy from the Log Required section of the report.

eseutil /ml "M:\mbx01\logs"
exchange log file check

This will display the status of logs. If all logs are healthy, you will get a message saying “No damaged log files were found.”

Step 5: Perform Soft Recovery

When the logs are healthy, you can perform soft recovery by using the EseUtil /r parameter.

Eseutil /r e00 /l "M:\mbx01\logs" /d "M:\mbx01\database"
eseutil soft recovery

Once this process is done, you can recheck the database state by using the Eseutil /mh command and then mount the database by using the Mount-Database cmdlet. The repair process may take a while to finish, depending on the damage or size of the database.

Step 6: Perform Hard Recovery

If you still get errors and the database remains in a Dirty Shutdown state, then try to repair the database via hard recovery. But before doing this, you must know that this repair process will purge any data that EseUtil finds as damaged. You need to consider and accept data loss that hard recovery will cause, irrespective of the damage.

To run hard recovery, use the eseutil /p command. Besides, enough storage to process the database, hard recovery could take a considerable amount of time. Also, once you start, you will be reminded about the damage. You must accept the Warning to proceed and repair the Exchange database via EseUtil’s hard recovery.

Hard recovery warning eseutil
integrity checkup

Once done, use the IsInteg tool for Index Repair. IsInteg is a repair only utility that understands relation between tables and records and turns them into folders and messages. The tool is located at the following location,

C:>Program Files>Exchsrvr> bin

Then run the IsInteg test by using the following command,

Isinteg –s <server_name> -fix –test alltests

You may repeat the command multiple times to get rid of errors. Once errors are fixed, you can mount the database.

Further, you can use New-MailboxRepairRequest, if you have Exchange Server 2010 with SP1 or later versions, before mounting the database on the server. One more thing, you cannot stop the process once it started. If you stop it anyway, it may cause even more damage to the database. However, if all goes well, you will be able to mount the database.

new-mailboxexportrequest

Points to Remember Before Using EseUtil for Exchange Database Repair

You must remember the following important points before using the EseUtil:

  1. EseUtil is not a fool-proof utility. It may fail and cause more damage or data loss based on the recovery method you choose and the level of database corruption.
  2. It’s not necessary that you will be able to mount the database after recovery.
  3. Depending on the size of database and the level of damage, your users will not be able to receive, send, or work with their mailboxes during the EseUtil database repair process. This could lead to several hours of downtime and may cause damage to the business.

Alternatively, you can use Stellar Repair for Exchange to do the job effortlessly and in much less time. The application can open a corrupt EDB file from any Exchange Server version. You can then repair the database. It also allows you to perform a granular search with search filters.

The software help extracts mailboxes and saves them in PST format when the database is damaged with no possible way to fix it. This can help avoid downtime and restore user mailboxes so that business can continue. You can also use this EDB Recovery Software to import mailboxes from an EDB file directly into a live Exchange Server database with an automatic mailbox match option.

Besides PST, Stellar Repair for Exchange can also export mailboxes and mailbox items to other file formats, such as EML, PDF, MSG, HTML, & RTF, and directly to an Office 365 account.

About The Author

Eric Simson

Eric Simson is an Email Platform Consultant and is associated with Stellar Data Recovery from last 6 years. He writes about the latest technology tips and provides custom solutions related to MS Outlook, MS Exchange Server, Office 365, and many other Email Clients & Servers.

Best Selling Products

Stellar Data Recovery Professional for Windows

Stellar Data Recovery Professional for Windows

Stellar Data Recovery has the right Windows Recovery tool for all your data recovery

Read More
Stellar Data Recovery Professional for Mac

Stellar Data Recovery Professional for Mac

Stellar Data Recovery for Mac program performs safe..

 

Read More
Stellar Photo Recovery

Stellar Photo Recovery

A comprehensive photo recovery software to restore photos, music & video files

 

Read More
Stellar Repair for Video

Stellar Repair for Video

Powerful video repair tool for repairing corrupt or damaged MOV and other video files

 

Read More

2 comments

  1. adam says:
    November 17, 2020 at 12:51 pm

    Eseutil is taking long time to execute? can you please let me know the solution?

    Reply
    1. Eric Simson says:
      November 18, 2020 at 6:41 am

      it depends upon the damage of database. Also take a note that You should have at least 20% of the exchange database file size in free space.

      PS: Also take a backup of database before doing the repair. You can also check Stellar Repair for Exchange if you want to repair database in minimal downtime.

      Reply

Leave a comment Cancel reply

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

Image Captcha
Refresh Image Captcha

Enter Captcha Here :

Table of Contents    arrow

  1. Exchange Database File Location
  2. EseUtil Switches
  3. Prerequisites to Run EseUtil
  4. Steps to Use EseUtil for Exchange Database Repair
  5. Points to Remember Before Using EseUtil for Exchange Database Repair

Categories

offer banner

Free Trial for 60 Days

Technology You Can Trust A Brand Present Across The Globe

  • tuv1
  • tuv2
  • Nist
  • hipa

Stellar Official Website

Stellar Data Recovery Inc.
48 Bridge Street Metuchen,
New Jersey 08840,
United States

ALSO AVAILABLE AT

ALSO AVAILABLE AT

About

  • About us
  • Career
  • ISMS Policy
  • Privacy Policy
  • Terms of Use
  • License Policy
  • Refund Policy
  • End User License Agreement

RESOURCES

  • Blog
  • Articles
  • Product Videos
  • Knowledge Base
  • Case Studies
  • Whitepapers
  • Software Catalog

NEWS & EVENTS

  • News
  • Events

PARTNERS

  • Affiliates
  • Resellers
  • Distributors

Useful Links

  • Contact Us
  • Support
  • Special Offers
  • Student Discounts
  • Awards & Reviews
  • Downloads
  • Store
  • Sitemap

Stellar & Stellar Data Recovery are Registered Trademarks of Stellar Information Technology Pvt. Ltd. © Copyright 2023 Stellar Information Technology Pvt. Ltd. All Trademarks Acknowledged.

Follow Us Facebook Twitter Linkedin Youtube

  • Notron
  • dcma
Subscribe

Subscribe to our newsletter!

Its good time to subscribe and get the latest promotion

With subscribing you agree with our Privacy Policy

Thank you for Subscribe to our newsletter!

This website uses cookies in order to provide you with the best possible experience and to monitor and improve the performance of the site in accordance with our cookie policy. You can reject cookies at any time in your browser settings.

cookies-cross
Got it