Signature verification failure of a driver when installing the driver, even if the driver is signed by MS

Chandra Prakash Soni 1 Reputation point
2022-06-28T11:47:22.3+00:00

Hi there,

We have created a minifilter driver and when we are trying to install it either by using an .inf file or using an installer or by the "SC CREATE" command we are getting an error stating "Windows cannot verify the digital signature for this file. A recent

hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source". This driver works fine in VS2010 but when upgraded from VS2010 to VS2019 it doesn't work.

We Just have changed the name of the driver in the .inf. The building of driver in VS2010 was using a script/bat file but now in VS2019 we have a special project where in we can build the minifilter, the driver gets build but doesn't install and throws error as mentioned above.

We have tried lot of things but it doesn't work anyhow.

Looking forward to hear from team.

Regards,

Chandra Prakash Soni

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. S.Sengupta 24,636 Reputation points MVP
    2022-06-29T04:59:39.13+00:00

    Firstly update the Certificates.

    Secondly, Disable: Use FIPS compliant algorithms for encryption, hashing, and signing under:

    Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options -> System cryptography


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.