Open in the explorer

Configure the system to clear the TPM if it is not in a ready state.

Configurez le système pour effacer le module de plateforme sécurisée (TPM) s'il n'est pas en mode prêt.

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 1709 FR: Windows Server 2016, Windows 10 version 1709 ou versions supérieures
ADMX file
TPM.admx
Internal name
TPM/ClearTPMIfNotReady_Name

Explanation

This policy setting configures the system to prompt the user to clear the TPM if the TPM is detected to be in any state other than Ready. This policy will take effect only if the system’s TPM is in a state other than Ready, including if the TPM is “Ready, with reduced functionality”. The prompt to clear the TPM will start occurring after the next reboot, upon user login only if the logged in user is part of the Administrators group for the system. The prompt can be dismissed, but will reappear after every reboot and login until the policy is disabled or until the TPM is in a Ready state.

French text from Windows 11 26H2

Ce paramètre de stratégie configure le système de sorte à inviter l'utilisateur à effacer le TPM si le TPM est détecté comme étant dans un mode autre que le mode prêt. Cette stratégie prendra effet à condition que le TPM du système soit dans un mode autre que le mode prêt, y compris si le TPM est « Prêt à être utilisé, avec des fonctionnalités réduite ». L'invitation à nettoyer le TPM commencera après le prochain redémarrage, après la connexion de l'utilisateur et seulement si l'utilisateur connecté fait partie du Groupe Administrateurs pour le système. L'invitation peut être ignorée, mais elle réapparaîtra après chaque redémarrage et chaque connexion, jusqu'à ce que la stratégie soit désactivée ou que le TPM soit en mode prêt.

Use cases

Prompts administrators to clear the TPM when it is not in the Ready state, including "Ready, with reduced functionality". It helps bring back machines whose TPM stayed in an intermediate state after deployment or reinstall.

The prompt reappears until the TPM is ready; clearing removes the keys it protects, so use care on machines that are already encrypted.

Microsoft source: TPM Group Policy settings

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\TPM
Value name
ClearTPMIfNotReadyGP
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/ClearTPMIfNotReady_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 'ClearTPMIfNotReadyGP' -Value 1 -Type DWord

Disable

# Disable: TPM/ClearTPMIfNotReady_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 'ClearTPMIfNotReadyGP' -Value 0 -Type DWord

Revert to "Not configured"

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

Availability

Windows Server