Move Active Directory Database and Log Files
Learn how to move Active Directory database and log files.
July 3, 2013
Q: How can I move my Active Directory database and log files on my Windows 2008 or above domain controller?
A: With Windows Server 2008 and the restartable Directory Service, the domain controller (DC) doesn't have to be started in Directory Services Restore Mode to move the database and log files.
Use the following procedure to move the database and log files. This assumes the new location and folder exists.
Stop the Active Directory Domain Services service by using Services.msc (this will stop several other services as well).
Open an elevated command prompt, then run the commands below, replacing e:tds with your target location:
ntdsutilactivate instance ntdsfilesmove db to e:tdsmove logs to e:tdsfilesintegrityquitquit
Restart the Active Directory Domain Services service.
About the Author
You May Also Like