Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Windows»How to Look up for Hardware Id on Your PC

How to Look up for Hardware Id on Your PC

Abhishek SilwalBy Abhishek SilwalSeptember 6, 2022
Hardware ID lookup

Hardware ID is a unique identifier for your devices that your system uses to match it to its driver. You can use this value to check for a specific device on the internet or official websites if you need to update its driver or troubleshoot any issues with its software.

A hardware ID usually follows the format <BUS>\<VENDOR ID>&<Device ID>&<Additional IDs>. For instance, the ID for Generic USB Hub may show USB\VID_05E3&PID_0608&REV_6090. However, the identity for root devices and the computer doesn’t follow this format.

In this article, we provide the most convenient ways to look up this information on your Windows PC.

Table of Contents

  • How to Look up for Hardware ID on Your PC
    • Using Device Manager
    • Using Windows Command Line
    • Command Prompt
    • Windows PowerShell
    • Using Windows Device Console

How to Look up for Hardware ID on Your PC

You can use the Device Manager or built-in command line tools to look up the hardware Id for individual devices on your PC. But, if you want more options, you can use the Windows Device Console.

Using Device Manager

The Device Manager is the built-in Windows tool that helps you check and control all the devices on your PC. You can also use it to look up the hardware IDs of such devices.

  1. Open Run by pressing Win + R.
  2. Type devmgmt.msc and press Enter to launch the Device Manager.
  3. Expand the device category for the device you want to look up.
  4. Right-click on the device and select Properties.
    device-manager-graphics-properties
  5. Go to the Details tab.
  6. Click on the drop-down box under Property and set it to Hardware Ids.
    device-manager-details-hardware-ids

The Hardware ID will show up under Value.

Also, keep in mind that a device may have more than one ID. However, the top ID is the most specific one.

Using Windows Command Line

You can also use the Command line interfaces such as Command Prompt or Windows PowerShell to look up the hardware ID of your devices.

Command Prompt

Command Prompt is the traditional command line on the Windows system. You can use the DISM utility to check your devices and get their hardware ID.

  1. Open Run.
  2. Type cmd and press Ctrl + Shift + Enter to open the Elevated Command Prompt.
  3. Enter the following command to list out your devices:
    Dism /Online /Get-Drivers /all /Format:Table
    dism-get-drivers
  4. Check the class name to get a general idea of your driver. It will list all the possible drivers, so you can add | findstr “search string” on the command to only list the necessary ones.
    For example, Dism /Online /Get-Drivers /all /Format:Table | findstr “usb”
  5. The command only lists the Original and Published names, not the general names. Note down or copy the Published Name.
  6. Then, enter the command Dism /Online /Get-DriverInfo /Driver:<Published Name>.
  7. This command lists the information on all the devices within the category, not just those active on your PC. So, you need to search carefully for your device by checking the Description column.
  8. After determining the device, look at its Hardware ID value.
    dism-get-driver-info

Windows PowerShell

Windows PowerShell is a powerful Command Line tool that you can use to control all your system activities. You also have various options for customizing the commands, so it’s an effective way to get the necessary information.

  1. Open Run.
  2. Type powershell and press Ctrl + Shift + Enter to open the Elevated PowerShell.
  3. Enter the following command to list your devices:
    Get-PnpDevice -PresentOnly | Sort-Object -Property “Class” | Format-Table -AutoSize
    get-pnp-device-powershell
  4. Then, search for your device using the Class and FriendlyName columns and copy or note down its InstanceId.
  5. Then, enter the following command while replacing the Instance ID with the value you copied or noted:
    Get-PnpDeviceProperty -InstanceId "Instance Id" | Format-Table -AutoSize
  6. Here, search for DEVPKEY_Device_HardwareIds and check its Data to get this information.
    get-pnp-device-property-powershell-hardwareid

Using Windows Device Console

It is easy to check the Hardware ID of a device using the Device Manager or the built-in Command line. However, you can only look up this information for one or a few devices at a time. If you want to look up the ID for all your devices or the devices within a specific category, you need to use the Windows Device Console (Devcon).

Microsoft does not provide this utility in the default Windows OS but includes it in its Windows Driver Kit. So you need to install this package before you can use the Device Console.

  1. Download and install Windows Drivers Kit from Microsoft’s platform. You only need to download the WDK and not the SDK or Visual Studio.
  2. Then, you need to set the location of the console on the system path so that you can access it from anywhere on the Command line. To do so,
    • Open Run and enter %ProgramFiles(x86)%\Windows Kits\10\Tools.
    • Go inside the folder with the version number (e.g.,10.0.22621.0).
    • Head inside the folder according to your system architecture (x64 for 64-bit, x86 for 32-bit, and so on.)
    • Click on the address bar and copy the path.
      devcon-path
    • Open Run and enter systempropertiesadvanced. It loads the Advanced tab of System Properties.
    • Click on Environment Variables.
      environment-variables
    • Under System variables, double-click on Path.
    • Select New and enter the path you copied earlier.
      new-system-path-variable
    • Click OK thrice to save the changes and get out of the properties.
  3. Now, open Run.
  4. Type cmd and press Enter to open the Command Prompt.
  5. Enter the commands below to look up the hardware ID according to the corresponding scenario:
    • devcon hwids *: List out all devices with their hardware Ids
      devcon-hardware-ids
    • devcon hwids =<class>: List out the hardware IDs for all devices in a particular class. You can look for the available classes using the command devcon listclass
    • devcon hwids * > “D:\HardwareId.txt”: Create a HardwareId.txt file in D:\ which lists all devices with their hardware IDs. You can use any location you want or create a text file that displays the output of the other command.

If you want to know more about using Devcon to check and manage your devices, we recommend you visit its documentation on Microsoft.

how-to
Abhishek Silwal
  • LinkedIn

Abhishek Silwal is an Electronics Engineer and a technical writer at TechNewsToday. He specializes in troubleshooting a wide range of computer-related issues. His educational background in Electronics Engineering has given him a solid foundation in understanding of computers. He is also proficient in several programming languages and has worked on various robotics projects. Even in his early days, he used to tinker with various computer components, both hardware, and software, to satiate his curiosity. This experience has given him a breadth of experience that goes beyond his educational qualification. Abhishek has been writing articles on dealing with varieties of technical issues and performing specific tasks, especially on a Windows machine. He strives to create comprehensive guides on fixing many system and hardware issues and help others solve their problems. You can contact him at abhisheksilwal@technewtoday.com

Related Posts

computer suddenly slow

Why is My Computer Suddenly Slow? 11 Ways to Fix It

March 31, 2023
scheduled task reboot

How to Create a Reboot Scheduled Task in Windows

March 31, 2023
slow computer startup

14 Ways to Fix Slow Computer Startup

March 26, 2023
boot loop

14 Ways to Fix Windows Boot Loop

March 19, 2023
how to change windows startup sound

How to Change Windows Startup Sound

March 17, 2023
scan disk windows 10

How to Scan Disk Windows

March 16, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
what-does-collate-mean-on-a-printer

What Does Collate Mean on a Printer?

March 31, 2023
usb-vs-pcie-wifi

USB Vs PCIe Wi-Fi—Which One is Better?

March 31, 2023
how often to replace laptop

How Often Should You Replace a Laptop

March 29, 2023
You may also like
computer suddenly slow

Why is My Computer Suddenly Slow? 11 Ways to Fix It

March 31, 2023
HTTP-Error-431

How to Fix HTTP Error 431

March 31, 2023
scheduled task reboot

How to Create a Reboot Scheduled Task in Windows

March 31, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.