Ouvrir dans l'explorateur

Activer le limiteur de débit d’authentification

Enable authentication rate limiter

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
Au moins Windows Server 2025, Windows 11 EN : At least Windows Server 2025, Windows 11
Fichier ADMX
LanmanServer.admx
Nom interne
LanmanServer/Pol_EnableAuthRateLimiter

Explication

Texte français issu de Windows 11 26H2

Cette stratégie contrôle si le serveur SMB active ou désactive le limiteur de taux d’authentification.

Si vous désactivez ce paramètre de stratégie, le limiteur de taux d’authentification n’est pas activé.

Si vous ne configurez pas ce paramètre de stratégie, le limiteur de taux d’authentification peut continuer à fonctionner en fonction des paramètres de délai (la valeur de délai recommandée est 2 000 ms).

This policy controls whether the SMB server will enable or disable the authentication rate limiter.

If you disable this policy setting, the authentication rate limiter will not be enabled.

If you do not configure this policy setting, the authentication rate limiter may still be working depending on the delay settings (the recommended delay value is 2000ms).

Cas d'usage

Active le limiteur d’authentification du serveur SMB, qui ajoute un délai de 2 secondes après chaque échec NTLM ou Kerberos local : une attaque à 300 essais par seconde pendant 5 minutes prendrait ainsi une cinquantaine d’heures. Il est activé par défaut.

Le désactiver n’a de sens que dans un cas de test ; laissez-le actif sur les serveurs exposés.

Source Microsoft : SMB security hardening

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LanmanServer
Nom de la valeur
EnableAuthRateLimiter
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

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_EnableAuthRateLimiter
$k = 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableAuthRateLimiter' -Value 1 -Type DWord

Désactiver

# Désactiver : LanmanServer/Pol_EnableAuthRateLimiter
$k = 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableAuthRateLimiter' -Value 0 -Type DWord

Revenir à « Non configuré »

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

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