Mastering Windows Hardware IDs Retrieval Methods
Mastering Windows Hardware IDs Retrieval Methods
A hardware ID is a unique identification number given to hardware components. It’s associated with the devices that you attach to your PC or the ones already connected to it.
This identification number can be helpful when you want to download the correct device drivers. That’s because if you know the hardware ID, then you can use it to search for a specific driver online.
Let’s discover the various ways to check your hardware IDs on Windows.
1. Use the Device Manager
The Device Manager is a tool that helps you tweak the settings for almost all the devices that are connected to your PC. You can also use this tool to update or reinstall the device drivers.
Now, let’s check out how you can use the Device Manager to search for the hardware IDs:
- PressWin + Run to open the Run command dialog box. Alternatively, check out the various ways to access the Run command dialog box .
- Typedevmgmt.msc and pressEnter to open the Device Manager.
- Expand the category for the device you want to look up. For example, expand theKeyboards category if you want the hardware ID for your keyboard.
- Right-click on the relevant device and selectProperties .
- Navigate to theDetails tab.
- Click theProperty drop-down menu and selectHardware Ids . You should see the hardware ID results in the “Value” box.
You might often see more than one ID in the “Value” box. In such instances, you should only focus on the hardware ID that appears at the top.
Don’t confuse a hardware ID with a compatible ID. A hardware ID is a unique identification number given to a specific device. Meanwhile, a compatible ID is a generic identification number given to a group of devices.
2. Use the Command Prompt
The Command Prompt is an incredible tool that helps you access most apps, configure system settings, and troubleshoot device issues. You can also perform other tricks with it, such as checking the hardware IDs for your devices.
Let’s check out the steps you need to follow:
- PressWin + R to open the Run command dialog box.
- TypeCMD and pressCtrl + Shift + Enter to open an elevated Command Prompt.
- Type the following command to get a list of all your drivers and devices:
Dism /Online /Get-Drivers /all /Format:Table
Now, let’s say you want the hardware ID for the mouse. Here’s how you can search for it:
- Scroll down on the Command Prompt results and locateMouse in the “Class Name” category.
- In the same row, check the option that appears in the “Published Name” category.
In this case, the option in the “Published Name” category ismsmouse.inf .
Now that you’ve found the “Published Name” result for the mouse, here’s how you can use it to find the hardware ID:
- Open a newCommand Prompt window by following the previous steps.
- Type the following command and replacePublished Name with the relevant command:
Dism /Online /Get-DriverInfo /Driver:Published Name
For example, we discovered earlier that the “Published Name” result for the mouse ismsmouse.inf . If we insert this into the command above, then the result should be as follows:
Dism /Online /Get-DriverInfo /Driver:msmouse.inf
Now, pressEnter once you’ve typed in the correct command. From there, locate the “Hardware ID” option from the results.
Parental Control Software
## 3\. Use PowerShellAlternatively, you can also check the hardware IDs using Windows PowerShell . It’s another incredible tool that allows you to run various commands.
Let’s explore how you can check the hardware IDs using this tool:
- PressWin + R to open the Run command dialog box.
- TypePowerShell and pressCtrl + Shift + Enter to open the elevated PowerShell window.
- Type the following command to get a list of your drivers and devices:
Get-PnpDevice -PresentOnly | Sort-Object -Property “Class” | Format-Table -AutoSize
- Title: Mastering Windows Hardware IDs Retrieval Methods
- Author: Richard
- Created at : 2024-08-16 01:53:59
- Updated at : 2024-08-17 01:53:59
- Link: https://win11-tips.techidaily.com/mastering-windows-hardware-ids-retrieval-methods/
- License: This work is licensed under CC BY-NC-SA 4.0.