Use this when drivers fail to install or misbehave.
Driver Troubleshooting
Troubleshoot drivers with Device Manager error codes, rolling back recent drivers, checking hardware IDs against the vendor's package, setupapi.dev.log, crash dumps from blue screens and Driver Verifier for unstable drivers.
1. Problem code and events.
2. Recent driver/update change? Roll back.
3. Clean install: uninstall with "delete driver", reinstall.
4. Crash → bugcheck with driver name.
5. Hardware fault test.
device → driver → error → fix
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 Known-good, broken and when it is fixed Verify boundary
Known-good means the intended device instance enumerates without a problem code, the expected signed driver package is bound and loaded, and the original device operation completes repeatedly without new PnP/driver errors. Broken evidence is unresolved device status, wrong package binding, signature/start failure or repeatable device reset/crash. Read back the driver/device state after changes. The limit of what it shows: Device Manager showing 'working properly' shows current PnP status only, but it does not show application-level I/O quality under load.
Step 2 Common mistakes Narrow the fault
- Installing drivers from random download sites.
Step 3 Native failure isolation and next-check logic Narrow the fault
If the device is missing, verify hardware/virtual presentation and PnP enumeration before installing drivers. If present with a problem code, use that code and the bound driver/package identity to branch to disabled resource, startup/signing, missing dependency or device failure. If a newer driver introduced instability, compare version/date and rollback path rather than deleting the entire Driver Store. For intermittent failures, correlate Kernel-PnP, driver framework or crash events with the exact device instance. If multiple devices fail together, investigate controller/bus/power or platform changes instead of treating each driver independently.
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.
- setupapi.dev.log records every driver install attempt.
- The hardware ID must match the INF file.
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
ReferenceHow it works1 section · depth on demand
How it works
Windows device operation depends on PnP enumeration, hardware IDs, driver package selection in the Driver Store, device-node state, signing/policy and the loaded driver stack. A driver package can be installed without being the package currently bound to the device. Device Manager status codes describe the PnP/device state, while crashes or I/O failures can originate in filter drivers above/below the function driver. Update ranking, INF compatibility and architecture/build matter. Capture the device instance ID, hardware IDs, bound driver version/provider and problem code before replacing packages.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Inventory the driver store and problem devices
C:\> pnputil /enum-devices /problem
Instance ID: PCI\VEN_8086&DEV_15F3&SUBSYS_...
Device Description: Intel(R) Ethernet Controller I225-V
Class Name: Net
Status: Problem
Problem Code: 10 (0xA) [CM_PROB_FAILED_START]
Driver Name: oem42.inf
C:\> pnputil /enum-drivers /class Net
C:\> pnputil /enum-devices /instanceid "PCI\VEN_8086&DEV_15F3..." /drivers
The PnPUtil reference documents /enum-devices, /enum-drivers, /add-driver, /delete-driver and device restart/remove commands, and notes that /add-driver does not force a driver onto a device that has a better-ranked match — check ranking with /enum-devices /instanceid <ID> /drivers.
Device Manager problem codes
| Code | Meaning | Direction |
|---|---|---|
| 10 | Device cannot start | Driver/firmware mismatch, resource conflict |
| 28 | Drivers not installed | No matching driver in store |
| 31 | Device not working properly — Windows cannot load drivers | Corrupt or incompatible driver |
| 39 | Driver corrupted or missing | Reinstall package |
| 43 | Device reported a problem (stopped) | Hardware/firmware, often USB/GPU |
| 45 | Device not connected | Normal for unplugged devices |
| 52 | Digital signature cannot be verified | Unsigned driver, Secure Boot, vulnerable-driver blocklist |
Install and roll back cleanly
pnputil /add-driver C:\Drivers\NIC\*.inf /subdirs /install
pnputil /delete-driver oem42.inf /uninstall
pnputil /restart-device "PCI\VEN_8086&DEV_15F3..."
Keep the previous vendor package so rollback does not depend on Windows Update.
Installation logs
C:\Windows\INF\setupapi.dev.log records every device install: search for the hardware ID and read !!! lines (errors) and ! lines (warnings). The Kernel-PnP and DeviceSetupManager event logs show configuration and start failures.
Driver-caused instability
Crash dumps naming a driver, repeated device resets (storport event 129, NIC link flaps) after an update, or power-management problems (devices disappearing after sleep) call for the vendor's current driver and firmware together — mixing new driver with old firmware is a classic cause.
*The sample PnPUtil device entry illustrates a driver start failure, not a device inventory collected from a host.*
Method
Driver troubleshooting identifies drivers causing crashes, device failures or performance problems, then updates, rolls back or replaces them.
Get-PnpDevice | Where-Object Status -ne 'OK' | Select-Object Status, Class, FriendlyName, InstanceId
pnputil /enum-drivers
pnputil /delete-driver oem42.inf /uninstall
Get-WinEvent -LogName System -MaxEvents 50 | Where-Object ProviderName -match 'Kernel-PnP|disk|storahci'
verifier /query
| Situation | Action |
|---|---|
| Device error code in Device Manager | Look up code (e.g. 10 = cannot start, 43 = device reported problem) |
| BSOD naming a driver | Update or roll back that driver |
| Problem after update | Roll back driver; pause driver updates via policy |
| Intermittent crashes | Driver Verifier on suspect drivers (test systems) |
Get drivers from the hardware vendor's support tools for servers, not generic sources.
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 → Driver Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-hardware/drivers/ · confidence 94%