Share via

How to Fix Inf2Cat Error when building driver?

Anthony Lleonart 5 Reputation points
2024-08-23T15:03:23.91+00:00

I'm following the procedure outlined here (https://dotnet.territoriali.olinfo.it/en-us/windows-hardware/drivers/develop/signing-a-driver-during-development-and-testing) to test sign a driver. In the "Enabling test signing manually" section, when I allow Inf2Cat to run, my build fails, and I get the following error:

"An error occurred loading the Windows file protection data file 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x86\WindowsProtectedFiles.xml'. To fix the problem, obtain a valid copy of the file from Microsoft, restore the file to its original state, or reinstall the application.

Signability test failed."

I have not found a copy of the XML file provided by Microsoft. When I don't allow Inf2Cat to run, the build succeeds. Any suggestions on how to fix this?

Windows development | Windows Driver Kit (WDK)

Your answer

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