An online defragmentation is automatically run after you run the Active Directory garbage collection process in Windows 2000 Server (871003)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server

Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SYMPTOMS

An online defragmentation runs automatically after you run the Active Directory directory service garbage collection process on a computer that is running Microsoft Windows 2000 Server. You may want to separate these processes for performance purposes.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

Windows 2000 Service Pack 4.

Restart requirement

You must restart your computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version            Size    File name
   --------------------------------------------------------------
   24-Mar-2004  02:17  5.0.2195.6876     388,368  Advapi32.dll     
   24-Mar-2004  02:17  5.0.2195.6866      69,904  Browser.dll      
   24-Mar-2004  02:17  5.0.2195.6824     134,928  Dnsapi.dll       
   24-Mar-2004  02:17  5.0.2195.6876      92,432  Dnsrslvr.dll     
   24-Mar-2004  02:17  5.0.2195.6883      47,888  Eventlog.dll     
   24-Mar-2004  02:17  5.0.2195.6890     143,632  Kdcsvc.dll       
   11-Mar-2004  02:37  5.0.2195.6903     210,192  Kerberos.dll     
   21-Sep-2003  00:32  5.0.2195.6824      71,888  Ksecdd.sys
   11-Mar-2004  02:37  5.0.2195.6902     520,976  Lsasrv.dll       
   25-Feb-2004  23:59  5.0.2195.6902      33,552  Lsass.exe        
   19-Jun-2003  20:05  5.0.2195.6680     117,520  Msv1_0.dll       
   24-Mar-2004  02:17  5.0.2195.6897     312,592  Netapi32.dll     
   19-Jun-2003  20:05  5.0.2195.6695     371,984  Netlogon.dll     
   10-Jul-2004  22:41  5.0.2195.6944     933,648  Ntdsa.dll        
   24-Mar-2004  02:17  5.0.2195.6897     388,368  Samsrv.dll       
   24-Mar-2004  02:17  5.0.2195.6893     111,376  Scecli.dll       
   24-Mar-2004  02:17  5.0.2195.6903     253,200  Scesrv.dll       
   04-Jun-2004  23:13  5.0.2195.6935   5,887,488  Sp3res.dll       
   24-Mar-2004  02:17  5.0.2195.6824      50,960  W32time.dll      
   21-Sep-2003  00:32  5.0.2195.6824      57,104  W32tm.exe        
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To resolve this problem and stop the online defragmentation from automatically running after the Active Directory garbage collection process, you must install this hotfix on each domain controller where you want to change the behavior. Also, you must add the following key to the registry. To do this, follow these steps:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate, and then click the following registry subkey:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NTDS\Parameters

  3. Right-click the Parameters subkey, point to New, and then click String Value.
  4. Type DSA Heuristics, and then press ENTER.
  5. Right-click DSA Heuristics, type 0000000001, and then click OK.

    Note There are nine zeros and a one in this registry value.
  6. Close Registry Editor.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

You can also configure the online defragmentation to run for a certian number of seconds. To do this, follow these steps:
  1. Copy the following Visual Basic script to a text editor, such as Notepad, and then save the file by using a .vbs file name extension:
    Set objRootDSE = GetObject("LDAP://rootDSE ")
    
    objRootDSE.Put "DoOnlineDefrag", 90
    objRootDSE.SetInfo
    Note This script will run online defragmentation for 90 seconds. You can adjust this value.
  2. Click Start, click Run, type cmd, and then click OK.
  3. At the command prompt, change to the folder that contains the .vbs file that you saved in step 1.
  4. At the command prompt, type cscript filename.vbs, and then press ENTER. In this command, filename is the name of the file that you chose in step 1.
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Modification Type:MinorLast Reviewed:6/1/2006
Keywords:kbWin2000SP5fix kbRegistry kbWin2000preSP5fix kbBug kbfix kbHotfixServer kbQFE KB871003 kbAudITPRO