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

windows-7 – Windows7引导选项,允许忽略未签名的驱动程序

发布时间:2020-12-13 20:13:20 所属栏目:Windows 来源:网络整理
导读:我正在学习 Windows内核模式驱动程序开发.我写了一个小的测试驱动程序,我可以在VirtualBox下的VM下运行的Windows 7 32bit Ultima版本下成功注册,注销,加载和卸载. 我的主机是Windows 7 64bit Home Premium版. 64位编译的驱动程序将不会在Windows 7 Home Edit
我正在学习 Windows内核模式驱动程序开发.我写了一个小的测试驱动程序,我可以在VirtualBox下的VM下运行的Windows 7 32bit Ultima版本下成功注册,注销,加载和卸载.

我的主机是Windows 7 64bit Home Premium版.

64位编译的驱动程序将不会在Windows 7 Home Edition下加载.我不断得到拒绝,注意到这个版本的Windows不允许未签名的驱动程序.

我试过两件事情:

>我已经使用F8引导选项来允许未签名的驱动程序(没有工作)
>我以管理员身份运行CMD并执行以下两个命令

bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS

bcdedit.exe -set TESTSIGNING ON

并重新启动.我的桌面显示在“TestMode”,但我仍然得到相同的拒绝注意.

任何人都可以在这里帮助我,还是说明家庭版是否还有其他步骤?

—- {更新} —-
在大量的MSDN内容中,我的解决方案就是自己签名我创建的驱动程序.我下载的DDK似乎没有工具链做自签.我已经下载了WinDDK-7600.16385.1.但是奇怪的是,如果我简单的F8 @启动时间,并且告诉它允许未签名的驱动程序,我的Windows Ultima Edition会愉快地加载我的驱动程序.

您可以尝试使用 Driver Signature Enforcement Overrider.它支持64位版本的Windows 7,并报告我看到确认它确实在“家庭高级版”的工作.
  1. Download the application from the link below. Right click on it and
    choose “Run as administrator”. Inside
    its main menu,press on the “Enable
    Test Mode” button and follow the
    instructions on the screen. This will
    enable TESTSIGNING mode,which allows
    unverified system files to be loaded.

  2. Now all you have to do is to add the unverified signature to the
    required system files. To do so press
    on the “Sign a System File” button
    from the main menu,and enter specific
    filename including full path. For
    example: if ATITool64.sys from
    C:WindowsSystem32drivers refuses to
    load due to driver signature
    enforcement,you should type:
    “C:WindowsSystem32driversATITool64.sys”,
    and if you would like to sign more
    than a single file,just repeat this
    procedure until you’re done,and
    finally reboot.

After you enabled Test Mode and added
signatures to the required system
files,they should bypass Windows’s
driver signature enforcement and load
without any issues. However,if for
some reason you are interested to
revert it,you can re-launch the
application,choose “Disable Test
Mode” from the main menu,and reboot.
If you encounter issues or having
questions,feel free to post it on our
forums.

Note: DSEO requires administrative
privileges (Run as administrator).

它甚至允许您从桌面上删除水印!

(编辑:李大同)

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

    推荐文章
      热点阅读