Windows 10 周年更新和未签名的驱动程序

Windows 10 Anniversary Update and Unsigned Driver

我们正在为 Windows 10 开发一个微型过滤器驱动程序。 在周年更新之前,我们能够将 windows 移动到测试模式,并 运行 我们未签名的驱动程序在发布版本之前进行调试。

正如我们从文档中了解到的那样,自周年更新以来已禁用此功能。

那么我们如何测试我们的驱动程序呢?

谢谢!

Driver Signing changes in Windows 10, version 1607:

Q: **How do I sign drivers during development and testing?**

A: Please see the Signing Drivers during Development and Test
topic on MSDN for information on how to test sign. In addition,
if Secure Boot is set to OFF, then drivers signed with existing
cross-signed certificates will continue to be valid.

引用的link是here. See also Driver Signing Policy

TL;DR: 创建一个测试证书,将其作为可信证书安装在您的测试机器上,并使用它签署您的测试驱动程序 and/or 目录文件。

And to be fair, this has been the recommended practice since 2006 with Windows Vista. There was just a common workaround people used instead to keep sticking with totally unsigned drivers. 10 years does seem to be sufficient notice.