There is a device - in this case, a usb headset

With her through the task manager, you can separately turn off the speakers and microphone.

But they have the same ИД Оборудования

How can I turn off a device, for example, not according to the ИД since it is the same for them, but for other equipment properties using DevCon ?

    1 answer 1

    Devcon allows you to disable a device by the Device Instance ID (the path to the device instance), which is unique for each device in the system:

     devcon disable "@USB\VID_1E3D&PID_2096\ABCD12345678" 

    Read more: DevCon Disable