Configure TPM platform validation profile for native UEFI firmware configurations
Configurer le profil de validation de plateforme du module de plateforme sécurisée pour les configurations avec microprogramme UEFI natif
Explanation
This policy setting allows you to configure how the computer's Trusted Platform Module (TPM) security hardware secures the BitLocker encryption key. This policy setting does not apply if the computer does not have a compatible TPM or if BitLocker has already been turned on with TPM protection.
Important: This group policy only applies to computers with a native UEFI firmware configuration. Computers with BIOS or UEFI firmware with a Compatibility Service Module (CSM) enabled store different values into the Platform Configuration Registers (PCRs). Use the "Configure TPM platform validation profile for BIOS-based firmware configurations" group policy setting to configure the TPM PCR profile for computers with BIOS configurations or computers with UEFI firmware with a CSM enabled.
If you enable this policy setting before turning on BitLocker, you can configure the boot components that the TPM will validate before unlocking access to the BitLocker-encrypted operating system drive. If any of these components change while BitLocker protection is in effect, the TPM will not release the encryption key to unlock the drive and the computer will instead display the BitLocker Recovery console and require that either the recovery password or recovery key be provided to unlock the drive.
If you disable or do not configure this policy setting, BitLocker uses the default platform validation profile for the available hardware or the platform validation profile specified by the setup script. A platform validation profile consists of a set of Platform Configuration Register (PCR) indices ranging from 0 to 23.
On PCs that lack Secure Boot State (PCR 7) support, the default platform validation profile secures the encryption key against changes to the core system firmware executable code (PCR 0), extended or pluggable executable code (PCR 2), boot manager (PCR 4), and the BitLocker access control (PCR 11).
When Secure Boot State (PCR7) support is available, the default platform validation profile secures the encryption key using Secure Boot State (PCR 7) and the BitLocker access control (PCR 11).
Warning: Changing from the default platform validation profile affects the security and manageability of your computer. BitLocker's sensitivity to platform modifications (malicious or authorized) is increased or decreased depending upon inclusion or exclusion (respectively) of the PCRs. Specifically, setting this policy with PCR 7 omitted, will override the "Allow Secure Boot for integrity validation" group policy, preventing BitLocker from using Secure Boot for platform or Boot Configuration Data (BCD) integrity validation. Setting this policy may result in BitLocker recovery when firmware is updated. If you set this policy to include PCR 0, suspend BitLocker prior to applying firmware updates.
It is recommended to not configure this policy, to allow Windows to select the PCR profile for the best combination of security and usability based on the available hardware on each PC.
Ce paramètre de stratégie vous permet de configurer la façon dont le matériel de sécurité du module de plateforme sécurisée (TPM) de l'ordinateur sécurise la clé de chiffrement BitLocker. Ce paramètre de stratégie ne s'applique pas si l'ordinateur ne possède pas de TPM compatible ou si BitLocker a déjà été activé avec la protection TPM.
Important : cette stratégie de groupe s'applique uniquement aux ordinateurs dotés d'une configuration de microprogramme UEFI native. Les ordinateurs dotés d'un BIOS ou d'un microprogramme UEFI avec un module de service de compatibilité (CSM) activé stockent des valeurs différentes dans les registres de configuration de plateforme (PCR). Utilisez le paramètre de stratégie de groupe « Configurer le profil de validation de plateforme du module de plateforme sécurisée pour les configurations de microprogramme BIOS » pour configurer le profil PCR TPM pour les ordinateurs dotés de configurations de BIOS ou les ordinateurs avec un microprogramme UEFI avec un CSM activé.
Si vous activez ce paramètre de stratégie avant d'activer BitLocker, vous pouvez configurer les composants de démarrage que le TPM validera avant de déverrouiller l'accès au lecteur du système d'exploitation chiffré par BitLocker. Si l'un de ces composants change alors que la protection BitLocker est en vigueur, le TPM ne libère pas la clé de chiffrement pour déverrouiller le lecteur et l'ordinateur affiche à la place la console de récupération BitLocker et exige le mot de passe de récupération ou la clé de récupération pour déverrouiller le lecteur.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, BitLocker utilise le profil de validation de plateforme par défaut pour le matériel disponible ou le profil de validation de plateforme spécifié par le script d'installation. Un profil de validation de plateforme se compose d'un ensemble d'indices de registre de configuration de plateforme (PCR) variant de 0 à 23.
Sur les ordinateurs qui n'ont pas de prise en charge de l'état de démarrage sécurisé (PCR 7), le profil de validation de la plateforme par défaut sécurise la clé de chiffrement en fonction des modifications apportées au code exécutable du microprogramme du système de base (PCR 0), au code exécutable étendu ou enfichable (PCR 2), au gestionnaire de démarrage (PCR 4) et au contrôle d'accès BitLocker (PCR 11).
Si la prise en charge de l'état de démarrage sécurisé (PCR 7) est disponible, le profil de validation de la plateforme par défaut sécurise la clé de chiffrement en utilisant l'état de démarrage sécurisé (PCR 7) et le contrôle d'accès BitLocker (PCR 11).
Avertissement : la modification du profil de validation de plateforme par défaut affecte la sécurité et la gestion de votre ordinateur. La sensibilité de BitLocker aux modifications de plateforme (malveillantes ou autorisées) est augmentée ou diminuée en fonction de l'inclusion ou de l'exclusion (respectivement) des PCR. en particulier, la définition de cette stratégie avec PCR 7 omis remplace la stratégie de groupe « Autoriser le démarrage sécurisé pour la validation de l’intégrité », ce qui empêche BitLocker d'utiliser le démarrage sécurisé pour la plateforme ou la validation d'intégrité Données de configuration de démarrage (BCD). La définition de cette stratégie peut entraîner la récupération de BitLocker lors de la mise à jour du microprogramme. Si vous définissez cette stratégie de manière à inclure PCR 0, suspendez BitLocker avant d'appliquer les mises à jour du microprogramme.
Il est recommandé de ne pas configurer cette stratégie pour permettre à Windows de sélectionner le profil PCR pour la meilleure combinaison de sécurité et d'utilisation basée sur le matériel disponible sur chaque PC.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE\OSPlatformValidation_UEFI- Value name
Enabled
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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: VolumeEncryption/PlatformValidation_UEFI_Name
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\FVE\OSPlatformValidation_UEFI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Enabled' -Value 1 -Type DWord
# PCR 0: Core System Firmware executable code
# unchecked: 0
Set-ItemProperty -Path $k -Name '0' -Value 1 -Type DWord
# PCR 1: Core System Firmware data
# unchecked: 0
Set-ItemProperty -Path $k -Name '1' -Value 1 -Type DWord
# PCR 2: Extended or pluggable executable code
# unchecked: 0
Set-ItemProperty -Path $k -Name '2' -Value 1 -Type DWord
# PCR 3: Extended or pluggable firmware data
# unchecked: 0
Set-ItemProperty -Path $k -Name '3' -Value 1 -Type DWord
# PCR 4: Boot Manager
# unchecked: 0
Set-ItemProperty -Path $k -Name '4' -Value 1 -Type DWord
# PCR 5: GPT / Partition Table
# unchecked: 0
Set-ItemProperty -Path $k -Name '5' -Value 1 -Type DWord
# PCR 6: Resume from S4 and S5 Power State Events
# unchecked: 0
Set-ItemProperty -Path $k -Name '6' -Value 1 -Type DWord
# PCR 7: Secure Boot State
# unchecked: 0
Set-ItemProperty -Path $k -Name '7' -Value 1 -Type DWord
# PCR 8: Initialized to 0 with no Extends (reserved for future use)
# unchecked: 0
Set-ItemProperty -Path $k -Name '8' -Value 1 -Type DWord
# PCR 9: Initialized to 0 with no Extends (reserved for future use)
# unchecked: 0
Set-ItemProperty -Path $k -Name '9' -Value 1 -Type DWord
# PCR 10: Initialized to 0 with no Extends (reserved for future use)
# unchecked: 0
Set-ItemProperty -Path $k -Name '10' -Value 1 -Type DWord
# PCR 11: BitLocker Access Control
# unchecked: 0
Set-ItemProperty -Path $k -Name '11' -Value 1 -Type DWord
# PCR 12: Data events and highly volatile events
# unchecked: 0
Set-ItemProperty -Path $k -Name '12' -Value 1 -Type DWord
# PCR 13: Boot Module Details
# unchecked: 0
Set-ItemProperty -Path $k -Name '13' -Value 1 -Type DWord
# PCR 14: Boot Authorities
# unchecked: 0
Set-ItemProperty -Path $k -Name '14' -Value 1 -Type DWord
# PCR 15: Reserved for Future Use
# unchecked: 0
Set-ItemProperty -Path $k -Name '15' -Value 1 -Type DWord
# PCR 16: Reserved for Future Use
# unchecked: 0
Set-ItemProperty -Path $k -Name '16' -Value 1 -Type DWord
# PCR 17: Reserved for Future Use
# unchecked: 0
Set-ItemProperty -Path $k -Name '17' -Value 1 -Type DWord
# PCR 18: Reserved for Future Use
# unchecked: 0
Set-ItemProperty -Path $k -Name '18' -Value 1 -Type DWord
# PCR 19: Reserved for Future Use
# unchecked: 0
Set-ItemProperty -Path $k -Name '19' -Value 1 -Type DWord
# PCR 20: Reserved for Future Use
# unchecked: 0
Set-ItemProperty -Path $k -Name '20' -Value 1 -Type DWord
# PCR 21: Reserved for Future Use
# unchecked: 0
Set-ItemProperty -Path $k -Name '21' -Value 1 -Type DWord
# PCR 22: Reserved for Future Use
# unchecked: 0
Set-ItemProperty -Path $k -Name '22' -Value 1 -Type DWord
# PCR 23: Reserved for Future Use
# unchecked: 0
Set-ItemProperty -Path $k -Name '23' -Value 1 -Type DWordDisable
# Disable: VolumeEncryption/PlatformValidation_UEFI_Name
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\FVE\OSPlatformValidation_UEFI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Enabled' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": VolumeEncryption/PlatformValidation_UEFI_Name
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\FVE\OSPlatformValidation_UEFI'
Remove-ItemProperty -Path $k -Name 'Enabled' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '0' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '1' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '2' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '3' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '4' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '5' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '6' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '7' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '8' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '9' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '10' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '11' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '12' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '13' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '14' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '15' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '16' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '17' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '18' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '19' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '20' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '21' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '22' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name '23' -ErrorAction SilentlyContinueOptions (24)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| PCR 0: Core System Firmware executable codePCR 0 : Code exécutable du microprogramme du système noyauPlatformValidation_UEFI_Setting0 | Check boxboolean | 0 | REG_DWORD | Default (UI): true Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 1: Core System Firmware dataPCR 1 : Données du microprogramme du système noyauPlatformValidation_UEFI_Setting1 | Check boxboolean | 1 | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 2: Extended or pluggable executable codePCR 2 : Code exécutable étendu ou enfichablePlatformValidation_UEFI_Setting2 | Check boxboolean | 2 | REG_DWORD | Default (UI): true Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 3: Extended or pluggable firmware dataPCR 3 : Données du microprogramme étendu ou enfichablePlatformValidation_UEFI_Setting3 | Check boxboolean | 3 | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 4: Boot ManagerPCR 4 : Gestionnaire de démarragePlatformValidation_UEFI_Setting4 | Check boxboolean | 4 | REG_DWORD | Default (UI): true Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 5: GPT / Partition TablePCR 5 : GPT / Table de partitionPlatformValidation_UEFI_Setting5 | Check boxboolean | 5 | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 6: Resume from S4 and S5 Power State EventsPCR 6 : Reprendre à partir des événements d’état d’alimentation S4 et S5PlatformValidation_UEFI_Setting6 | Check boxboolean | 6 | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 7: Secure Boot StatePCR 7 : État du démarrage sécuriséPlatformValidation_UEFI_Setting7 | Check boxboolean | 7 | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 8: Initialized to 0 with no Extends (reserved for future use)PCR 8 : Initialisé à 0 sans extension (réservé pour une utilisation ultérieure)PlatformValidation_UEFI_Setting8 | Check boxboolean | 8 | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 9: Initialized to 0 with no Extends (reserved for future use)PCR 9 : Initialisé à 0 sans extension (réservé pour une utilisation ultérieure)PlatformValidation_UEFI_Setting9 | Check boxboolean | 9 | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 10: Initialized to 0 with no Extends (reserved for future use)PCR 10 : Initialisé à 0 sans extension (réservé pour une utilisation ultérieure)PlatformValidation_UEFI_Setting10 | Check boxboolean | 10 | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 11: BitLocker Access ControlPCR 11 : Contrôle d’accès BitLockerPlatformValidation_UEFI_Setting11 | Check boxboolean | 11 | REG_DWORD | Default (UI): true Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 12: Data events and highly volatile eventsPCR 12 : Événements de données et événements fortement volatilesPlatformValidation_UEFI_Setting12 | Check boxboolean | 12 | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 13: Boot Module DetailsPCR 13 : Détails du module de démarragePlatformValidation_UEFI_Setting13 | Check boxboolean | 13 | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 14: Boot AuthoritiesPCR 14 : Autorités de démarragePlatformValidation_UEFI_Setting14 | Check boxboolean | 14 | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 15: Reserved for Future UsePCR 15 : Réservé pour un usage futurPlatformValidation_UEFI_Setting15 | Check boxboolean | 15 | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 16: Reserved for Future UsePCR 16 : Réservé pour un usage futurPlatformValidation_UEFI_Setting16 | Check boxboolean | 16 | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 17: Reserved for Future UsePCR 17 : Réservé pour un usage futurPlatformValidation_UEFI_Setting17 | Check boxboolean | 17 | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 18: Reserved for Future UsePCR 18 : Réservé pour un usage futurPlatformValidation_UEFI_Setting18 | Check boxboolean | 18 | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 19: Reserved for Future UsePCR 19 : Réservé pour un usage futurPlatformValidation_UEFI_Setting19 | Check boxboolean | 19 | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 20: Reserved for Future UsePCR 20 : Réservé pour un usage futurPlatformValidation_UEFI_Setting20 | Check boxboolean | 20 | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 21: Reserved for Future UsePCR 21 : Réservé pour un usage futurPlatformValidation_UEFI_Setting21 | Check boxboolean | 21 | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 22: Reserved for Future UsePCR 22 : Réservé pour un usage futurPlatformValidation_UEFI_Setting22 | Check boxboolean | 22 | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| PCR 23: Reserved for Future UsePCR 23 : Réservé pour un usage futurPlatformValidation_UEFI_Setting23 | Check boxboolean | 23 | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |