Active Directory Database Location in Windows Server

In this blog post, I will show you how to find the location of your Active Directory database on Windows Server domain controller.

About Active Directory DB

The entire Active Directory configuration and objects are stored in a database file that is installed on each DC in the forest.

The location of the Active Directory database is:

%SystemRoot%\NTDS

If you didn’t change the default configuration, you would find it under:

C:\Windows\NTDS

Below you can see all the files that the database is using inside the NTDS folder.

Open With PowerShell

If you prefer to use PowerShell or using Windows Server Core, use the following command to open the database.

cd $env:SystemRoot\ntds

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.