Use this when a driver won't load due to signature.
Driver Signing
Driver signing requires drivers to be digitally signed, and 64-bit Windows only loads kernel drivers signed by Microsoft's attestation or WHQL process. Unsigned drivers need test signing mode, which is not for production.
1. Get-AuthenticodeSignature <driver.sys> / signtool.
2. Unsigned drivers blocked on x64 with Secure Boot.
3. Test signing mode off: bcdedit /enum | findstr testsigning.
4. HVCI/Memory integrity may block incompatible drivers.
5. Use WHQL-signed drivers.
driver signature verified at install/load
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Get-AuthenticodeSignature C:\Windows\System32\drivers\driver.sysVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checks Verify boundary
signtool verify /kp /v driver.sys
Get-AuthenticodeSignature C:\Windows\System32\drivers\driver.sys
sigverif
Test signing mode (bcdedit /set testsigning on) should never be enabled on production systems; it shows a watermark on the desktop. Microsoft's vulnerable driver blocklist blocks known-bad signed drivers.
Step 2 Common mistakes Narrow the fault
- Disabling driver signature enforcement permanently.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Secure Boot enforces kernel driver signature checks.
Get-PnpDevice -PresentOnly | ? Status -ne 'OK'— devices with problemspnputil /enum-drivers— driver store packagesGet-PnpDeviceProperty -InstanceId <id> -KeyName DEVPKEY_Device_DriverVersion— driver versionGet-WinEvent -LogName Microsoft-Windows-Kernel-PnP/Configuration -MaxEvents 20— PnP install events
ReferenceWhy it matters1 section · depth on demand
Signing rules
- 64-bit Windows requires kernel drivers to be signed; since Windows 10 1607 new kernel drivers must be signed by Microsoft (attestation or WHQL).
- Secure Boot enforces this; test signing mode (
bcdedit /set testsigning on) is for development only and needs Secure Boot off. - Microsoft's vulnerable driver blocklist (enabled with HVCI/Smart App Control) blocks signed but vulnerable drivers used in BYOVD attacks.
Check: signtool verify /kp driver.sys or Get-AuthenticodeSignature.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Driver signing: 64-bit Windows requires kernel drivers to be signed; since Windows 10 1607 new kernel drivers must be signed through Microsoft's Hardware Dev Center (attestation or WHQL). Secure Boot enforces it at boot.
Additional protection: the Microsoft vulnerable driver blocklist (enabled by default with HVCI/Smart App Control on Windows 11 22H2+) blocks signed but exploitable drivers used in "bring your own vulnerable driver" attacks.
sigverif
Get-AuthenticodeSignature C:\Windows\System32\drivers\example.sys
bcdedit /set testsigning on # test machines only
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Drivers & Devices → Driver Signing. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-hardware/drivers/ · confidence 94%