加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

windows-7 – 如何签署我的驱动,所以它会安装在Windows 7 64位?

发布时间:2020-12-14 04:31:37 所属栏目:Windows 来源:网络整理
导读:我有一个内核模式驱动程序,我必须安装在64位 Windows 7上.它需要数字签名.我使用dSEO13b.exe数字签名.但是当我加载驱动程序时,系统事件日志中出现错误: The driver failed to start due to the following error: Windows cannot verify the digital signatu
我有一个内核模式驱动程序,我必须安装在64位 Windows 7上.它需要数字签名.我使用dSEO13b.exe数字签名.但是当我加载驱动程序时,系统事件日志中出现错误:

The driver failed to start due to the following error:
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.

我不想使用测试模式.我该如何解决?我需要从Microsoft获得证书吗?

我已经开发了驱动程序,现在正在使它在64位机器上工作…

仅适用于64位版本:设置自签名

第1部分:创建和安装测试证书

>启动一个提升的命令行shell(Vista和更高版本).
> makecert.exe -r -pe -ss my -n“CN = MyTestCertificate”mytestcert.cer
> certmgr.exe -add mytestcert.cer -s -r localMachine root
>启动certmgr.exe并检查“MyTestCertificate”是否列在“个人”和“受信任的根证书颁发机构”下.
>将mytestcert.cer文件保存在一个安全的地方.

第2部分:配置系统运行测试签名代码(Vista及更高版本)

>启动一个提升的命令行shell(Vista和更高版本).>运行Bcdedit.exe-在提升的cmd.exe提示符下设置TESTSIGNING ON.> certmgr.exe -add mytestcert.cer -s -r localMachine root> certmgr.exe -add mytestcert.cer -s -r localMachine trustedpublisher>重新启动> Vista:“测试模式”将出现在桌面的所有四个角落,“Microsoft(R)Windows(R)(Build 6000)”将出现在顶部. Windows 7:“测试模式Windows 7Build 7600”将出现在右下角.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读