
To do a Eseutil /K checksum with basic syntax
-
Enter this basic syntax at the command line to checksum an ESE database, streaming database, transaction log, or checkpoint file:
Note: |
|---|
|
Replace <filename> with the path and name of the file that you want to checksum
|
The following optional command-line switches are associated with the /K switch:
-
/s<filename> Use this switch to specify the streaming file name. The default setting is none.
-
/t<db> Use this switch to specify the temporary database name. The default name is Tempchksum*.edb.
-
/e Use this switch if you do not want to perform a checksum procedure on the database file.
-
/i Use this switch if you do not want to perform a checksum procedure on the streaming file.
-
/o Use this switch to suppress the Microsoft logo.

To use Eseutil to checksum only the .EDB or .STM file
-
Click Start, and then click Run.
-
In the Open box, type cmd, and then click OK
-
Switch to the C:\Program Files\ExchSrvr\Bin folder, type one of the following commands (as appropriate for your situation), and then press Enter:
-
To check the integrity of the public information store database:
ESEUTIL /K "c:\program files\exchsrvr\mdbdata\pub1.stm"
-
To check the integrity of the private information store database:
ESEUTIL /K "c:\program files\exchsrvr\mdbdata\priv1.stm"
If you want to save time by checksumming only the files in question, you can use the /E (ignore EDB) or /I (ignore stm) switches. If you use the /E switch, the checksum table for the streaming database is read from the edb file, but no other edb file pages are checksummed. Using the .stm file name in checksum mode will checksum only the first two header pages of the streaming database. For example:
ESEUTIL /K priv1.edb /E (checksums stm file only)
ESEUTIL /K priv1.edb /I (checksums edb file only)
ESEUTIL /K priv1.stm (checksums stm header pages only)
Note You cannot checksum the whole streaming file unless the database files are in a Clean Shutdown state. This is because the table storing the checksums in the streaming file is in the edb file. If the database is not in Clean Shutdown state, you cannot know for sure that this table is completely up to date and valid.