4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

A hardware ID (HWID) is a number that identifies a hardware component in your PC, such as a monitor or GPU. It is useful for finding available driver packages.

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

One device can have multiple HWIDs. If you’re wondering how to check Hardware ID (HWID) in Windows 11, we will list four methods to look it up. Let’s begin.

The easiest way to find the Hardware ID (HWID) is by using the Device Manager. It contains all the information on the devices. Here’s how to do it: Right-click on the Start button to open the Power User menu. Locate and click on Device Manager.

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

Step 2: Scroll down to find the device in the list and right-click on it. Choose Properties from the context menu.

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

Step 3: Switch to the Details tab.

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

Step 4: Select Hardware Ids from the drop-down list below the Property option.

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

Step 5: Under the Value section, you will see the Hardware IDs associated with the device.

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

Step 6: To copy the HWID, simply right-click on a value and select Copy.

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

Step 7: Close the Device Manager window.

If the Device Manager is not working on your PC, you can use the Command Prompt to find the Hardware ID of any device. Follow these steps:

Step 1: Press the Windows key to open the Start Menu. Type “cmd” in the search box and press Control + Shift + Enter.

See also  5 Things You Should Do on Your Xiaomi Redmi Note 5

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

Step 2: The User Account Control window will appear. Click Yes to open the Command Prompt with admin privileges.

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

Step 3: Type the command and press Enter:

DISM /Online /Get-Drivers /all /Format:Table > C:\a.txt

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

Step 4: The command creates a text file with the driver details to simplify navigation in the Command Prompt window.

Step 5: Use the Windows + E keyboard shortcut to open the File Explorer. Go to the C drive and open the newly created text file.

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

Step 6: Copy the Published Name of a device. The command to find the Hardware ID is:

DISM /Online /Get-DriverInfo /Driver:Published Name

Step 7: Replace the Published Name part of the command with the relevant text. The updated command is:

DISM /Online /Get-DriverInfo /Driver:oem77.inf

Step 8: Execute the command by pressing Enter to generate the HWID for the device.

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

Step 9: Close the Command Prompt window.

3. Using PowerShell

To search for a device’s Hardware ID using PowerShell, use the Get-PnPDevice cmdlet. Here’s how:

1. Open the Start Menu by pressing the Windows key.

2. Type “powershell” in the search box and press Control + Shift + Enter simultaneously.

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

Step 2: User Account Control window will launch. Click Yes button to open PowerShell with administrator privileges.

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

Step 3: Type the command and press Enter:

Get-PnpDevice -PresentOnly | Sort-Object -Property “Class” | Format-Table -AutoSize > D:\CID.txt

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

Step 4: The above command will save the results to a text file in the D drive. We did this because the results won’t be completely visible in the PowerShell window.

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

Copy the device’s Instance ID from the text file. The command to check the Hardware ID using the Instance ID is:

See also  7 Best Siri Shortcuts for Safari on iOS

Get-PnpDeviceProperty -InstanceId “Instance ID” Format-Table -AutoSize

Replace the text inside the “Instance ID” part with the ID you copied from the text file. The final command will look something like this:

Get-PnpDeviceProperty -InstanceId “USB\VID_13D3&PID_3563&MI_00\7&1D754FA2&0&0000” Format-Table -AutoSize > D:\HWID.txt

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

Step 7:

Export the results to a file named HWID on the D drive. Open the file and locate the entry ‘DEVPKEY_Device_HardwareIds’ in the KeyName column. The corresponding value in the data column is the Hardware ID of the device.

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

4. Using Microsoft’s Windows Drivers Kit

Microsoft offers a tool in the Windows Driver Kit (WDK) to check the Hardware IDs of devices on your PC. Since the Windows Device Console tool isn’t included with Windows 11, you must download and install the WDK to access the tool on your PC. Here’s how:

Step 1: Download Windows 11 WDK.

Step 2: Run the installer file and install the WDK on your PC.

Step 3: Press the Windows + E keyboard shortcut to open the File Explorer.

Step 4: Go to the address bar, paste the following path, and press Enter:

C:\Program Files (x86)\Windows Kits\10\Tools\10.0.22621.0\x64

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

Step 5: Right-click in the File Explorer window and select Open in Terminal.

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

Step 6: Type the command in the Terminal and press Enter:

devcon hwids * > D:\HWID.txt

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

Step 7: Similar to the previous methods, we saved the command output to a text file for easier usage. Open the file and view the Device Name and Hardware IDs.

4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11

Quickly Find Hardware ID on Windows

There are four methods available to check the Hardware ID (HWID) on a Windows 11 PC. The Device Manager provides a graphical user interface (GUI) while the remaining methods retrieve the HWID using the Terminal.

Leave a Comment