Windows 8的驱动程序签名要求有什么变化? [英] What changed in the driver signature requirements for Windows 8?

查看:184
本文介绍了Windows 8的驱动程序签名要求有什么变化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个通过 NDIS 中介驱动程序,包含两个.inf文件(一个标准和一个微型端口)和一个.sys文件。由于Windows 7驱动程序签名要求,我必须获得代码签名证书并签名.sys文件,以便驱动程序在64位系统上安装。这项工作正常,我有许多成功的Windows&7安装。

I've got a passthrough NDIS intermediate driver, consisting of two .inf files (one standard and one miniport) and a .sys file. Because of the Windows 7 driver signing requirements, I had to get a code-signing certificate and sign the .sys file in order for the driver to install on a 64-bit system. This works fine, and I have many successful Windows 7 installs.

但是,同样的安装程序在Windows 8消费者预览(64位)失败。如果我启动与Windows签名执行关闭,它安装正确,所以它绝对是一个签名问题。在Windows 7和Windows 7之间添加了什么新的要求。

However, the same installer fails on the Windows 8 Consumer Preview (64-bit). If I boot with Windows Signature Enforcement turned off, it installs correctly, so it's definitely a signature issue. What new requirements were added between Windows 7 & Windows 8 that I need to follow in order to get my driver to install?

推荐答案

重新生成您的cat文件,以便

Regenerate your cat file(s) so that they comply with the signing requirements for the new Window OS.

例如,在我的构建脚本中,我必须添加 8_X86,8_X64 to my inf2cat 命令:

For example, in my build script I had to add 8_X86,8_X64 to my inf2cat command:

inf2cat /driver:"%CD%" /os:XP_X86,XP_X64,Vista_X86,Vista_X64,7_X86,7_X64,8_X86,8_X64



< hr>

对于Windows 8.1,您将需要Windows驱动程序工具包(WDK)8.1中包含的 inf2cat ,并且取决于您的目标s)将 6_3_X64 6_3_X86 6_3_ARM / os:WindowsVersionList。


For Windows 8.1, you will need the inf2cat included in Windows Driver Kit (WDK) 8.1 and depending on your target(s) add 6_3_X64, 6_3_X86, or 6_3_ARM to the /os:WindowsVersionList.

参考, Inf2Cat

这篇关于Windows 8的驱动程序签名要求有什么变化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆