A hardware identifier (HWID) is an identification number associated with a hardware component in your computer. It could be your monitor, graphics processing unit, or any other device. The benefit of a hardware identifier is that you can use it To find driver packages Available for a device. A single device can have multiple HWIDs. If you're wondering how to check the hardware identifier (HWID) on your Windows 11 PC, look no further. We'll list four different ways to find hardware identifiers on a Windows 11 PC. Let's get started.
1. Use Device Manager
The easiest way to find your Device Identifier (HWID) is to: Using Device ManagerIt contains complete information about all devices. Here's how to do it:
Step 1: Right click on the button "Start" To open the Power User menu, locate the option "Device Manager" Click on it to run the utility.
Step 2: Scroll down to locate the device in the list and right-click it. Select the option Characteristics from the context menu.
Step 3: Switch to tab the details.
Step 4: Click the drop-down menu below the property option. Select Device identifiers from the list.
Step 5: Under the Value section, you will see all the Device identifiers Device related.
Step 6: If you want to copy HWID, Right click on the value and select the option Copy.
Step 7: After that, close the window. Device management.
2. Use Command Prompt
if it was "Device Manager" does not work On your computer, you can use the Command Prompt to find the hardware ID for any device. Repeat the following steps:
Step 1: Click on Windows key To open start menu. Write cmd in the search box and press Keyboard shortcut Control + Shift + Enter.
Step 2: The User Account Control window will launch. Click the button. "Yeah" To open a command prompt with administrator privileges.
Step 3: Type the following command and press Enter:
DISM /Online /Get-Drivers /all /Format:Table > C:\a.txt
Step 4: The above command will create Text file Contains driver details. We did this intentionally because the list is long and difficult to navigate in the Command Prompt window.
Step 5: Click on Keyboard shortcut Windows + E To open File ExplorerGo to. C . drive ثم Open the text file Newly created.
Step 6: copy Name The post for the device. The command to find the device ID using the published name is:
DISM /Online /Get-DriverInfo /Driver:Published Name
Step 7: Replace the published name part of the command with the text you copied from the file. Our final command looks like this:
DISM /Online /Get-DriverInfo /Driver:oem77.inf
Step 8: Execute the command by pressing Enter It will generate the HWID for the device.
Step 9: Close window Command Prompt.
3. Use PowerShell
You can also use the Get-PnPDevice cmdlet in PowerShell to find the device's hardware ID. Here's how:
Step 1: Press the Windows key to open the menu. Start. Type powershell In the search box, press the keyboard shortcut Control + Shift + Enter at the same time.
Step 2: The User Account Control window will launch. Click the button. "Yeah" To open PowerShell with administrator privileges.
Step 3: Type the following command and press Enter:
Get-PnpDevice -PresentOnly | Sort-Object -Property "Class" | Format-Table -AutoSize > D:\ID.txt
Step 4: Like the previous method, the above command will save the results in a text file in drive DWe did this intentionally because the results won't be fully visible in the PowerShell window.
Step 5: Copy the device's instance ID from the text file. The command to verify the device ID using the instance ID is:
Get-PnpDeviceProperty -InstanceId "Instance Id" | Format-Table -AutoSize
Step 6: Replace the text inside a part Instance ID With the ID you copied from the text file. The final command will look like this:
Get-PnpDeviceProperty -InstanceId "USB\VID_13D3&PID_3563&MI_00\7&1D754FA2&0&0000" | Format-Table -AutoSize > D:\HWID.txt
Step 7: The above command will export the results to a file called HWID on drive D. Open the file and find the entry “DEVPKEY_Device_HardwareIds” In a column KeyName. The corresponding value in the data column of the device's device ID.
4. Use the Microsoft Windows driver suite
Microsoft provides a tool with the Windows Driver Kit (WDK) that you can use to check the hardware IDs of the devices on your computer. Since the Windows Device Console tool is not included in Windows 11To access the tool on your computer, you must download and install the Windows Drivers Kit (WDK). Here's how:
Step 1: Download Windows 11 WDK.
Step 2: Run the setup file and install. Wdk on your computer.
Step 3: Click on Keyboard shortcut Windows + E To open File Explorer.
Step 4: Go to the address bar at the top, paste the following path, and then tap Enter:
C:\Program Files (x86)\Windows Kits\10\Tools\10.0.22621.0\x64
Step 5: Right click in the window File Explorer and click on Option Open in Terminal.
Step 6: Type the following command in the terminal and press Enter:
devcon hwids * > D:\HWID.txt
Step 7: As with the previous methods, we've saved the command output to a text file for ease of use. Open the file and see the device name and its hardware IDs.
Quickly find your device ID on Windows
These were the four ways to check the Hardware Identifier (HWID) on your Windows 11 computer. Device Manager only provides a GUI method to view the Hardware ID. All other methods use the terminal. To fetch the device's HWID.