DeviceSwitch is a simple utility to enable or disable hardware you turn on and off frequently, like webcams.
DeviceSwitch was designed for personal use by Andrea Milanovic who added a few things to share it with the public. It takes a little effort to get it working. You need to be able to specify the hardware ID for the device and edit a text (Ini) file.
To accomplish this, you need to edit devices.ini and specify the hardware ID for the target device. You can get the ID from Control Panel > Device Manager > right-click on device > Properties > Details tab > select Hardware IDs > right-click on ID > Copy.
Typically there will be more than one ID listed per device, but you can use any of them. Device1 is the default entry, but you can add multiple, arbitrarily named entries. To use a specific entry you need to pass it as the command line parameter, e.g.: "C:\Program Files\DeviceSwitch\DeviceSwitch.exe" MyBluetooth (note that the parameter goes outside quotes). This way you can create multiple shortcuts for managing different devices. If no parameter is specified, Device1 is used.
Under [Options] section, you have AutoFlip and DisableSplash. Setting AutoFlip to 1 will switch device status directly, without asking for confirmation first. Setting DisableSplash to 1 will disable the splash image. Setting both options to 1 makes the operation completely silent unless there are errors.
Optionally, by editing localize.ini you can translate the basic strings.
All these instructions can be found in a readme.txt in the archive.
DeviceSwitch isn't for everyone, but a niche utility for the geek who'd rather, for example, quickly disable their webcam with a click of the mouse rather than put a piece of tape over it.