Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to manually run the Garbage Collection process in an Active Directory?

<p>Garbage Collection:  At the end of tombstone lifetime, each domain controller removes the tomstoned objects from its copy of the database. This process of removing the tombstoned objects from the database after the tombstone period has completed is known as Garbage Collection</p> <p>Normally the Garbage Collection Interval is12 hours</p>

user-image
Question added by Robin George , Senior Infrastructure Support Engineer , Cordiant Technologies
Date Posted: 2014/09/12
Mutaz Esam Eldin
by Mutaz Esam Eldin , Senior Network and Server Admin , Target

You can initiate garbage collection manually by using a published LDAP control. This doesn’t alter the what objects are collected, nor does it alter how may go into the dumpster. It simply says to do garbage collection right then rather than waiting until the next12 hour interval has passed.

You can use LDP.EXE to do the garbage collection control. Here are the steps:

1. In Ldp.exe, when you click Browse on the Modify menu, leave the Distinguished name box empty.

2. In the Edit Entry Attribute box, type "DoGarbageCollection" (without the quotation marks),

3. In the Values box, type "1" (without the quotation marks).

4. Set the Operation value set to Add and click the Enter button, and then click Run.

It’s possible that the garbage collection you start using the above method could stop in favor of more important tasks like AD replication in the same way as the scheduled garbage collection does. If that happens you can simply repeat the garbage collection steps above until all of the objects are removed.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.