Finding a device's unique ID

 

If you want to exclude a device from the device control feature without having to wait for the user to connect it and then exclude it manually, obtain the device's ID.  Follow the steps below:

  1. In the Windows Device Manager, access the properties of the USB device that you want to identify in order to exclude it.

  2. Go to the Details tab and select Resources from the Property menu. A value called CM_DEVCAP_UNIQUEID should be displayed.

  3. Next, select Device Instance Path from the Property menu to obtain the device's unique ID.

If no CM_DEVCAP_UNIQUEID value is displayed, it will not be possible to identify the device uniquely. You will have to use the device's hardware ID to identify it.

In the Property menu, select Hardware ID.  This value will allow you to exclude every USB device of the same model as the detected one, as it won't be possible to differentiate one from the others.

Once you have the unique IDs of all the devices that you want to allow, you'll be able to create a whitelist and import it as explained in the previous section.