Wednesday, October 24, 2007

Exchange Tool - ESEUTIL.EXE

ESEUTIL is a tool to defragment your exchange databases offline, to check their integrity and to repair a damaged/lost database.
ESEUTIL is located in the \EXCHSRVR\BIN directory. This directory is not in the system path so you must open the tool in the BIN directory or enhance the system path with the \EXCHSRVR\BIN directory
Exchange 2003 defragments the Exchange database every night. But this is only an online defrag of the database. An online defrag doesn’t reduce the size of the information store. To reduce the size of the databases, you must use an offline defrag.
Under normal conditions you don't need an offline defrag, but when you add tons of new users due to a merger or aquisition or when you delete many objects from the store it can be necessary to do an offline defrag.

Full list of Eseutil switches for Windows Exchange:
  1. Eseutil /cc Performs a hard recovery after a database restore.
  2. Eseutil /mc To determine the space.
  3. Eseutil /d Performs an offline compaction/defragmentation of a database.
  4. Eseutil /g Verifies the integrity of a database.
  5. Eseutil /k Verifies the checksums of a database.
  6. Eseutil /m Generates formatted output of various database file types. e.g. /mh
  7. Eseutil /p Repairs a corrupted or damaged database.
  8. Eseutil /r Performs soft recovery to bring a single database into a consistent or clean shutdown state.
  9. Eseutil /y Copies a database, streaming file, or log file.
Examples:

1. To determine the space availability (110% free space associated with the database to perform the defragmentation):

C:\Program Files\Exchsrvr\bin>eseutil.exe /ms "C:\Program files\Exchsrvr\MDBDATA\priv1.edb"

2. To Defragment the store for compaction of space:

C:\Program Files\Exchsrvr\bin>eseutil.exe /d "C:\Program files\Exchsrvr\MDBDATA\priv1.edb"

3. To check the integrity of database(this integrity check does not support the database recovery like ISINTEG Tool)

C:\Program Files\Exchsrvr\bin>eseutil.exe /g "C:\Program files\Exchsrvr\MDBDATA\priv1.edb"

Like wise eseutil /p - repair is used in congestion with the isinteg to repair the damaged store from the scratch.

Thanks

Logu
logu_microsoft@hotmail.com
91-98414-99143

2 comments:

Anonymous said...

Can anyone recommend the well-priced MSP software for a small IT service company like mine? Does anyone use Kaseya.com or GFI.com? How do they compare to these guys I found recently: N-able N-central service management
? What is your best take in cost vs performance among those three? I need a good advice please... Thanks in advance!

Alexis said...

My nephew John told me about his complicated trouble. I knew that he had problems with Exchange data. I suggested him one determintion, which one of the best in the Inet in my opinion. What is more such application is able to help in this trouble - recover edb files.