How to find device "consecutive number" (??)

by palloquin at 2012-11-15 01:30:30

Hey all,

So, I’ve been going through the WMI top to bottom, left to right but can’t seem to find this…

In my playback devices (right click the volume icon in your taskbar) I find that a device is listen as:
[quote]Speakers
2-Jabra GN1900 USB
Default Communications Device
[/quote]
See this screenshot:
a user uploaded image

Notice the “2-” before the name of the device, this seems to be some kind of consecutive number, I’m not entire sure when windows decided this was not the ‘normal no x- prefix’ device, but it has. This is fine, but where do I find this number in WMI? I’ve looked in Win32_SoundDevice in Win32_PnPEntity and in Win32_PnPSignedDriver , I can find the device, but no indication that it’s prefixed with “2-”.

Anybody have any insights in to this?
by DonJ at 2012-11-15 04:03:31
Nope, none. Sorry.
by RichardSiddaway at 2012-11-30 02:43:09
As far as I am aware the underlying WMI classes for dealing with this type of device haven’t been updated recently.

I’ve seen this behaviour with the numbering and eventually noticed that it was windows attempt to separate two devices that it thought were identical. have you checked for registry entries that might help you.

My feeling is that WMI won’t solve this problem for you