Alexander’s Blog

October 19, 2005

Moving Active Directory database and log files

by @ 8:17 am. Filed under Active Directory, Tips & Tricks, Windows 2003

Sometimes you may have a need to move your Active Directory database to another location. This could be to improve performance, or you may be running low on disk space.

You can use NTDSUTIL.EXE to move the Active Directory database (ntds.dit file) and the log files. Here’s the procedure.

1. Reboot your domain controller.
2. Press F8 and select Directory Services Restore Mode.
3. Logon as Administrator.
4. Go to the command prompt and type ntdsutil.exe to start the utility. To get help, type a question mark “?”.
5. Type “files” without the quote.
6. To move AD database, type move db %s, where %s is the path where you want to move the database. For example, move db d:\ntds.
7. To move log files type move logs to %s, where %s is the new location for the log files.
8. Type quit a couple of times to exit the utility.
9. Restart the domain controller in the normal mode.

Leave a Reply

Comment spam protected by SpamBam

Contact E-mail | Terms of Use | Privacy Policy

Copyright ©2008 Zubair Alexander. All rights reserved.

Internal Links

Categories

Search Blog

Archives

July 2008
M T W T F S S
« Jun    
 123456
78910111213
14151617181920
21222324252627
28293031  

RSS Feeds

TechGalaxy Visitors

29 queries. 0.389 seconds