如何在 Windows 7/8/8.1(尤其是 64 位)上使用未签名的驱动程序
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/18950641/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How do I use unsigned driver on windows 7/8/8.1(especially 64 bit)
提问by Roman A. Taycher
I'd like to automate installing unsigned drivers that need to be tested. I hear if I use gui-auto to bypass the driver warning prompts it still refuses to actually use it.
我想自动安装需要测试的未签名驱动程序。我听说如果我使用 gui-auto 绕过驱动程序警告提示,它仍然拒绝实际使用它。
Security isn't an issue. Automation is(f8 option is useless to me, though might be useful to others). We are using Ultimate/Enterprise but others may be using Home editions).
安全不是问题。自动化是(f8 选项对我没用,但对其他人可能有用)。我们使用的是旗舰版/企业版,但其他人可能使用的是家庭版)。
There doesn't seem to be a full answer especially for recent os that I can find(many answers are followed by someone claiming they don't work).
似乎没有一个完整的答案,特别是对于我能找到的最近的操作系统(许多答案之后有人声称它们不起作用)。
回答by Aby
For windows 8, use the following hack
对于 Windows 8,请使用以下技巧
For windows 7,
对于 Windows 7,
Open a command prompt as an admin and type
以管理员身份打开命令提示符并键入
bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS
bcdedit -set TESTSIGNING ON
See security risk warning above.
请参阅上面的安全风险警告。
If it doesn't work for whatever reason you can just remove loadoptions with bcedit and switch testsigning off.
如果由于某种原因它不起作用,您可以使用 bcedit 删除 loadoptions 并关闭 testsigning。
bcdedit /deletevalue loadoptions
bcdedit -set TESTSIGNING OFF