How To Browse NTDS.DIT Offline

by [Published on 22 Jan. 2009 / Last Updated on 13 Oct. 2008]

This article shows how you can browse the NTDS.DIT (Active Directory database file) offline by using the DSAMIN command in Windows Server 2008.

In Windows Server 2008, you can mount the backup image and then load it using the DSAMIN command line utility to browse the data offline. This is how you do to browse the Active Directory data offline:


Type the following commands in a sequence

  • Ntdsutil snapshot at command prompt
  • List All
  • Mount 1
  • Open another command prompt, type:

dsamin -dbpath C:\$SNAP__VOLUMEC$\Windows\NTDS\ntds.dit -ldapport 5000

  • Launch LDP.exe
  • Click Connection > Connect
  • Change the Port to 5000 and Click Ok
  • Click View > Tree


See Also

The Author — Nirmal Sharma

Nirmal Sharma avatar

Nirmal Sharma is a MCSEx3, MCITP and was awarded the Microsoft MVP award in Directory Services and Windows Networking. He specializes in Microsoft Azure, Office 365, Directory Services, Failover Clusters, Hyper-V, PowerShell Scripting and System Center products. Nirmal has been involved with Microsoft Technologies since 1994. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles on various sites and contributing to PowerShell-based Dynamic Packs for www.ITDynamicPacks.Net solutions.

Featured Links