Home arrow Articles arrow HOW TO: Modify the default garbage collection interval
HOW TO: Modify the default garbage collection interval Print E-mail

By default, the Active Directory garbage collection is twelve hourse. This value can be changed if necessary. To change this value, the garbageCollPeriod attribute of the CN=Directory Service object in the configuration partition must be modified. This object is located here:
CN=Directory Service, CN=Windows NT, CN=Services, CN=Configuration, DC=forest-root-domain, DC=tld
There are several ways of modifying this attributes value, the easiest is using ADSI Edit. The following explains how to modify this attributes value using ADSI Edit.

Note. This article assumes that the Windows 2000 Support Tools have been installed.
  • Load the ADSIEdit snap-in by navigating to start menu, programs, Windows 2000 Support Tools, Tools, ADSI Edit, or simply type adsiedit.msc at the run command.
  • Navigate down to CN=Directory Service, through Configuration, CN=Configuration,DC=domainName,DC=com, CN=Services, CN=Windows NT, right-click and choose properties.
  • In the resultant properties dialog, scroll down to garbageCollPeriod, select this attribute and choose edit.
  • Configure garbageCollPeriod attribute
  • Enter the new value in the resultant dialog box, and then select OK.

The garbage collection interval (garbageCollPeriod) attribute, if in its default state, should have no value defined ( ). The minimum value is 1 hour; the default, as stated, is 12 hours.

Note. The maximum garbage collection interval is one third of the tombstone lifetime (in hours). This can be calculated, using the following simple formula.

Max garbageColPeriod = (tombstoneLifetime / 24) / 0.33 

More information

For more information on Active Directory Garbage Collection and on-line defragmentation, please refer to the msresource.net knowledgebase article:

Document information

Author: Paul Williams
Written: 14-10-2004
Version: 2.0
Last updated: 25-07-2007
Last updated by: Paul Williams




Del.icio.us!Technorati!StumbleUpon!Furl!
 
< Prev