devcon disable cannot disable device not found
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-1538toolsdevconamd64> .devcon.exe disable 'ACPISYN1ECA*'
ACPISYN1ECA4&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?
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.
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:
You are using the wrong "spelling" in your command.
This should work:
devcon.exe disable "ACPISYN1ECA*"
If you already found the exact device you want to disable you can do it like this:
devcon.exe disable "@<instace ID>"
In your case:
devcon.exe disable "@ACPISYN1ECA4&22077A96&0"
If this also doesn't work you should use the remove command. remove works almost always, but the device will be back after you restart the system.
devcon.exe remove "@<instance ID>"
No matching devices found. is a confusing way for devcon to tell u to run the command elevated. this is without elevation
devcon restart "PCIVEN_10EC&DEV_8168&SUBSYS_85051043&REV_09"
PCIVEN_10EC&DEV_8168&SUBSYS_85051043&REV_094&21A1C3AE&0&00E5: Restart failed
No matching devices found.
this is with elevation
devcon restart "PCIVEN_10EC&DEV_8168&SUBSYS_85051043&REV_09"
PCIVEN_10EC&DEV_8168&SUBSYS_85051043&REV_094&21A1C3AE&0&00E5: Restarted
1 device(s) restarted.
链接地址: http://www.djcxy.com/p/83042.html
上一篇: 为什么pubnub javascript sdk(?)通过Websocket选择XHR?
下一篇: devcon禁用不能禁用未找到的设备