11.30. Changing the Interval at Which the KCC Runs
You want to change the interval at which the KCC runs.
Using a graphical user interface
regedit.exefrom the command line or Start → Run.
Expand HKEY_LOCAL_MACHINE → SYSTEM → CurrentControlSet → Services → NTDS → Parameters.
Right-click on Parameters and select New → DWORD Value.
Enter the following for the name:
Repl topology update period (secs).
Double-click on the new value and under Value data enter the KCC interval in number of seconds (900 is the default).
Using a command-line interface
> reg add HKLM\System\CurrentControlSet\Services\NTDS\Parameters /v "Repl topology[RETURN] update period (secs)" /t REG_DWORD /d <
' This code changes the interval in which the KCC runs. ' ------ SCRIPT CONFIGURATION ------ intNumSecs = <
NumSecs> ' Number of seconds between intervals ' 900 is default ' ------ END CONFIGURATION --------- strNetlogonReg = "SYSTEM\CurrentControlSet\Services\NTDS\Parameters" const HKLM = &H80000002 Set objReg = GetObject("winmgmts:root\default:StdRegProv") objReg.SetDWORDValue HKLM, strNetlogonReg, _ "Repl topology update period (secs)", _ intNumSecs WScript.Echo "KCC interval set to " & intNumSecs
By default, the KCC checks its connections ever 15 minutes and makes changes as necessary. You can modify this interval by simply modifying the registry. This was necessary with many Windows 2000 implementations that had large topologies. In that case, the KCC may ...