Select the product you need help with
How to complete a semantic database analysis for the Active Directory database by using Ntdsutil.exeArticle ID: 315136 - View products that this article applies to. This article was previously published under Q315136 On This PageSUMMARY
This step-by-step article describes how to run the semantic checker on the Active Directory database. Unlike the file management commands, which test the integrity of the database with respect to the ESENT database semantics, the semantic analysis analyzes the data with respect to Active Directory semantics. You can use this process to generate reports on the number of records present, including deleted and phantom records. The Windows 2000 Directory service opens its files in Exclusive mode. This means that the files cannot be managed while the computer is operating as a domain controller. The first procedure is to boot your server into Directory Services Restore mode. Boot Into Directory Services Restore Mode
Starting Ntdsutil.exe
Complete a Database AnalysisThis procedure starts the semantic analysis of the Ntds.dit file. A report is generated and written to a file that is named Dsdit.dmp.n, in the current folder, where n is an integer that is incremented each time that you run the command.
Retrieve a Specific RecordThis procedure retrieves a specific record number from the Ntds.dit file by using the DNT record number variable. One of the functions of the database layer is to translate each distinguished name into an integer structure that is called the distinguished name tag, which is used for all internal accesses. The database layer guarantees the uniqueness of the distinguished name tag for each database record. To display indices and their associated DNT, use the integrity command in the Files menu of Ntdsutil.exe.
REFERENCES
For more information about how to troubleshoot the Active Directory database, please see the following "Active Directory Diagnostics, Troubleshooting, and Recovery" Microsoft Web site:
http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/distrib/dsbi_add_mhau.mspx
For additional information about how to automate Ntdsutil.exe by using a script, click the following article number to view the article in the Microsoft Knowledge Base:
(http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/distrib/dsbi_add_mhau.mspx)
243267
(http://support.microsoft.com/kb/243267/
)
How to automate Ntdsutil.exe by using a script
PropertiesArticle ID: 315136 - Last Review: October 31, 2006 - Revision: 6.3 APPLIES TO
| Article Translations
|


Back to the top








