Device Manager shows an "Unknown device" with a yellow exclamation mark. Instead of blindly guessing the driver, use PowerShell to quickly get its Hardware ID (VID/PID) for precise searching.
The Fix
Get-PnpDevice -Class "USB" -Status Error | Select-Object FriendlyName, InstanceId
# Or for all error devices:
Get-PnpDevice -Status Error | Select-Object FriendlyName, InstanceId
Why it works
- The
Get-PnpDevicecmdlet retrieves Plug and Play devices. Filtering by-Status Errorshows devices with driver issues. TheInstanceIdproperty contains the Hardware ID (VID/PID) which is crucial for driver identification.
Verify
- The output will list devices in an error state. Copy the value from the
InstanceIdcolumn (e.g.,USB\VID_045E&PID_0748...) - Search
PCI\VEN_<XXXX>&DEV_<YYYY>orUSB\VID_<XXXX>&PID_<YYYY>on Google or driver websites to find the exact driver.
Notes
- Requires Administrator privileges.
- The
InstanceIdstring containsVID_XXXX(Vendor ID) andPID_YYYY(Product ID) for USB devices, orVEN_XXXXandDEV_YYYYfor PCI devices. These are universal identifiers.
Techworks Blog