Solved

Garbage Collection Active Directory 2003

Posted on 2014-01-02
5
776 Views
Last Modified: 2014-02-05
Our DC does not have a set garbage collection so the default is 60 days.... What way can I do to find out the last time garbage collection was performed? Please advise.

Thanks!
0
Comment
Question by:syseng007
5 Comments
 
LVL 53

Expert Comment

by:Will Szymkowski
Comment Utility
This process by default runs on an interval of 12 hours and default deletion period of 60 days. You can view the objects using ldp.exe.

Changing Garbage Collection Poll - http://support.microsoft.com/kb/198793

Changing deletion time period - http://support.microsoft.com/kb/555994

View deleted objects in AD - http://support.microsoft.com/kb/258310

Will.
0
 
LVL 35

Accepted Solution

by:
Mahesh earned 500 total points
Comment Utility
Garbage collection is a housekeeping process that is designed to free space within the Active Directory database
if you want to check if Garbage collection is running successfully, You can use LDP.EXE to do the garbage collection forcefully. Here are the steps to be performed on domain controller with domain admins account.

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.

After this immediately check latest directory service event logs for how many objects got deleted as garbage collection process. I forgot the event ID

A maximum of 5,000 expired tombstones can be deleted at one time. If the number of expired tombstones exceeds 5,000, more than one garbage collection interval is required to clear the backlog or you can run above command multiple times.

Mahesh
0
 

Author Comment

by:syseng007
Comment Utility
Hi All, Thank you for the info. I don't want to change any settings. Just curious if there's a way to determine the last time a garbage collection was performed like in the event viewer or something....
0
 
LVL 35

Expert Comment

by:Mahesh
Comment Utility
The above command will not change any settings, it will just trigger garbage collection once manually to ensure that things are working as expected, nothing else.
You could run it once and find out the event id that triggers afterword's and then keep eye on that event id from next interval if its working properly

Mahesh
0
 
LVL 34

Expert Comment

by:Seth Simmons
Comment Utility
this article explains garbage collection and white space clearing from AD database

in a nutshell, it shows how to change garbage collection logging which will cause event ID 1646 to appear in the ADDS log.  by default, it will only log errors

Returning Unused Disk Space from the Active Directory Database to the File System

http://technet.microsoft.com/en-us/library/cc759378%28v=ws.10%29.aspx
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now