Skip to main content

    How to Sign a Windows Driver: EV Certificate, Attestation and WHQL

    Windows driver signing: the EV certificate Partner Center needs, the CAB and its catalog, attestation vs WHQL, and the April 2026 cross-signing cutoff.

    MS
    My-SSL
    ·
    14 min read
    ·
    Published July 9, 2026
    ·
    Last updated October 23, 2026

    The short answer

    To sign a Windows driver for release, you submit it to Microsoft: since Windows 10 version 1607, Windows loads new kernel-mode drivers only when Microsoft's Hardware Dev Center has signed them. You register in Partner Center with an EV code signing certificate, sign a CAB holding the driver, INF, PDB and catalog with SignTool, upload it, and download the package Microsoft signed. HLK-tested submissions work on every Windows version, Windows Server 2016 and later included; attestation signing skips the tests but covers only Windows 10 and 11 desktop, and Microsoft's documentation now lists it under testing scenarios.

    How a Windows driver gets its production signature, stackedThe same four steps as the wide figure, top to bottom: driver package, you sign the CAB with your EV certificate, Microsoft signs the driver (highlighted in gold), Windows loads it after checking Microsoft's signature.Two signatures, two jobsDriver package.inf + .sys + .pdb + .catYou sign the CABEV certificate, /fd sha256Microsoft signs the driverHLK-tested or attestationWindows loads itchecks Microsoft's signatureEV certificate: proves who submittedMicrosoft: the signature that loads
    Once this division of labor clicks, most driver signing errors make sense: Windows was never looking for your signature on the driver.

    Everything else in code signing follows the same script: run signtool sign, verify, ship. Drivers are the exception. For a kernel driver, your signature isn't the end of the process; it's your ticket into Microsoft's signing service, which applies the signature Windows checks at load time. This guide walks through the whole chain: which certificate you need and why, the attestation submission in Partner Center, when Microsoft expects HLK testing instead, how to keep the certificate on your account valid, and how to keep developing while none of your builds are Microsoft-signed.

    Signing your own software rather than a driver? Compare Standard and EV code signing certificates, or start with the code signing certificates guide.

    Why can't you sign a kernel driver yourself?

    You can't sign a production kernel driver yourself because, starting with Windows 10 version 1607, Windows doesn't load any new kernel-mode driver that Microsoft's Dev Portal (the Hardware Dev Center) hasn't signed. An EXE with a valid publisher signature gets a SmartScreen decision; a kernel driver gets a code integrity check that looks for Microsoft's signature, not for your certificate, whoever issued it.

    The reasoning: a malicious or compromised kernel driver doesn't just affect one app, it controls the operating system. Publicly trusted CAs verify publishers, but they never see the code. Routing every production kernel driver through its own signing service gives Microsoft one place that knows what was signed and by whom.

    Your certificate still matters: it's how Microsoft knows who you are. Partner Center accounts are anchored to an EV code signing certificate, and every submission CAB you upload is signed. So the practical flow is always the same: you vouch for the submission, Microsoft signs the driver. Microsoft's own wording on its deprecation page is blunt: production signatures come only from Microsoft.

    Which certificate do you need to sign a Windows driver?

    A Windows driver signing certificate, in practice, is an EV code signing certificate from one of the six certificate authorities Microsoft lists for the hardware program: Certum, DigiCert, GlobalSign, IdenTrust, Sectigo and SSL.com. You need it to register in Partner Center and to sign your submissions, but it never signs the driver Windows loads. Which signing path you then take depends on where the driver has to run.

    A note on who's writing: My-SSL sells Certum certificates, including the Certum EV code signing certificate for driver submissions, which Certum issues only to registered companies. Any of the six authorities above works the same way in Partner Center.

    Which signing path and certificate each driver target needs
    Where the driver must runSigning pathCertificate you need
    Any Windows version, including Windows Server 2016 and later, or delivered through Windows UpdateHLK-tested submission through the Windows Hardware Compatibility Program (WHQL)EV code signing certificate on your Partner Center account
    Windows 10 and 11 desktop, without HLK testingAttestation signing (Microsoft lists it under testing scenarios)EV code signing certificate on your Partner Center account
    Development and lab machines you controlTest signing with TESTSIGNING turned onA test certificate, self-signed is fine
    The installer, service or app that ships with the driverNormal Authenticode signing with SignToolYour own Standard or EV code signing certificate (user mode only)

    The last row is the one people forget. Third-party certificates still sign code that isn't a driver, but Microsoft's deprecation page is explicit that such code runs only in user mode unless it carries a valid Microsoft signature. Your EV certificate therefore does two jobs: it signs your own user-mode files directly, and it opens the Partner Center door for the kernel driver.

    Cross-signing is gone: what changed and when

    Cross-signing, where a CA-issued certificate chained to a Microsoft cross-certificate let you sign kernel drivers yourself, is finished. Most cross-certificates expired in July 2021, Microsoft no longer accepts cross-signing for drivers, and the April 2026 Windows update began removing default trust for cross-signed kernel drivers on Windows 11 24H2, 25H2 and 26H1 and on Windows Server 2025. New driver work should assume that path doesn't exist.

    This matters even if you never cross-signed anything, because it explains the outdated advice still around. Older tutorials, and some Microsoft pages that predate the change, describe buying a kernel-capable certificate and signing your .sys file directly. That workflow died in stages:

    Timeline of Windows kernel driver signing policy, verticalThe same four milestones top to bottom: July 2015, 2016 with Windows 10 version 1607, July 2021 when most cross-certificates expired, and April 2026, highlighted in gold, when cross-signed drivers lose default trust on Windows 11 24H2 and later and Windows Server 2025 after an evaluation period.How the old ways were switched offJuly 2015Certs issued after July 29lose the cross-sign exception2016 · Windows 10 1607New kernel drivers needa Microsoft signatureJuly 2021Most cross-certificates expire;cross-signing not acceptedApril 2026Cross-signed drivers losedefault trust after evaluationWin 11 24H2+ · Server 2025
    A driver that "always worked" was usually riding one of these exceptions, and the last big one began closing in April 2026.

    The April 2026 policy doesn't flip on the moment the update installs. According to Microsoft's Windows IT Pro blog, it starts in evaluation mode: the kernel audits driver loads for about 100 hours of runtime and three restarts (two on Windows Server 2025), and enforces only if every driver it saw would pass. A machine that loads a failing cross-signed driver stays in evaluation and the clock resets. Microsoft also keeps an explicit allow list of widely used, reputable cross-signed drivers, and organizations with internal drivers can trust their own signer through an App Control for Business policy.

    None of that is a plan for a driver you distribute. If you maintain a driver that predates Partner Center signing, resubmit it. Timestamped packages that were signed while the leaf certificate was valid keep working where the new policy isn't enforced, but every rebuilt production package has to go through Microsoft.

    What you need before you start

    You need three things, in order: an EV code signing certificate, a Partner Center account for the Windows Hardware Developer Program (which requires that certificate to register), and the tools, SignTool from the Windows SDK plus MakeCab, which ships with Windows. The EV requirement is Microsoft's, not the certificate authority's.

    1. An EV code signing certificate

    Pick one of the six authorities Microsoft lists. Certum, for example, issues EV code signing only to registered companies, and as of October 2026 lists a standard issue time of 1–7 days for it. The Certum document checklist shows what EV validation asks your organization for. Every code signing certificate issued since June 1, 2023 needs its key on certified hardware, either a token or a cloud signing service; the Certum EV certificates My-SSL sells keep the key in Certum's SimplySign cloud, so no token is shipped.

    2. A Partner Center hardware account

    Register for the Windows Hardware Developer Program with a Microsoft Entra ID global administrator account. You enter company details or a D-U-N-S number, name a legal contact, accept the agreement, then upload the EV certificate on the Manage certificates page and answer a business questionnaire Microsoft emails to the administrator. Microsoft's registration page notes that the certificate is needed to register; you don't sign your driver with it.

    3. SignTool, MakeCab and Inf2Cat

    SignTool comes with the Windows SDK and the WDK. MakeCab is part of Windows. Inf2Cat, from the WDK, generates the catalog file the submission needs and the one you sign during test signing.

    Attestation signing, step by step

    Attestation signing means Microsoft signs your driver without HLK test results. The mechanics: package the driver files and catalog into a CAB, sign the CAB with your certificate, submit it in the Partner Center hardware dashboard, and download the Microsoft-signed result. An HLK-tested submission uses the same dashboard with an .hlkx results package instead. Here is each attestation step with Microsoft's documented commands.

    Step 1: Build the CAB file

    The CAB holds one subfolder per driver package: the INF, the compiled .sys binary, the .pdb symbol file (Microsoft's crash analysis tools need it) and the catalog. Microsoft's attestation page says catalog files are required; they're used to verify your company, and Microsoft regenerates them during signing. Keep every driver folder in the CAB to the same set of architectures, reference files through a mapped drive letter rather than a UNC path, and keep folder names under 40 characters with no special characters.

    MyDriver.ddf, then build the CAB
    ; MyDriver.ddf
    .OPTION EXPLICIT
    .Set CabinetNameTemplate=MyDriver.cab
    .Set CompressionType=MSZIP
    .Set Cabinet=on
    .Set Compress=on
    ; no files at the root: each driver package in its own subfolder
    .Set DestinationDir=MyDriver
    C:\MyDriver\MyDriver.inf
    C:\MyDriver\MyDriver.sys
    C:\MyDriver\MyDriver.pdb
    C:\MyDriver\MyDriver.cat
    
    REM Build it (output lands in .\Disk1\):
    MakeCab /f MyDriver.ddf

    Step 2: Sign the CAB

    This is the only signature you apply in the production flow, and it goes on the CAB, not on the driver. Microsoft requires SHA-2 and the /fd sha256 switch, and tells you to follow your certificate provider's signing process. With a token, the PIN prompt appears here; with Certum's SimplySign cloud, SimplySign Desktop has to be logged in with a code from the mobile app before SignTool can see the certificate.

    Sign the submission CAB
    signtool sign /s MY /n "Your Company Name" /fd sha256 ^
      /tr http://time.certum.pl /td sha256 /v Disk1\MyDriver.cab

    Step 3: Submit in Partner Center

    In the Partner Center hardware dashboard, select "Submit new hardware", enter a product name under Packages and signing properties, upload the signed CAB, and leave both test-signing options unchecked. Under Requested Signatures, choose the Windows versions the driver should be signed for, then submit. When signing finishes, the signed driver is available to download from the dashboard.

    Step 4: Verify and ship

    Check what came back before it goes near an installer. Microsoft's documented check is SignTool's kernel-policy verification, /kp, which confirms the signature complies with the kernel-mode code signing policy.

    Verify the returned driver
    signtool verify /v /kp MyDriver.sys
    
    REM Then install the package on a clean test VM with Secure Boot ON;
    REM that's the environment your users run.

    Rebuild anything, resubmit everything

    Microsoft's deprecation page says every rebuilt production driver package must be signed by Microsoft, and a catalog covers exact file hashes: even a one-byte change to the INF invalidates the package signature. A one-line fix means a new CAB, a new submission and a new signed package. Microsoft offers a Hardware Dev Center API for teams that want to script submissions.

    Attestation or WHQL: which submission do you need?

    Microsoft's answer is HLK testing whenever you can: its driver signing page calls an HLK-tested, dashboard-signed driver the recommended method because it signs the driver for all Windows versions. The same page now files attestation under "Attestation signed drivers for testing scenarios" and opens with "For testing purposes only". Attestation still produces a Microsoft signature that Windows 10 and 11 desktop trust, which is why some guides still present it as the default. Read the restrictions before you ship on it.

    Four ways to sign a Windows driver, stackedThe same four paths as the wide figure, top to bottom: attestation, HLK-tested WHCP submission highlighted in gold, test signing, and your EV certificate alone.Pick the path by where it runsAttestationNo HLK tests. Windows 10/11desktop only; Microsoft listsit under testing scenarios.HLK-tested (WHCP / WHQL)Every Windows version, incl.Server 2016+; the route toretail Windows Update.Test signingYour test certificate, testmode on machines you control.Never a distribution plan.EV certificate aloneSigns the CAB and your apps.A kernel driver still needsMicrosoft's signature to load.
    The Server row decides for many teams: if the driver ever has to run on Windows Server, attestation was never an option.
    • Windows Server. Windows Server 2016 and later doesn't accept attested device and filter driver submissions, and only loads dashboard-signed drivers that passed the HLK tests.
    • Windows Update. Attestation-signed drivers can't be published to Windows Update for retail audiences; that takes a Windows Hardware Compatibility Program submission. Publishing them for testing works through the CoDev and Test Registry Key options.
    • Certification. An attestation-signed driver isn't Windows Certified. Microsoft says the signature shows that Windows trusts the driver, but without HLK testing there are no assurances about compatibility or functionality.
    • Special binaries. Attestation doesn't return the right PE level for Early Launch Antimalware or Windows Hello binaries, and Driver Update Acceptable doesn't support attestation-signed drivers.

    HLK testing is the bigger investment: you set up an HLK test environment, run the tests for your device class on each Windows version you target, and submit the results package. What it buys is reach (Server, retail Windows Update) and the certified status some enterprise buyers ask for. Attestation fits test builds, internal pilots and fast iterations on Windows 10 and 11 desktop. Deciding which audiences matter before the first release saves a second submission later, because an attestation-signed driver never becomes valid on Server.

    How do you keep the EV certificate on your Partner Center account valid?

    You replace it in Partner Center every time the certificate is renewed. Microsoft's requirements say the registered EV certificate must be valid at the time of submission, and its certificate management page makes you responsible for updating driver certificates when they expire. A renewed certificate is a new certificate, so it has to be added to the account before the old one expires, or submissions stop.

    1. In Partner Center, open the gear icon, then Account Settings, then Manage Certificates.
    2. Select "Add a new certificate" and download Signablefile.bin.
    3. Sign it with the new certificate using SignTool, /fd sha256 and a SHA-2 timestamp.
    4. Upload the signed file. Remove the expired certificate under the Action column when you retire it.
    Sign Signablefile.bin with the new certificate
    signtool sign /s MY /n "Your Company Name" /fd sha256 ^
      /tr http://time.certum.pl /td sha256 /v Signablefile.bin

    Put a date on it. Since February 27, 2026, a single Certum code signing certificate is valid for at most 459 days (one day under the industry-wide 460-day cap), and longer terms are delivered as reissued certificates. Whatever term you buy, plan to repeat the Signablefile.bin step at least every 459 days, roughly every 15 months, and do it a few weeks before expiry so a pending driver fix isn't blocked by a lapsed account certificate.

    With a cloud-held key there's one more planning point. SimplySign Desktop logs in with a code from the SimplySign mobile app, and Certum's signing manual describes no unattended mode, so a person approves the session for both the CAB signature and the Signablefile signature. If you script submissions through the Hardware Dev Center API, the signing step stays a manual gate. Our guide to code signing in CI/CD covers the options.

    Test signing during development

    Test signing lets a development machine load drivers signed with your own test certificate, so you don't submit every debug build to Microsoft. Turn on the TESTSIGNING boot option and Windows shows a "Test Mode" watermark in the lower right of the desktop. If BCDEdit reports that the value is protected by Secure Boot policy, Microsoft's instructions are to disable Secure Boot in the firmware settings; BitLocker can also get in the way.

    Test-sign a driver package
    REM On the TEST machine (admin prompt, then reboot):
    bcdedit -set TESTSIGNING ON
    
    REM Create a test certificate (developer machine, PowerShell, one line):
    New-SelfSignedCertificate -Type CodeSigningCert -Subject "CN=MyDriver Test" -CertStoreLocation Cert:\CurrentUser\My
    
    REM Generate the catalog from the INF (WDK):
    Inf2Cat /driver:C:\MyDriver /os:10_X64
    
    REM Sign the catalog with the test certificate:
    signtool sign /s MY /n "MyDriver Test" /fd sha256 MyDriver.cat
    
    REM Install the test certificate into the test machine's
    REM Trusted Root and Trusted Publishers stores, then install the driver.

    Keep the two worlds separate: test-signed packages are for machines you control, production packages come back from Partner Center. A test-signed build that reaches a customer won't load on a normally configured system, which is the policy working as designed.

    Common driver signing errors

    Most driver signing failures trace back to one of three mismatches: the driver lacks a Microsoft signature, the signature type doesn't fit the Windows edition, or the package's catalog no longer matches its files. Here are the errors those produce and what fixes each one.

    Code 52: "Windows cannot verify the digital signature for the drivers required for this device"

    Microsoft's reference says the driver doesn't comply with the kernel-mode code signing policy, and that for end users the only fix is a properly signed driver. Run signtool verify /v /kp on the .sys file: if the signer is your own certificate, or the chain ends at "Microsoft Code Verification Root" (the old cross-signing root), the driver was never signed through Partner Center, and resubmitting it is the fix. Telling users to disable enforcement isn't one.

    "The third-party INF does not contain digital signature information" (0x800F022F)

    The package has no catalog Windows can use. Either the .cat file didn't make it into the install package, or a file changed after signing: Microsoft's catalog documentation says any change to the INF, the catalog or a copied file, even a single byte, invalidates the package signature. Ship the package exactly as Partner Center returned it, and resubmit after any edit.

    Loads on Windows 11, refuses on Windows Server

    The signature is attestation-only. Windows Server 2016 and later loads only dashboard-signed drivers that passed the HLK tests, and no setting on the customer's side changes that. The path forward is an HLK run and a new submission for the Server versions you support.

    Works on one machine, fails on an identical one

    Usually a policy difference, not a hardware one: Secure Boot on versus off, test mode enabled on the dev box, or, for a cross-signed driver, one machine where the April 2026 kernel trust policy has finished its evaluation and is enforcing. Compare the Secure Boot state in msinfo32 and the patch levels before rebuilding anything.

    Updated October 23, 2026: catalog files corrected to required in the attestation CAB; added Microsoft's current "testing scenarios" wording for attestation, the April 2026 policy's evaluation mode and allow list, a certificate-and-path table, Partner Center certificate renewal (Signablefile.bin), and SignTool's /kp check; removed an unsourced turnaround time.

    Frequently Asked Questions

    Quick answers to related questions.

    Do I really need an EV certificate to sign a Windows driver?

    Yes, for the Partner Center account. Microsoft requires an EV code signing certificate to register for the Hardware Developer Program, and the account must have at least one EV certificate associated with it before you can submit a driver for attestation or HLK-tested signing. Individual submissions may be signed with another Authenticode certificate you've registered, although Microsoft strongly recommends EV. Either way, the signature Windows checks on the driver is Microsoft's, not yours.

    Can a kernel driver load with only my own EV signature?

    Not on a clean install of Windows 10 version 1607 or later with Secure Boot on. Since that version, Windows doesn't load new kernel-mode drivers unless Microsoft's Dev Portal signed them. The exceptions Microsoft lists are a PC upgraded from an earlier release, Secure Boot turned off, or a driver signed with a certificate issued before July 29, 2015 that chains to a supported cross-signed CA. Treat your EV signature as the submission credential, not the load permission.

    Is attestation signing still allowed for drivers I ship to customers?

    Microsoft still offers it, and Windows trusts an attestation-signed driver on Windows 10 and 11 desktop. But Microsoft's driver signing page now lists attestation under testing scenarios ('For testing purposes only'), the driver isn't Windows Certified, it can't be published to Windows Update for retail audiences, and Microsoft gives no assurance about compatibility. For a driver customers depend on, Microsoft recommends HLK testing, which signs the driver for every Windows version.

    Why won't my attestation-signed driver load on Windows Server?

    Because Windows Server 2016 and later doesn't accept attestation. For Server, the Hardware Dev Center only signs device and filter drivers that pass the HLK (Hardware Lab Kit) tests, and Server only loads dashboard-signed drivers that passed them. If your driver must run on Server, plan for an HLK-tested submission from the start; there is no shortcut through attestation.

    Can I use a cloud-based EV certificate, with no USB token, for Partner Center?

    Microsoft's requirements name the certificate authorities, not where the key is stored. What Partner Center needs is a signature: on Signablefile.bin when you register or replace the certificate, and on each submission CAB, both made with SignTool and /fd sha256. Every publicly trusted code signing certificate issued since June 1, 2023 has its key on certified hardware, a token or a cloud service, and Certum's signing manual documents SignTool signing through SimplySign Desktop. SimplySign logs in with a code from its mobile app, so plan for a person at the signing step.

    My cross-signed driver worked for years. Why did it suddenly stop?

    The April 2026 Windows update brought a new kernel trust policy to Windows 11 24H2, 25H2 and 26H1 and to Windows Server 2025 that drops default trust for drivers signed under the retired cross-signing program. The policy starts in evaluation mode: the kernel audits driver loads for about 100 hours and three restarts (two on Server 2025) and enforces only if every driver it saw would pass. Microsoft keeps an allow list of widely used, reputable cross-signed drivers. The lasting fix is resubmitting the driver through Partner Center.

    Still Have Questions?

    Contact our support team with questions about certificates, installation, or technical issues.

    The bottom line

    Driver signing is a two-key system: your EV certificate signs the submission, Microsoft signs the driver. Put the INF, .sys, .pdb and catalog in a CAB, sign it with /fd sha256, submit it through Partner Center, and verify what comes back with /kp on a Secure Boot machine. Windows Server or retail Windows Update means HLK testing, so decide that before the first release. If the certificate is the missing piece, the Certum EV code signing certificate is issued by one of the six authorities on Microsoft's list and works with SignTool through SimplySign, with no token to ship.