How to avoid windows security warning pops up during a signed driver installation

Resmi Jose 0 Reputation points
2024-09-03T00:37:57.47+00:00

I have a driver software I compiled for windows 7. I have used DigiCert Code signing certificate (CN = DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1) to sign the installation package. With the previous version of this driver, I used Verisign certificate (VeriSign Class 3 Code Signing 2010 CA). The new DigiCert one is using SHA256 signature algorithm and Verisign had SHA1 alg. When I installed the previous version of driver (Verisign signed), I never had a windows security warning screen pops up asking "Would you like to install this device software". But with new DigiCert I have that warning pops up. I'm trying to avoid this warning as my software is usually installed in unattended environments. Things I have tried so far

  • Updated my windows 7 with below updates to support SHA2 code signing KB4474419 and KB4490628
  • Prior to driver installation, added the certificate manually under Trusted Publishers list using certutil command

Any help with this is highly appreciated.

Windows Driver Kit (WDK)
Windows Driver Kit (WDK)
A set of Microsoft tools that are used to develop, test, and deploy Windows drivers.
92 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.