Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All doOnlineDefrag

This operation is triggered by setting the doOnlineDefrag attribute to a non-negative integer. The requester must have the "Do-Garbage-Collection" control access right on the nTDSDSA object for the DC. The following shows an LDIF sample that performs this operation.

 changetype: modify
 replace: doOnlineDefrag
 doOnlineDefrag: 60

The effects of doOnlineDefrag are outside the state model. An update of doOnlineDefrag causes an online defragmentation of the DC's directory database. If the doOnlineDefrag value is positive, it starts the defragmentation task, which runs until complete or until the specified number of seconds have elapsed. If the doOnlineDefrag value is zero, the defragmentation task is stopped if it is running.

© 2015 Microsoft