Ouvrir dans l'explorateur

Définir le délai du limiteur du taux d’authentification (millisecondes)

Set authentication rate limiter delay (milliseconds)

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Réseau › Serveur Lanman EN : Computer Configuration › Policies › Administrative Templates › Network › Lanman Server
Pris en charge sur
SUPPORTED_Windows_Server_2025_Windows_11_0_24H2
Fichier ADMX
LanmanServer.admx
Nom interne
LanmanServer/Pol_AuthRateLimiterDelayInMs

Explication

Texte français issu de Windows 11 26H2

Cette stratégie détermine si le serveur SMB utilisera une valeur par défaut en millisecondes pour le délai d'authentification non valide.

Si vous configurez ce paramètre de stratégie, le limiteur de taux d'authentification utilisera la valeur spécifiée pour retarder les tentatives d'authentification non valides.

Si vous ne configurez pas ce paramètre de stratégie, le limiteur de taux d'authentification utilisera la valeur par défaut ou la valeur du registre local sous HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters.

This policy controls whether the SMB server will use a default value in milliseconds for the invalid authentication delay.

If you configure this policy setting, the authentication rate limiter will use the specified value for delaying invalid authentication attempts.

If you do not configure this policy setting, the authentication rate limiter will use the default value or the value from local registry under HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LanmanServer
Nom de la valeur
non défini dans l'ADMX

Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : LanmanServer/Pol_AuthRateLimiterDelayInMs
$k = 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Valeur (millisecondes)
Set-ItemProperty -Path $k -Name 'InvalidAuthenticationDelayTimeInMs' -Value 0 -Type DWord  # entre 0 et 10000

Désactiver

# Désactiver : LanmanServer/Pol_AuthRateLimiterDelayInMs
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)

Revenir à « Non configuré »

# Revenir à « Non configuré » : LanmanServer/Pol_AuthRateLimiterDelayInMs
$k = 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer'
Remove-ItemProperty -Path $k -Name 'InvalidAuthenticationDelayTimeInMs' -ErrorAction SilentlyContinue

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
Valeur (millisecondes) :Value (milliseconds):DecimalTextBox_AuthRateLimiterDelayInMsZone numériquedecimalInvalidAuthenticationDelayTimeInMsREG_DWORD
Obligatoire · Min : 0 · Max : 10000 · Défaut (interface) : 0

Disponibilité

Windows 11

✓ 26H2✓ 25H2✓ 24H2— 23H2— 22H2— 21H2

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server

✓ 2025— 2022— 2016