Open in the explorer

Set scavenge interval

Définir l’intervalle de nettoyage

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Net Logon FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Net Logon
Supported on
At least Windows Server 2003 operating systems or Windows XP Professional FR: Au minimum Windows Server 2003 ou Windows XP Professionnel
ADMX file
Netlogon.admx
Internal name
Netlogon/Netlogon_ScavengeInterval

Explanation

This policy setting determines the interval at which Netlogon performs the following scavenging operations:

- Checks if a password on a secure channel needs to be modified, and modifies it if necessary.

- On the domain controllers (DC), discovers a DC that has not been discovered.

- On the PDC, attempts to add the <DomainName>[1B] NetBIOS name if it hasn’t already been successfully added.

None of these operations are critical. 15 minutes is optimal in all but extreme cases. For instance, if a DC is separated from a trusted domain by an expensive (e.g., ISDN) line, this parameter might be adjusted upward to avoid frequent automatic discovery of DCs in a trusted domain.

To enable the setting, click Enabled, and then specify the interval in seconds.

French text from Windows 11 26H2

Ce paramètre de stratégie détermine l’intervalle selon lequel Netlogon effectue les opérations de nettoyage suivantes :

- Vérification de la nécessité de modifier un mot de passe sur un canal sécurisé, et modification si nécessaire.

- Sur les contrôleurs de domaine, découverte d’un contrôleur de domaine qui n’a pas été découvert.

- Sur le contrôleur de domaine principal, tentative d’ajout du nom NetBIOS <nom_domaine>[1B] si celui-ci n’a pas déjà été correctement ajouté.

Aucune de ces opérations n’est critique. La valeur optimale est de 15 minutes pour tous les cas, sauf les plus extrêmes. Par exemple, si un contrôleur de domaine est séparé d’un domaine approuvé par une ligne coûteuse (par exemple, RNIS), ce paramètre peut être ajusté à une valeur supérieure pour éviter la découverte automatique fréquente des contrôleurs de domaine dans un domaine approuvé.

Pour activer le paramètre, cliquez sur Activer et spécifiez l’intervalle en secondes.

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_ScavengeInterval
$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 'ScavengeInterval' -Value 900 -Type DWord  # maximum 4294967200

Disable

# Disable: Netlogon/Netlogon_ScavengeInterval
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": Netlogon/Netlogon_ScavengeInterval
$k = 'HKLM:\Software\Policies\Microsoft\Netlogon\Parameters'
Remove-ItemProperty -Path $k -Name 'ScavengeInterval' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Seconds:Secondes :Netlogon_ScavengeIntervalLabelNumeric boxdecimalScavengeIntervalREG_DWORD
Max: 4294967200 · Default (UI): 900

Availability