Open in the explorer

Set authentication rate limiter delay (milliseconds)

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

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Network › Lanman Server FR: Configuration ordinateur › Stratégies › Modèles d'administration › Réseau › Serveur Lanman
Supported on
SUPPORTED_Windows_Server_2025_Windows_11_0_24H2
ADMX file
LanmanServer.admx
Internal name
LanmanServer/Pol_AuthRateLimiterDelayInMs

Explanation

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.

French text from 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.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LanmanServer
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: LanmanServer/Pol_AuthRateLimiterDelayInMs
$k = 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Value (milliseconds)
Set-ItemProperty -Path $k -Name 'InvalidAuthenticationDelayTimeInMs' -Value 0 -Type DWord  # between 0 and 10000

Disable

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

Revert to "Not configured"

# Revert to "Not configured": LanmanServer/Pol_AuthRateLimiterDelayInMs
$k = 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer'
Remove-ItemProperty -Path $k -Name 'InvalidAuthenticationDelayTimeInMs' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Value (milliseconds):Valeur (millisecondes) :DecimalTextBox_AuthRateLimiterDelayInMsNumeric boxdecimalInvalidAuthenticationDelayTimeInMsREG_DWORD
Required · Min: 0 · Max: 10000 · Default (UI): 0

Availability

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