• subscribe
July 22, 2002 12:00 AM

Practice Proactive AD Maintenance

Windows IT Pro
InstantDoc ID #25637

This command creates a new compacted copy of ntds.dit in the c:\mydir folder; the system will create the folder if it doesn't already exist. Type

quit

two times to exit the Ntdsutil utility. Replace the current ntds.dit file (using the path you noted above) with the compact version you just created. Delete any log (*.log) files in the active AD database location, as the Ntdsutil utility instructs, and reboot the server.

Although it isn't necessary, regular defragmentation of the AD database on your DCs can help reduce the AD database file size, which in turn can improve directory performance and availability. Because performing an offline defragmentation also provides a degree of database verification (errors will occur during defragmentation if the database is corrupt), it can also serve as a "canary in the coal mine" to alert you to database problems. For additional information about AD defragmentation, see the Microsoft article "Performing Offline Defragmentation of the Active Directory Database" (http://support.microsoft.com/default.aspx?scid=kb;en-us;q232122).

The final article in this series about recovering crucial network services will discuss the "break glass in case of emergency" aspect of AD maintenance: AD repair and recovery procedures and best practices. (For a list of the other articles in the series, see "AD Recovery Resources," page 20.)

Related Reading
AD RECOVERY RESOURCES
You can obtain the following articles from Windows & .NET Magazine's Web site at http://www.winnetmag.com.

SEAN DAILY
"Recovering WINS," March 2002, InstantDoc ID 23833
"Recovering DHCP," September 2001, InstantDoc ID 21841
"Monitoring Your AD-Enabled Network," September 2000, InstantDoc ID 9645

MICROSOFT ARTICLES
"The Active Directory Database Garbage Collection Process"
(http://support.microsoft.com/default.aspx?scid=kb;en-us;q198793)
"Performing Offline Defragmentation of the Active Directory Database" (http://support.microsoft.com/default.aspx?scid=kb;en-us;q232122)




ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here