Quantcast
Channel: Windows 7 Miscellaneous forum
Viewing all articles
Browse latest Browse all 11372

Using Devcon.exe

$
0
0

I have found a copy of Devcon.exe it seems to work on Windows 7 X 64.

I had hoped to use Devcon to disable and then immediately reenable the speaker on my headset (a Plantronics CS 50 USB).  I need to do this programmatically to avoid the pain derived using the "Sounds" dialog to do the same thing slightly more than twice an hour.

I used the .CMD file "speakers.CMD" which is as follows:

Devcon disable "USB\VID_047F&PID_0410&MI_00"
Devcon enable "USB\VID_047F&PID_0410&MI_00"

The only problem was that Devcon wanted to wait until there was a system reboot!  The exact output of the command was:

===================================================

d:\>speaker

d:\>Devcon disable "USB\VID_047F&PID_0410&MI_00"
USB\VID_047F&PID_0410&MI_00\6&14AB3D07&0&0000               : Disabled on reboot

The 1 device(s) are ready to be disabled. To disable the devices, restart the
devices or reboot the system .

d:\>Devcon enable "USB\VID_047F&PID_0410&MI_00"
USB\VID_047F&PID_0410&MI_00\6&14AB3D07&0&0000               : Enabled
1 device(s) are enabled.

================ the emphasis above is mine ============

This was not at all what I wanted!

Since the above.clearly, did not work; does anyone have an idea how I might accomplish what I so desperately need?

Thanks,


Steve Behman


Viewing all articles
Browse latest Browse all 11372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>