How to get the speed of a USB device using the command line

Nathan_Li 1 Reputation point
2021-05-26T09:11:22.64+00:00

Hi,

I used the command wmic path CIM_USBDevice get PNPDeviceID,USBVersion/format:list to get the speed of USB device,but the "USBVersion" is empty, Why?

Is there any other way to get the speed of the USB device through the command line?(Devcon.exe cannot be used due to system limitations)

99815-360%E6%88%AA%E5%9B%BE20210526170245650.jpg

Windows development Windows API - Win32
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Song Zhu - MSFT 906 Reputation points
    2021-05-27T03:14:37.527+00:00

    In fact, this field has not been filled in. I think the firmware itself did not set the value of this field. The same problem in this thread.

    And, there are similar methods to query USB information, you can refer to: Getting USB port name and details

    More reference: Displaying USB Devices using WMI


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.