Enable Certificate Padding
Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.
Explication
Enabling this setting will cause the WinVerifyTrust function to perform strict Windows Authenticode signature verification for Portable Executable files (PE files). After you opt in, PE files will be considered "unsigned" if Windows identifies content in them that does not conform to the Authenticode specification. This may impact some installers. If you are using an installer that is impacted, Microsoft recommends using an installer that only extracts content from validated portions of the signed file.
Reference: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2013-3900
Registre
HKEY_LOCAL_MACHINE\Software\Microsoft\Cryptography\Wintrust\Config- Nom de la valeur
- non défini dans l'ADMX
| État | Valeur écrite | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Activé |
| |||||||||
| Désactivé |
|
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 : SecGuide/Pol_SecGuide_Certificate_Padding
$k = 'HKLM:\Software\Microsoft\Cryptography\Wintrust\Config'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableCertPaddingCheck' -Value 1 -Type DWord
$k = 'HKLM:\Software\Wow6432Node\Microsoft\Cryptography\Wintrust\Config'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableCertPaddingCheck' -Value 1 -Type DWordDésactiver
# Désactiver : SecGuide/Pol_SecGuide_Certificate_Padding
$k = 'HKLM:\Software\Microsoft\Cryptography\Wintrust\Config'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableCertPaddingCheck' -Value 0 -Type DWord
$k = 'HKLM:\Software\Wow6432Node\Microsoft\Cryptography\Wintrust\Config'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableCertPaddingCheck' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : SecGuide/Pol_SecGuide_Certificate_Padding
$k = 'HKLM:\Software\Microsoft\Cryptography\Wintrust\Config'
Remove-ItemProperty -Path $k -Name 'EnableCertPaddingCheck' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Wow6432Node\Microsoft\Cryptography\Wintrust\Config'
Remove-ItemProperty -Path $k -Name 'EnableCertPaddingCheck' -ErrorAction SilentlyContinueApplication
Microsoft Security Baseline (MSS, SecGuide) (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.