Windows

Move Windows 2000 Server Active Directory database files

Active Directory will shut down the Windows 2000 Server system if it runs out of space. If you're very low on hard disk space and you can't delete any more files from the drive, here's how you can add a new hard drive and move AD files to it.

Active Directory (AD) will shut down the Windows 2000 Server system if it runs out of space. If you're very low on hard disk space and you can't delete any more files from the drive, you can add a new hard drive and move AD files to it.

Remember that before you actually move any of the AD files, you need to create a backup. This backup will serve as an emergency exit if something goes wrong. After you create a backup, follow these steps:

  1. Restart Windows 2000 Domain Controller in the Directory Services Restore mode.
  2. Log on as the local administrator with the password you specified when you installed AD.
  3. Open the command prompt and run Ntdsutil.
  4. At the Ntdsutil prompt, type files and press [Enter].
  5. Type move DB to x:\path, where x:\path represents the full path to the directory that will hold the AD database.
  6. To exit, type quit and press [Enter] twice.

To move transactional log files, in step five, type move logs to x:\path instead of move DB to x:\path.

Miss a Windows 2000 Server tip?

Check out the Windows 2000 Server archive, and catch up on previous Windows 2000 Server columns.

Want more Windows 2000 Server tips and tricks? Automatically sign up for our free Windows 2000 Server newsletter, delivered each Tuesday!

1 comments
katosm2u
katosm2u

In Windows NT Servers, we had Backup Domain Controllers or simply BDCs.If the hard drive ran out of space,we could use the BDC to back up the Primary Domain Controller's (PDC's) database files.The Windows 2000 Active Directory replaced the PDC and BDC of the Windows NT times.The NT Server system used a server-based security model,where security precautions,like user accounts,passwords and so on, were located on each server;what type of security do you recommend for the Windows 2000 Server Active Directory database files before/after backup?

Editor's Picks