如何安装该驱动程序? [英] How can I install this driver?

查看:130
本文介绍了如何安装该驱动程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从MSDN下载了 IOCTL示例驱动程序。在此示例中,我试图运行可执行文件以从其SYS文件加载驱动程序,但是在调用StartService时出现此错误:

I downloaded the IOCTL sample driver from MSDN. I am trying to run an executable in this example to load the driver from its SYS file, but I get this error when it calls StartService:

StartService failure! Error = 577
Unable to install driver.
ControlService failed!  Error = 1062

577,根据错误代码文档,表示:

ERROR_INVALID_IMAGE_HASH
577 (0x241)
Windows cannot verify the digital signature for this file. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source.

我不明白为什么它不会启动,因为在Visual Studio中我去了在驱动程序上进行项目设置并对其进行设置:

I don't get why it won't start it up because in Visual Studio I went to the project settings on the driver and set these on it:

签名模式->测试符号

Sign Mode -> "Test Sign"

测试证书->我使用创建测试证书选项来创建,然后选择一个测试证书。

Test Certificate -> I used the "Create Test Certificate" option to create and then select a test certificate.

那么现在出了什么问题?如何安装此驱动程序?

So what's the problem now? How can I get this driver to install?

推荐答案

从64位Windows Vista开始,Microsoft开始需要签名的驱动程序,除非使用启动时跳过开发人员选项。

Starting with Windows Vista 64-bit, Microsoft began requiring signed drivers unless bypassed using boot-time developer options.

未签名的驱动程序(F8选项或附加内核调试器)和测试签名的驱动程序(TESTSIGNING引导配置)。最简单的绕过方法是在引导时按F8键,然后选择禁用驱动程序签名强制执行,该操作将持续到下一次引导。

There are options for both unsigned drivers (F8 option or attaching a kernel debugger) and test-signed drivers (TESTSIGNING boot configuration). The easiest bypass is to press F8 at boot time and select "Disable Driver Signature Enforcement", which will last until the next boot.

这篇关于如何安装该驱动程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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