Microsoft KB Archive/257420

= How To Move the Ntds.dit File or Log Files =

Article ID: 257420

Article Last Modified on 10/31/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server

-



This article was previously published under Q257420





IN THIS TASK
SUMMARY
 * Moving a Database or Log File



SUMMARY
This article describes how to move the Active Directory database file, Ntds.dit, and the Active Directory log files to different drives to improve performance.

back to the top

Moving a Database or Log File

 * 1) Restart the domain controller.
 * 2) Press F8 at the Startup menu, and then click Directory Services Restore Mode.
 * 3) Select the appropriate installation if more than one exists, and then log on as an administrator at the logon prompt.
 * 4) Start a command prompt, and then type ntdsutil.exe .NOTE: To get a list of commands that you can use at the Ntdsutil prompt, type ?.


 * 1) At a Ntdsutil prompt, type files.
 * 2) At the File Maintenance prompt, use one or both of the following procedures:
 * 3) * To move a database, type move db to, where   is the drive and folder where you want the database moved.
 * 4) * To move log files, type move logs to, where   is the drive and folder where you want the log files moved.
 * 5) To view the log files or database, type info. To verify the integrity of the database at its new location, type integrity.
 * 6) Type quit, and then type quit to return to a command prompt.
 * 7) Restart the computer in Normal mode.

NOTE: When you move the database and log files, you must back up the domain controller.

If you do not press F8 in time to select the installation method:
 * 1) Log on as an administrator, double-click System in Control Panel, and then click the Advanced tab.
 * 2) Click Startup and Recovery, and then verify that the Display list of operating systems for   seconds check box is selected.
 * 3) Restart the domain controller, and then press F8.

back to the top

Additional query words: ntds dit

Keywords: kbenv kbhowtomaster KB257420

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.