Open in the explorer

Configure the system to use legacy Dictionary Attack Prevention Parameters setting for TPM 2.0.

Configurez le système pour qu’il utilise le paramètre Paramètres de prévention des attaques de dictionnaire pour TPM 2.0.

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Trusted Platform Module Services FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Services de module de plateforme sécurisée
Supported on
At least Windows Server 2016, Windows 10 Version 1703 FR: Windows Server 2016, Windows 10 version 1703 ou versions supérieures
ADMX file
TPM.admx
Internal name
TPM/UseLegacyDAP_Name

Explanation

This policy setting configures the TPM to use the Dictionary Attack Prevention Parameters (lockout threshold and recovery time) to the values that were used for Windows 10 Version 1607 and below. Setting this policy will take effect only if a) the TPM was originally prepared using a version of Windows after Windows 10 Version 1607 and b) the System has a TPM 2.0. Note that enabling this policy will only take effect after the TPM maintenance task runs (which typically happens after a system restart). Once this policy has been enabled on a system and has taken effect (after a system restart), disabling it will have no impact and the system's TPM will remain configured using the legacy Dictionary Attack Prevention parameters, regardless of the value of this group policy. The only way for the disabled setting of this policy to take effect on a system where it was once enabled is to a) disable it from group policy and b)clear the TPM on the system.

French text from Windows 11 26H2

Ce paramètre de stratégie configure le module de plateforme sécurisée (TPM) afin qu’il utilise les paramètres de prévention d’attaque par dictionnaire (seuil de verrouillage et temps de récupération) avec les valeurs définies pour Windows 10 Version 1607 et inférieure. La configuration de cette stratégie entre uniquement en vigueur dans les cas suivants : a) le TPM a été préparé à l’origine à l’aide d’une version ultérieure à Windows 10 Version 1607 et b) le système est équipe d’un TPM 2.0. L’activation du paramètre de cette stratégie prend uniquement effet une fois la tâche de maintenance TPM effectuée (celle-ci a généralement lieu après un redémarrage système). Lorsque cette stratégie est activée et effective après le redémarrage système, sa désactivation n’a aucun impact et le TPM du système reste configuré à l’aide des paramètres de prévention d’attaque par dictionnaire, quelle que soit la valeur de cette stratégie de groupe. Pour réactiver ce paramètre de stratégie précédemment désactivé, sur un système vous pouvez a) le désactiver dans la stratégie de groupe ou b) effacer le TPM du système.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\TPM
Value name
UseLegacyDictionaryAttackParameters
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

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

Disable

# Disable: TPM/UseLegacyDAP_Name
$k = 'HKLM:\Software\Policies\Microsoft\TPM'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UseLegacyDictionaryAttackParameters' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": TPM/UseLegacyDAP_Name
$k = 'HKLM:\Software\Policies\Microsoft\TPM'
Remove-ItemProperty -Path $k -Name 'UseLegacyDictionaryAttackParameters' -ErrorAction SilentlyContinue

Availability

Windows Server