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://zcusa.951200.xyz/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 Driver Kit (WDK)
Windows Driver Kit (WDK)
A set of Microsoft tools that are used to develop, test, and deploy Windows drivers.
137 questions
{count} vote

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.