en-US security-baseline computer

Enable Certificate Padding

Verified with Microsoft Security Baseline (MSS / SecGuide) 25H2 — updated on July 10, 2026

Supported on: At least Windows Server 2008 R2 or Windows 7

Path in the GPO console

Computer Configuration\Administrative Templates\MS Security Guide

Description

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

Registry

HKLM Software\Microsoft\Cryptography\Wintrust\Config

This policy sets several registry values:

EnableCertPaddingCheck
Enabled: EnableCertPaddingCheck = 1
Disabled: EnableCertPaddingCheck = 0
EnableCertPaddingCheck Config
Enabled: EnableCertPaddingCheck = 1
Disabled: EnableCertPaddingCheck = 0

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Enable Certificate Padding
; State: Enabled
; Supported on: At least Windows Server 2008 R2 or Windows 7

[HKEY_LOCAL_MACHINE\Software\Microsoft\Cryptography\Wintrust\Config]
"EnableCertPaddingCheck"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Cryptography\Wintrust\Config]
"EnableCertPaddingCheck"=dword:00000001
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Enable Certificate Padding
# State: Enabled
# Supported on: At least Windows Server 2008 R2 or Windows 7

$path = 'HKLM:\Software\Microsoft\Cryptography\Wintrust\Config'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'EnableCertPaddingCheck' -Value 1 -Type DWord

$path = 'HKLM:\Software\Wow6432Node\Microsoft\Cryptography\Wintrust\Config'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'EnableCertPaddingCheck' -Value 1 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview