Use maximum DC discovery retry interval setting for background callers
Utiliser le paramètre Intervalle maximal de tentatives de découverte de contrôleur de domaine initial pour les appelants en arrière plan
Explanation
This policy setting determines the maximum retry interval allowed when applications performing periodic searches for Domain Controllers (DCs) are unable to find a DC.
For example, the retry intervals may be set at 10 minutes, then 20 minutes and then 40 minutes, but when the interval reaches the value set in this setting, that value becomes the retry interval for all subsequent retries until the value set in Final DC Discovery Retry Setting is reached.
The default value for this setting is 60 minutes (60*60). The maximum value for this setting is 49 days (0x49*24*60*60=4233600). The minimum value for this setting is 0.
If the value for this setting is smaller than the value specified for the Initial DC Discovery Retry Setting, the Initial DC Discovery Retry Setting is used.
Warning: If the value for this setting is too large, a client may take very long periods to try to find a DC.
If the value for this setting is too small and the DC is not available, the frequent retries may produce excessive network traffic.
Ce paramètre de stratégie détermine l’intervalle maximal entre les tentatives autorisé lorsque les applications qui effectuent des recherches périodiques pour les contrôleurs de domaine ne trouvent pas de contrôleur de domaine.
Par exemple, les intervalles avant une nouvelle tentative peuvent être définis toutes les 10 minutes, 20 minutes puis 40 minutes, mais lorsque l’intervalle atteint la valeur définie dans ce paramètre, cette valeur devient l’intervalle avant nouvelle tentative pour toutes les tentatives suivantes jusqu’à ce que la valeur définie dans le paramètre Tentative finale de découverte de contrôleur de domaine soit atteinte.
La valeur par défaut pour ce paramètre est 60 minutes (60*60). La valeur maximale pour ce paramètre est 49 jours (0x49*24*60*60=4 233 600). La valeur minimale pour ce paramètre est 0.
Si la valeur pour ce paramètre est inférieure à la valeur spécifiée pour le paramètre Tentative initiale de découverte de contrôleur de domaine, le paramètre Tentative initiale de découverte de contrôleur de domaine est utilisé.
Avertissement : si la valeur pour ce paramètre est trop importante, il est possible que le client utilise des périodes de recherche de contrôleurs de domaine trop longues.
Si la valeur pour ce paramètre est trop faible et que le contrôleur de domaine n’est pas disponible, de nouvelles tentatives trop fréquentes risquent de générer un trafic réseau excessif.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Netlogon\Parameters- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: Netlogon/Netlogon_BackgroundRetryMaximumPeriod
$k = 'HKLM:\Software\Policies\Microsoft\Netlogon\Parameters'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Seconds
Set-ItemProperty -Path $k -Name 'BackgroundRetryMaximumPeriod' -Value 3600 -Type DWord # maximum 4233600Disable
# Disable: Netlogon/Netlogon_BackgroundRetryMaximumPeriod
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": Netlogon/Netlogon_BackgroundRetryMaximumPeriod
$k = 'HKLM:\Software\Policies\Microsoft\Netlogon\Parameters'
Remove-ItemProperty -Path $k -Name 'BackgroundRetryMaximumPeriod' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Seconds:Secondes :Netlogon_BackgroundRetryMaximumPeriodLabel | Numeric boxdecimal | BackgroundRetryMaximumPeriod | REG_DWORD | Max: 4233600 · Default (UI): 3600 |