Eseutil Defrag

Home » Eseutil switches and Commands

What are eseutil switches?

Microsoft offers Exchange Server Database repair software for Exchange Server users so that they can deal with EDB file's related issues proficiently. Exchange eseutil switches and commands let you perform functions such as verification, alteration, or database repair. Eseutil is basically a command-line way to work with Extensible Storage Engine (ESE) database files and allied log files of MS Exchange Server database.

Download Software     Purchase Software

Where are eseutil switches located?

Eseutil software is located in the Exchange default install folder, i.e: <Drive>:\Program Files\Microsoft\Exchange Server\Bin

Earlier versions of JET utility are located in the Exchsrvr\Bin directory. Since JET97 is utilized by applications other than Exchange Server; therefore, it must be considered a shared system software. This is so because of the way JET is designed, as a shared system tool.

How eseutil tool work?

Suppose an Exchange database gets corrupt or damaged, then you can restore data from backup or repair it using Eseuti switches and commands. Eseuti switches and commands can be used to run on a single database at a time using the command prompt. As discussed earlier too, eseutil can be utilized to carry out an array of database tasks such as repair, offline defragmentation, and integrity checks.

Eseutil switches and commands allow you to inspect the structure of the database tables and records at lower level of database i.e. at ese.dll. For example- Defragmentation switch i.e. eseutil /D can be used to compact a database offline. Using other eseutil switches and commands like repair, recovery, and restore, you can repair a corrupt, damaged EDB database. Similarly, modes including integrity, file dump, and checksum can be used to confirm the healthy state of databases.

Available Eseutil switches

Here are the Eseutil switches and the description of what these tools can do:

Switch Description
/D Allows you to defragment database offline but leaves the new ones. Reduces overall size of EDB database on disk by discarding the empty pages and rebuilding indexes.
/P Enables you to repair corrupt offline database by discarding the pages it cannot repair. It lets you fix individual tables but does not maintain the relationships between tables.
/C Shows restore log file (Restore.env file) and manages hard recovery after retrieval from backups.
/R Allows you to recover databases by replaying transaction log files or rolling them over to retrieve database to a consistent state.
/G Performs integrity check for EDB database by confirming page level and ESE level logical integrity of database.
/M Lets you dump header information of a database and log files. Shows headers of database files, transaction log files and checkpoint files as well as database page header information, metadata and database space allocation.
/K Performs checksum tests for a database, log files as well as checkpoint files.
/Y Copies large files such as Mailbox Database files fast.

These eseutil switches and commands help the user to verify, modify, and repair Exchange databases flawlessly. Use eseutil /P and eseutil /R commands to repair databases and restore important data. These commands let you repair EDB databases easily but at times, you might not be able to restore your data efficiently suing eseutil commands. At that time, to restore your data in such situations, you can always rely on Exchange Server recovery tool and rest assured of optimum data safety.

Read More Topics
Cash Back Guarantee
Software Awards