面对驱动程序部署时的问题 [英] Facing issue at the time of driver deployment

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

问题描述

我是这个Windows驱动程序的新手,所以我使用Windows示例驱动程序来了解Windows驱动程序架构和程序,以便在目标上进行uild,部署和执行设备。

I am new to this windows driver, so i am using windows samples drivers to understand the windows driver architecture and procedure to uild, deploy and excute on Target device.

我的主机和Target都是windows10 PC。已安装Visual Studio community2015和WDK Tools来执行此过程。

My host and Target both are windows10 PC's. Installed Visual studio community2015 and WDK Tools for doing this process.

使用示例驱动程序HelloWorldDriver构建并部署到目标windows10上。但是我在部署到目标设备时面临以下问题

Using a sample driver HelloWorldDriver to build and deploy onto target windows10. But i am facing below issue at the time of deploy to target device

" UserText =" WDTF_TEST                : 系统没有可以安装驱动程序包的设备。" CA = QUOT; 11485205" LA =" 11485615" >"

"UserText="WDTF_TEST                 :  System has no device the driver package can  be installed onto." CA="11485205" LA="11485615" >"

你能帮助任何人,如何执行这个示例驱动程序。

Can you please help anybody, how to execute this sample driver.

谢谢&问候,

Siva Krishna。

Siva Krishna.

推荐答案

您可以使用devcon工具在测试签名模式下安装驱动程序。

将PC更改为testigning模式,然后使用devcon工具进行安装。

:devcon install XXXX.inf _HID



PC:以管理员身份运行cmd,输入:

bcdedit / set nointegritychecks on zh-b $ b bcdedit / set testsigning on
并重启。



如果你回到正常模式:

以管理员身份运行cmd:

bcdedit / set nointegritychecks off

bcdedit / set testsigning off

并重新启动
You can use devcon tool to install your driver in testsigning mode.
Change PC to testsigning mode ,and then install by using devcon tool.
: devcon install XXXX.inf _HID

PC: Run cmd as admin, input:
bcdedit /set nointegritychecks on
bcdedit /set testsigning on
and reboot.

If you turn back to normal mode:
Run cmd as admin:
bcdedit /set nointegritychecks off
bcdedit /set testsigning off
and reboot


这篇关于面对驱动程序部署时的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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