12.5. Changing the Intra-Site Replication Interval
Problem
You want to change the number of seconds that a domain controller in a site waits before replicating within the site.
Solution
Using a graphical user interface
Run
regedit.exefrom the command line or Start → Run.Expand HKEY_LOCAL_MACHINE → SYSTEM → CurrentControlSet → Services → NTDS → Parameters.
If a value entry for Replicator notify pause after modify (secs) does not exist, right-click on Parameters and select New → DWORD Value. For the name, enter:
Replicatornotifypauseaftermodify(secs).Double-click on the value and enter the number of seconds to wait before notifying intra-site replication partners.
Click OK.
Using a command-line interface
With the following command, change
<NumSeconds> to the number of
seconds to set the intra-site replication delay to:
> reg add HKLM\System\CurrentControlSet\Services\NTDS\Parameters /v "Replicator[RETURN]
notify pause after modify (secs)" /t REG_DWORD /d <NumSeconds>Using VBScript
' This code sets the intra-site delay interval ' ------ SCRIPT CONFIGURATION ------ strDC = "<DomainControllerName>" ' DC you want to configure intNumSeconds = <NumSeconds> ' Time in seconds to delay ' ------ END CONFIGURATION --------- const HKLM = &H80000002 strNTDSReg = "SYSTEM\CurrentControlSet\Services\NTDS\Parameters" set objReg = GetObject("winmgmts:\\" & strDC & _ "\root\default:StdRegProv") objReg.SetDWORDValue HKLM, strNTDSReg, _ "Replicator notify pause after modify (secs)", _ intNumSeconds WScript.Echo ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access