Esentutl /integrity

 

Applies To: Windows Server 2008, Windows Server 2012, Windows 8

Verifies integrity of a database.

For examples of how to use this command, see Examples.

Syntax

Esentutl /g <database name> [options]

Parameters

Parameter: <database name>

Description: The file name of the database to verify.

<options>: You can specify zero or more of the options that are listed in the following table. Separate each option with a space.

Option

Description

/t<database_name>

Sets the temporary database name. The default is tempinteg*.edb

/f<name>

Set prefix to use for name of report files (default: <database>.integ.raw)

/2

Sets the database page size to 2k. The default is auto-detect.

/4

Sets the database page size to 4k. The default is auto-detect.

/8

Sets the database page size to 8k. The default is auto-detect.

/16

Sets the database page size to 16k. The default is auto-detect.

/32

Sets the database page size to 32k. The default is auto-detect.

/o

Suppresses the logo.

Remarks

Integrity-check does not run database recovery. If a database is in a “Dirty Shutdown” state it is strongly advised that before proceeding with an integrity check, recovery is first run to complete database operations for the previous shutdown.

Examples

The following command verifies the integrity of the Active Directory database that is stored in the default location:

Esentutl /g c:\Windows\NTDS\ntds.dit

Additional references

Command-Line Syntax Key

Esentutl