USB Serial Number Test

This test verifies that device serial numbers are unique.

Test details

   
Specifications
  • Device.Connectivity.UsbDevices.SerialNumbers
Platforms
  • Windows 10, client editions (x86)
  • Windows 10, client editions (x64)
  • Windows Server 2016 (x64)
Supported Releases
  • Windows 10
  • Windows 10, version 1511
  • Windows 10, version 1607
  • Windows 10, version 1703
  • Windows 10, version 1709
  • Windows 10, version 1803
  • Windows 10, version 1809
  • Windows 10, version 1903
  • Next update to Windows 10
Expected run time (in minutes) 1
Category Development
Timeout (in minutes) 5
Requires reboot false
Requires special configuration false
Type automatic

 

Additional documentation

Tests in this feature area might have additional documentation, including prerequisites, setup, and troubleshooting information, that can be found in the following topic(s):

More information

This requirement validates that USB serial numbers are implemented for specific device classes and are unique across specific device models. USB serial numbers must be implemented for the following device classes:

  • Bluetooth (Class Code 0xE0, SubClass 0x01, Protocol 0x01)
  • Communication device class (Class Code 0x02)
  • Mass storage (Class Code 0x08)
  • Scanning/imaging (Class Code 0x06)
  • Printing (Class Code 0x07)
  • Host Wire Adapters and Device Wire Adapters (Class Code 0xE0, subclass 02)

USB serial numbers maybe optional for other device classes unless the device class or required user experience make it necessary. Additionally, if serial numbers are implemented on the device's model, all devices of the same model must have unique serial numbers.

Serial numbers improve the user experience with any USB device in general with Windows, because they allow Windows to keep track of devices no matter what USB port they are plugged into. When the user plugs in a device without a serial number to a new USB port, the device is set up as if it has never been seen before (a process that may take several seconds). Devices with serial numbers are enumerated faster, if the same device has been connected to the system on a different port before. Further, for USB 3.0 devices, serial numbers may be used by the USB stack when the system resumes from a low power system state like hibernate, to identify if the device requires PnP visible re-enumeration.

Parameters

Parameter name Parameter description
queryVendorId VendorId of device under test
queryProductId ProductId of device under test
IsSoloEmbeddedUSBDevice Set this to True for devices where you can have only one device connected. E.g: Bluetooth controller.

 

Troubleshooting

For generic troubleshooting of HLK test failures, see Troubleshooting Windows HLK Test Failures.