Determine the Location of the DIT in Active Directory Domain Services (AD DS)
Beginning in Windows Server 2008, you can check the location of the DIT (directory information tree) without booting the domain controller into DSRM (directory services restore mode). This can be done by stopping the NTDS service and using NTDSUTIL.
To determine the location of the DIT in AD DS:
- Open a command prompt with administrative privileges.
- Type net stop NTDS.
- When prompted to stop the related services (Kerberos Key Distribution Center, Intersite Messaging, DNS Server and DFS Replication), type Y.
- Type NTDSUTIL.
- Type Activate Instance NTDS.
- Type Files.
- Type Info.
After you type info and hit enter, the output will list the DS Path information which includes the location of the database (the DIT file), the backup, working, and log directories.
Once you have the information you need, type Quit twice to exit NTDSUTIL. At the command prompt type net start NTDS to restart the AD DS service. This will also restart the related services listed above.
To perform this operation in Windows Server 2003 see,** **Determine the database size and location offline. ** **