Training
Module
Implement device registration - Training
This module examines the process of device restrigration and discusses how to register and enroll devices in Active Directory.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This article describes USB device-specific registry entries.
Important
This topic is for programmers. If you are a customer experiencing USB problems, see Fix USB-C problems in Windows
The registry entries described in this article are found under this key:
HKEY_LOCAL_MACHINE
SYSTEM
CurrentControlSet
Control
usbflags
<vvvvpppprrrr>
<Device-specific registry entry>
In the vvvvpppprrrr key,
The vendor ID, product ID, and revision number values are obtained from the USB device descriptor. The USB_DEVICE_DESCRIPTOR structure describes a device descriptor.
The following table describes the possible registry entries for the vvvvpppprrrr key. The USB driver stack considers these entries to be read-only values.
Registry entry | Description | Possible values |
---|---|---|
osvc REG_BINARY |
Indicates whether the operating system queried the device for Microsoft-defined USB descriptors. If the previously attempted OS descriptor query was successful, the value contains the vendor code from the OS string descriptor. |
|
IgnoreHWSerNum REG_BINARY |
Indicates whether the USB driver stack must ignore the serial number of the device. |
|
ResetOnResume REG_BINARY |
Indicates whether the USB driver stack must reset the device when the port resumes from a sleep cycle. |
|
View the device interface GUID, Hardware ID, and device class information about your device
Find the device that exposes the device interface you are interested in and make note of the instance ID. For example, if the device interface belongs to class {A5DCBF10-6530-11D2-901F-00C04FB951ED} you could find the right device interface and device with the following:
>pnputil /enum-interfaces /class {A5DCBF10-6530-11D2-901F-00C04FB951ED} /instanceid
Microsoft PnP Utility
Interface Path: \\?\USB#VID_045E&PID_0840#0C33CG9212501N0#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
Interface Description: Unknown
Interface Class GUID: {a5dcbf10-6530-11d2-901f-00c04fb951ed}
Device Instance ID: USB\VID_045E&PID_0840\0C33CG9212501N0
Interface Status: Enabled
Interface Path: \\?\USB#VID_045E&PID_07A5#5&109d12e&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
Interface Description: Unknown
Interface Class GUID: {a5dcbf10-6530-11d2-901f-00c04fb951ed}
Device Instance ID: USB\VID_045E&PID_07A5\5&109d12e&0&1
Interface Status: Enabled
Retrieve a list of the compatible IDs for the device and note the device class, subclass, and protocol codes:
>pnputil /enum-devices /instanceid "USB\VID_045E&PID_0840\0C33CG9212501N0" /ids
Microsoft PnP Utility
Instance ID: USB\VID_045E&PID_0840\0C33CG9212501N0
Device Description: USB Composite Device
Class Name: USB
Class GUID: {36fc9e60-c465-11cf-8056-444553540000}
Manufacturer Name: (Standard USB Host Controller)
Status: Started
Driver Name: usb.inf
Hardware IDs: USB\VID_045E&PID_0840&REV_0215
USB\VID_045E&PID_0840
Compatible IDs: USB\COMPAT_VID_045E&DevClass_00&SubClass_00&Prot00
USB\COMPAT_VID_045E&DevClass_00&SubClass_00
USB\COMPAT_VID_045E&DevClass_00
USB\DevClass_00&SubClass_00&Prot_00
USB\DevClass_00&SubClass_00
USB\DevClass_00
USB\COMPOSITE
Training
Module
Implement device registration - Training
This module examines the process of device restrigration and discusses how to register and enroll devices in Active Directory.