devcon

Devcon disable not working in Windows 8.1

回眸只為那壹抹淺笑 提交于 2019-12-24 07:03:06
问题 I'm trying to make a simple script that disables my touchpad fast. I found tons of articles about devcon, I downloaded it, and I always get an error as I'm trying to do it, no matter which version of devcon I'm using. C:\Windows\system32>devcon disable ACPI\ETD0108 ACPI\ETD0108\4&30E2CFCB&0 : Disable failed No devices disabled. I'm using Windows 8.1. Has anyone faced the same problem, or knows the solution? Edit: I've tried to disable my USB mouse, with success. Then why is it a problem only

Executing DevCon CMD command from python

◇◆丶佛笑我妖孽 提交于 2019-12-21 23:01:16
问题 I want to restart driver with DevCon from python script. It works from command line with this command: devcon restart \"sd0007322081041363_kcanv\" I tried this: os.system("devcon restart \"sd0007322081041363_kcanv\"") with result: 'devcon' is not recognized as an internal or external command I read that os.system is obsolete and i need to use subprocess.check_output so i try this: subprocess.check_output(['devcon', 'restart', '"sd0007322081041363_kcanv"']) with result: WindowsError:[Error 2]

Executing DevCon CMD command from python

帅比萌擦擦* 提交于 2019-12-04 17:27:48
I want to restart driver with DevCon from python script. It works from command line with this command: devcon restart \"sd0007322081041363_kcanv\" I tried this: os.system("devcon restart \"sd0007322081041363_kcanv\"") with result: 'devcon' is not recognized as an internal or external command I read that os.system is obsolete and i need to use subprocess.check_output so i try this: subprocess.check_output(['devcon', 'restart', '"sd0007322081041363_kcanv"']) with result: WindowsError:[Error 2] The system cannot find the file specified and this: subprocess.check_output('devcon restart

devcon disable cannot disable device not found

假装没事ソ 提交于 2019-11-30 07:06:13
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? Please note that I am aware of this similar question but, in addition to not having an

devcon disable cannot disable device not found

Deadly 提交于 2019-11-29 08:35:04
问题 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".