semantic database analysis


Applies To: Windows Server 2003 R2,Windows Server 2003 R2,Windows Server 2003,Windows Server 2003,Windows Server 2008,Windows Server 2008,Windows Server 2003 with SP1,Windows Server 2003 with SP1

Verifies the integrity of Active Directory Domain Services (AD DS) or Active Directory Lightweight Directory Services (AD LDS) database files with respect to Active Directory semantics. At the semantic checker: prompt, type any of the parameters that are listed under “Syntax.”

This is a subcommand of Ntdsutil and Dsdbutil. Ntdsutil and Dsdbutil are command-line tools that are built into Windows Server 2008 and Windows Server 2008 R2. Ntdsutil is available if you have the AD DS or AD LDS server role installed. Dsdbutil is available if you have the AD LDS server role installed. These tools are also available if you install the Active Directory Domain Services Tools that are part of the Remote Server Administration Tools (RSAT). For more information, see How to Administer Microsoft Windows Client and Server Computers Locally and Remotely (http://go.microsoft.com/fwlink/?LinkID=177813).

To use either of these tools, you must run them from an elevated command prompt. To open an elevated command prompt, click Start, right-click Command Prompt, and then click Run as administrator.

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

Syntax


Copy Code

[get %d] [{go | go fixup}] [verbose %s] [{check quota | rebuild quota}]

Parameters

Parameter

Description

check quota

Integrity-checks the quota-tracking table (object owner quotas). This command checks whether the quota table is correct by trying to open the quota-tracking table and getting column information for each predefined column name.

get %d

Retrieves record number %d from the Ntds.dit.

go

Starts the semantic analysis of the Ntds.dit or AD LDS instance with no fixup.

A report is generated and written to a file named Dsdit.dmp.n, in the current directory, where n is an integer that is incremented each time that you carry out the command.

go fixup

Starts the semantic checker with fixup.

verbose %s

Toggles verbose mode on or off.

rebuild quota

Forces asynchronous rebuild of the quota-tracking table.

%d

A numeric variable, such as replication delay time periods.

quit

Takes you back to the previous menu, or exits the utility.

?

Displays Help at the command prompt.

Help

Displays Help at the command prompt.

Remarks

Note

End users should not use this command except when Microsoft requests them to use it as an aid to fault diagnosis.


Copy Code

ac in instance1

Examples

To turn on verbose mode logging, type the following command, and then press ENTER:


Copy Code

semantic checker: verbose on

To start the semantic analysis of the Ntds.dit with no fixup, type the following command, and then press ENTER:


Copy Code

semantic checker: go

Additional references

Command-Line Syntax Key

Dsdbutil

Ntdsutil

authoritative restore

configurable settings

DS behavior

files

group membership evaluation

ifm

LDAP policies

local roles

metadata cleanup

partition management

roles

security account management

set DSRM password

snapshot