devcon disable无法禁用找不到设备 [英] devcon disable cannot disable device not found

查看:973
本文介绍了devcon disable无法禁用找不到设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows 8.1上尝试以编程方式禁用我的点击板。我已经安装了正确的x64位版本的devcon 如此处所述。我可以找到正确的设备,但是使用相同参数的 devcon disable 失败。

I'm on Windows 8.1 trying to disable my clickpad programatically. I've installed the correct x64 bit version of devcon as noted here. I can find the correct device but devcon disable with the same parameters fails.

PS C:\...\7600.16385.win7_wdk.100208-1538\tools\devcon\amd64> .\devcon.exe disable 'ACPI\SYN1ECA*'
ACPI\SYN1ECA\4&22077A96&0                                   : Disable failed
No matching devices found.

这相当令人困惑。它显然找到了正确的设备,但随后报告未找到匹配的设备。

Which is rather confusing. It obviously finds the right device, but then reports "No matching devices found". What the heck?

请注意,我知道这个类似的问题,但是除了没有被接受的答案外,该问题还存在其他错误,并且可能使用了错误的devcon版本。

Please note that I am aware of this similar question but, in addition to not having an accepted answer, that question has a different error and is likely using the wrong version of devcon.

推荐答案

没有匹配的设备是Windows告诉您它无法找到或访问所需设备的方式。可能有以下两种原因:

No Matching Devices is the way that windows tells you that it cannot find or access the devices you are looking for. There can be a couple of causes for this:


  1. 不正确的权限是由于未运行命令提示符/ BAT引起的作为管理员。只需右键单击相关的访问方法,然后选择以管理员身份运行

  2. 由于运行错误版本的devcon.exe而导致的访问错误。转移到64位计算机时,工具文件夹中有两个版本的devcon,一个用于x86,一个用于x64,请确保您运行的计算机版本正确,并且应该能够执行任务而不会出现问题

  1. Incorrect Permissions caused by not running the command prompt/BAT as an administrator. Simply right-click the relevant access method and select 'Run as administrator"
  2. Incorrect Access caused by running the wrong version of devcon.exe. As a remnant of the shift to 64 bit computer there are two version of devcon located in the 'Tools' folder, one for x86 and one for x64, ensure that you are running the correct version for your computer and you should be able to perform your tasks without issue.

这篇关于devcon disable无法禁用找不到设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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