Export (0) Print
Expand All

Esentutl /repair

Updated: November 14, 2012

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

Repairs a corrupted or damaged database.

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

Esentutl /p <database name> [options]

 

Parameter Description

<database name>

The file name or database to repair.

<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 temprepair*.edb

/f <name>

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

/g

Run integrity check before repairing.

/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.

Repair does not run database recovery. If a database is in “Dirty Shutdown” state, it is strongly recommended that before proceeding with repair, recovery is first run to properly complete database operations for the previous shutdown.

The /g option pauses the utility for user input before repair is performed if corruption is detected. This option overrides the /o option.

The following example repairs a corrupted Active Directory database in the default location:

Esentutl /p c:\windows\ntds\ntds.dit

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft