I've been looking for a tool that lets me easily (shortcut, hotkey) disable and enable a hardware device.
Reason: I recently bought a new laptop that has an annoying whining noise coming from the speaker. It's not really noticeable when I listen to music, watch a video, etc. i.e. something with sound, but when I don't want to listen to anything, it's annoying. Disabling the soundcard makes the noise go away. Ideally I should get a new laptop, but I'm not too hopeful that the problem will be fixed with a new laptop (more people with same problem), and I'm hoping for a BIOS and/or driver update that'll fix the problem...
...anyway, as long as the problem persists it would be great to have a tool that I can use with a hotkey to toggle the soundcard easily. I'm on Win7 x64, btw. I've tried MS' devcon, which is a "command-line utility [that] functions as an alternative to Device Manager" (http://support.microsoft.com/kb/311272
), but apparently it doesn't work on Win7 (not disabling/enabling anyway, it reads the list of devices all right).
I'm sure an AHK script could be written for this purpose and I'm hoping for some assistance from one of the fine coders of DC