ISV 的驱动程序签名指南Driver Signing Guidelines for ISVs

重要

此内容仅适用于 Sysdev 仪表板,该仪表板将被 Windows 硬件开发人员中心仪表板替代。This content applies to the Sysdev dashboard, which is being replaced by the Windows Hardware Dev Center Dashboard. 请参阅 Windows 硬件开发人员中心仪表板,以获取当前支持和过渡日程表。See Windows Hardware Dev Center Dashboard for current support and transition timelines.

贵公司应在产品开发期间的质量保证过程中对驱动程序功能进行测试。Your company's quality assurance processes are responsible for testing driver functionality during product development. 驱动程序开发完成后,你可以验证该驱动程序是否与 Windows 兼容,还可以将它提交到 Windows 认证计划进行认证或数字签名。When the driver is complete, you can verify that the driver is compatible with Windows and submit it to the Windows Certification Program for certification or digital signature. 经过签名的任何驱动程序都可以在 Windows 更新上进行分发,而不管该数字签名是通过认证获得还是通过未分类或“其他设备”的测试获得。Any signed drivers may be distributed on Windows Update, regardless of whether the digital signature is obtained through certification, or through unclassified or “Other Device” testing.

Windows Hardware Lab Kit (Windows HLK) 支持适用于 Windows 10 的驱动程序测试。The Windows Hardware Lab Kit (Windows HLK) supports driver testing for Windows 10.

Windows 硬件认证工具包 (Windows HCK) 支持适用于 Windows 7、Windows 8、Windows 8.1、Windows Server 2008 R2、Windows Server 2012 和 Windows Server 2012 R2 的驱动程序测试。The Windows Hardware Certification Kit (Windows HCK) supports driver testing for Windows 7, Windows 8, Windows 8.1, Windows Server 2008 R2, Windows Server 2012 and Windows Server 2012 R2.

Windows 徽标工具包 1.6 (WLK 1.6) 支持适用于 Windows Server 2003 和 Windows Server 2008 的驱动程序测试。The Windows Logo Kit 1.6 (WLK 1.6) supports driver testing for Windows Server 2003 and Windows Server 2008.

Windows 10、Windows 8.1、Windows 8、Windows 7、Windows Server 2012 R2、Windows Server 2012 和 Windows Server 2008 R2 的软件认证计划具有以下数字签名要求:The Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012 R2, Windows Server 2012, and Windows Server 2008 R2 Certification Programs for software have the following digital signature requirements:

  • 内核模式的软件必须经过数字签名才能在基于 x64 的 Windows 7、Windows 8、Windows 8.1、Windows Server 2008 R2、Windows Server 2012 和 Windows Server 2012 R2 版本上进行加载,并且必须获得 Microsoft 的 Windows 硬件认证计划签名。Kernel-mode software must be digitally signed to be loaded on x64-based versions of Windows 7, Windows 8, Windows 8.1, Windows Server 2008 R2, Windows Server 2012 and Windows Server 2012 R2 and must be signed by Microsoft for the Windows Hardware Certification Program.

  • 不管是基于 x86 还是基于 x64 的 Windows 7、Windows 8、Windows 8.1、Windows Server 2008 R2、Windows Server 2012 和 Windows Server 2012 R2 版本,Windows 操作系统加载程序加载的驱动程序(引导启动驱动程序)必须包含嵌入式签名。Drivers that are loaded by the Windows operating system loader (boot-start drivers) must contain an embedded signature, for both x86-based and x64-based versions of Windows 7, Windows 8, Windows 8.1, Windows Server 2008 R2, Windows Server 2012 and Windows Server 2012 R2.

  • 筛选器驱动程序认证计划中包含的筛选器驱动程序必须符合筛选器驱动程序要求并通过 Windows HCK 才能获得认证。Filter drivers that are included in the Filter Drivers Certification Program must meet the filter driver requirements and pass the Windows HCK to be certified.

有关徽标与认证计划过程和工具的支持联系方式列表,请参阅认证计划的支持联系方式For a list of support contacts for logo and certification program procedures and tools, see Certification Program Support Contacts.

如何使用 Windows 徽标计划和/或 Windows 认证计划测试来测试驱动程序How to test drivers by using the Windows Logo Program and/or Windows Certification Program tests

若要使用 Windows 徽标计划和 Windows 认证计划测试来测试驱动程序,请执行以下步骤:To test drivers by using the Windows Logo Program and Windows Certification Program tests, follow these steps:


  1. 在 Windows 开发人员中心,建立硬件仪表板帐户。Establish a Hardware Dashboard account in the Windows Dev Center.

    你必须有一个仪表板帐户以便可以将驱动程序提交到 Windows 认证计划。You must have a dashboard account in order to submit drivers to the Windows Certification Program. 若要获取仪表板帐户,请按照以下步骤操作:To get one, follow these steps:

    1. 获取代码签名证书。Get a code signing certificate. 将产品提交到 Windows 认证计划时需要使用该证书,以便确保贵组织真实可信并且可以将驱动程序和测试结果安全地传输到 Microsoft。The certificate is required for submitting your product to the Windows Certification Program, to ensure that your organization is authentic and to secure transmission of drivers and test results to Microsoft.

    2. 提供帐户管理员的联系信息。Provide account administrator contact information.

    3. 签署最新 Windows 认证计划测试协议和最新的适用认证许可证。Sign the latest Windows Certification Program Testing Agreement and the latest applicable Certification License.

    4. 提供公司地址信息。Provide company address information.

  2. 查看 Windows 徽标计划中的“未分类”类别适用于 Windows 硬件认证计划中“其他设备”或驱动程序的设备基础和/或 Windows 认证计划中的筛选器驱动程序产品类型的最新要求。Review the latest requirements for the Unclassified category in the Windows Logo Program, Device Fundamentals that would apply to “Other Device” or Driver in the Windows Hardware Certification Program, and/or Filter Driver Product Type in the Windows Certification Program.

  3. 安装 Windows 徽标工具包和/或 Windows HCK 并查看使用说明。Install the Windows Logo Kit and/or Windows HCK and review the instructions for using it.

    • Windows 徽标工具包和 Windows HCK 页解释了如何确定使用哪个版本的工具包。The Windows Logo Kit and Windows HCK page explains how to decide which version of the kit to use. 大多数情况下,最好使用最新版本的工具包。In most cases, it’s best to use the latest version of the kit.

    • 培训视频及其他文档可帮助你设置和使用该工具包,在下一个步骤中将使用该工具包测试驱动程序。The training videos and other documentation help you set up and use the kit, which you’ll use to test your driver in the next step. 在测试驱动程序之前,你应该花点时间查看这些材料。You should take some time to review these materials before testing your driver.

  4. 针对“未分类”类别、“其他设备”和/或筛选器驱动程序产品类型运行测试。Run the tests for Unclassified category “Other Devices”, and/or Filter Drivers Product Type.

    • 在进行测试之前,请确保你已安装 Windows 徽标工具包Windows HCK 的所有最新更新。Before testing, make sure you have installed all the latest updates for the Windows Logo Kit or Windows HCK.

    • 使用工具包自动检测相应的测试。Use the kit to automatically detect the appropriate tests. 请注意,驱动程序不具有工具包检测[其他设备]的功能,因此仅可以计划少量测试。Note that for drivers that do not have features that the Kit detects [Other Devices], only a small number of tests may be scheduled.

    • 为驱动程序运行工具包中列出的所有测试。Run all tests listed in the kit for your driver. 如果你要针对多个操作系统系列获得资格,必须针对每个系列单独进行测试。If you want to qualify for multiple operating system families, you must test separately for each family.

    • 查看 Windows 硬件认证博客以了解测试策略和流程的更新。Check the Windows Hardware Certification Blog for updates in test policies and processes.

  5. 解决测试故障Solve test failures.

    使用系统性战略以解决在测试期间遇到的和测试日志中记录的故障:Use a systematic strategy for solving failures encountered during testing and in test logs:

    • 如果测试结果中有误报,这称为勘误。If a test results in a false failure, this is called an erratum. 硬件开发人员中心仪表板提供可在已知情况下消除这些误报的筛选器(称为 DTM 筛选器)。The Hardware Dev Center Dashboard provides filters (called DTM filters) that eliminate these false failures in known cases. 若要获取最新的筛选器,请使用你的帐户登录到仪表板,导航至“硬件认证”*,然后单击“下载”部分中的“WLK 筛选器或 HCK 筛选器”To get the latest filters, log on to the dashboard with your account, navigate to *Hardware certification and click WLK Filters or HCK Filters in the Downloads section.

    • 有关技术支持的信息,请参阅认证计划的支持联系方式For information about technical support, see Certification Program Support Contacts.

  6. 准备将测试结果提交到硬件开发人员中心仪表板。Prepare your test submission for the Hardware Dev Center Dashboard.

    在修复所有的测试故障或通过勘误或意外事件处理明确解决后,便可以准备将测试日志和驱动程序包提交到仪表板了。After all test failures have been fixed or clearly resolved by errata or contingencies, you are ready to submit your test logs and driver packages to the dashboard. 必须在驱动程序上运行测试并将结果提交到每个操作系统系列。You must run tests on the driver and submit results for each operating system family. 在某些情况下,为了获取这些操作系统的驱动程序认证,可能会合并测试结果包。In some cases, it is possible to merge the test results package in order to obtain driver certification for these operating systems. 有关提交 Windows HCK 包的信息,请参阅创建新的硬件认证提交For information about submitting a Windows HCK package, see Create a New Hardware Certification Submission. 有关提交 WLK 包的信息,请参阅创建新的硬件徽标提交For information about submitting a WLK package, see Create a New Hardware Logo Submission.

向 Microsoft 发送有关该主题的评论Send comments about this topic to Microsoft