Use this when checking device status and driver details.
Device Manager
Device Manager (devmgmt.msc) shows all hardware with status codes, driver details and hardware IDs, and lets you update, roll back, disable or uninstall drivers. pnputil does the same from the command line.
1. devmgmt.msc — yellow/red icons.
2. Properties → Device status and code.
3. Driver tab: version, roll back.
4. Details: Hardware Ids.
5. Scan for hardware changes.
Device Manager shows PnP tree and driver state
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Uninstalling devices without deleting the driver package when needed.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Each device error code (10, 28, 43…) has a specific meaning.
- Show hidden devices to find old or ghost devices.
- pnputil does the same from the command line.
Get-PnpDevice -PresentOnly | ? Status -ne 'OK'— devices with problemspnputil /enum-drivers— driver store packagesGet-PnpDeviceProperty -InstanceId <id> -KeyName DEVPKEY_Device_DriverVersion— driver versionGet-WinEvent -LogName Microsoft-Windows-Kernel-PnP/Configuration -MaxEvents 20— PnP install events
ReferenceWhy it matters1 section · depth on demand
Common error codes
| Code | Meaning |
|---|---|
| 10 | Device cannot start (driver/hardware error) |
| 28 | Drivers not installed |
| 31 | Driver could not be loaded |
| 39 | Driver corrupted or missing |
| 43 | Device reported a problem (often GPU/USB hardware) |
| 45 | Device not connected |
| 52 | Unsigned driver blocked |
Details tab → Hardware Ids helps find the right driver.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Device Manager (devmgmt.msc) shows devices and driver state. Useful views: View → Devices by connection, Show hidden devices (ghost NICs/disks from removed hardware).
Get-PnpDevice -Status ERROR,UNKNOWN | ft Class,FriendlyName,InstanceId,Status
Get-PnpDevice -PresentOnly:$false | ? Status -eq Unknown # ghost devices
Get-PnpDeviceProperty -InstanceId '<id>' -KeyName DEVPKEY_Device_DriverVersion
Error codes: 10 (cannot start), 28 (no driver), 43 (device reported problem), 52 (signature cannot be verified).
Useful views
- View → Devices by connection shows which controller or hub a device hangs off.
- View → Show hidden devices reveals old (ghost) devices, e.g. NICs from previous VM hardware.
- Device properties → Details tab → *Hardware Ids*, Driver key, Last reported problem code.
- Events tab shows install and configuration history.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Drivers & Devices → Device Manager. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-hardware/drivers/ · confidence 94%