Windows 8 driver install and catalog/signature validation

jen picture jen · Jun 7, 2012 · Viewed 58.7k times · Source

I can't get windows 8 (release preview) to accept either the inf2cat or makecat approach described as solutions to the question at

What changed in the driver signature requirements for Windows 8?

unless I disable validation.

I am not signing these with any certificates at this point, just trying to get past the errors preventing the drivers from installing at all.

Windows 8 gives me a very nondescript error:

"A problem was encountered while attempting to add the driver to the store."

Looking in the event logs, there is nothing of use; only an informational entry from "Windows Error Reporting" indicating a PnPdriverimporterror.

When i use my original files with the cab files that don't match the inf, I get the error everyone else is listing:

The hash for the file is not present in the specified catalog file.

I have one .inf file that i need to generate a .cat for.

Perhaps I am doing something wrong. Ideas??

INF2CAT Approach

c:\win_xp_vista32_64>inf2cat /driver:"." /os:XP_X86,XP_x64,Vista_X86,Vista_x64,7_X86,7_X64,8_X86,8_X64

.......................
Signability test complete.

Errors:
None

Warnings:
22.9.10: usbser.sys in [drivercopyfiles.nt] is missing from [SourceDisksFiles] s
ection in \mchpcdc.inf; ok if file source is provided via LayoutFile in [Version
].
22.9.10: %driverfilename%.sys in [drivercopyfiles.ntamd64] is missing from [Sour
ceDisksFiles] section in \mchpcdc.inf; ok if file source is provided via LayoutF
ile in [Version].

Catalog generation complete.
c:\win_xp_vista32_64\mchpcdc.cat

MAKECAT approach

--- start of catalog.cdf file---

[CatalogHeader]
Name=mchpcdc.cat
ResultDir=.\
[CatalogFiles]
<hash>mchpcdc=.\mchpcdc.inf
---end of .cdf file ---


c:\win_xp_vista32_64>makecat catalog.cdf

These same files, w/ the cat from either approach install just fine in Windows 7.

Answer

Ramaprasad Upadhyaya picture Ramaprasad Upadhyaya · Oct 22, 2012

I think this problem is to do with "windows driver signing enforcement". You can resolve this by disabling this option. Go through with below link:

http://tivadj-tech.blogspot.in/2012/09/certificate-check-error-when-installing.html