4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11
Abhishek stuck to the Windows operating system ever since he bought the Lenovo G570. As obvious as it is, he loves to write about Windows and Android, the two most common yet fascinating operating systems available to mankind. When he is not drafting a post, he loves to binge OnePiece and whatever Netflix has to offer.
Supreeth is passionate about technology and dedicates himself to helping people figure it out. An engineer by education, his understanding of the inner workings of all types of gadgets and devices ensures he provides top-notch guidance, tips, and recommendations to his readers. When away from the desk, you will find him traveling, playing FIFA, or hunting for a good movie.
Method 1: Using Device Manager
The easiest way to find the Hardware ID (HWID) is byusing the Device Manager. It contains the complete information on all the devices. Here’s how to do it:
Step 1:Right-click on theStartbutton to open the Power User menu. Locate theDevice Manageroption and click on it to launch the utility.
Step 2:Scroll down tolocate the devicein the list and right-click on it. Select thePropertiesoption from the context menu.
Step 3:Switch to theDetailstab.
Step 4:Click on the drop-down list below the Property option. Select theHardware IDsfrom the list.
Step 5:Under the Value section, you will see all the Hardware IDs associated with the device.
Step 6:If you want to copy the HWID,right-clickon a value and select theCopyoption.
Method 2: Using Command Prompt
If theDevice Manager is not workingon your PC, you can use theCommand Promptto find the Hardware ID of any device. Repeat the following steps:
Step 1:Press the Windows key to open the Start Menu. Typecmdin the search box and press theControl + Shift + Enterkeyboard shortcut.
Step 2:The User Account Control window will launch. Click on theYesbutton to open the Command Prompt with administrator privileges.
Step 3:Type the following command and press Enter:
Step 4:The above command will create a text file containing the driver details. We purposely did it because the list is long and difficult to navigate in the Command Prompt window.
Step 5:Press theWindows + Ekeyboard shortcut to open the File Explorer.Navigate to the C driveand thenopenthe newly created text file.
Step 6: Copy the Published Nameof a device. The command to find the Hardware ID using the Published Name is:
Step 7: Replace the Published Namepart of the commandwith the text you copiedfrom the file. Our final command looks like this:
Step 8: Execute the commandby pressing Enter and it will generate the HWID of the device.
Step 9:Close the Command Prompt window.
Method 3: Using PowerShell
You can even use the Get-PnPDevice cmdlet inPowerShellto search for the Hardware ID of a device. Here’s how to do it:
Step 1:Press the Windows key to open the Start Menu. Typepowershellin the search box and press theControl + Shift + Enterkeyboard shortcut simultaneously.
Step 2:The User Account Control window will launch. Click on theYesbutton to open the PowerShell with administrator privileges.
Step 3:Type the following command and press Enter:
Step 4:Like the previous method, the above command will save the results to a text file in the D drive. We purposely did it because the results won’t be completely visible in the PowerShell window.
Step 5: Copy the Instance IDof the device from the text file. The command to check the Hardware ID using the Instance ID is:
Step 6: Replace the text inside the “Instance Id” partwith the IDyou copied from the text file. The final command will look something like this:
Step 7:The above command will export the results to a file called HWID on the D drive.Open the fileand find the ‘DEVPKEY_Device_HardwareIds’ entry in the KeyName column. The corresponding value in the data column in the Hardware ID of the device.
Method 4: Using Microsoft’s Windows Drivers Kit
Microsoft offers a tool with the Windows Driver Kit (WDK) that you can use 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 Windows Drivers Kit (WDK) to access the tool on your PC. Here’s how to do it:
Step 1:Download and install theWindows 11 WDK.
Step 2:Press the Windows + E keyboard shortcut to open theFile Explorer.
Step 4:Go to theaddress barat the top,paste the following path, and press Enter:
Step 5: Right-clickin the File Explorer window and click on theOpen in Terminaloption.
Step 6: Type the followingcommand in the Terminal and press Enter:
Step 7:Like the previous methods, we have saved the command output to a text file for ease of usage. Open the file and see the Device Name and their Hardware IDs.
Was this helpful?
Last updated on 23 July, 2024
Leave a ReplyCancel reply
Your email address will not be published.Required fields are marked*
Name*
Email*
Comment*
Δ
Read Next
The article above may contain affiliate links which help support Guiding Tech. The content remains unbiased and authentic and will never affect our editorial integrity.
More in Windows
7 Best Ways to Fix Kindle for PC Desktop App Won’t Open on Windows
4 Fixes for “Compress to ZIP File” Option Not Working in Windows 11
JOIN THE NEWSLETTER
Get Guiding Tech articles delivered to your inbox.
© 2024 Guiding Tech Media. All Rights Reserved.