Driver Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=3198
Answer
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.
Remember
- setupapi.dev.log records every driver install attempt.
- The hardware ID must match the INF file.
First checks
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
Verify in this order
device → driver → error → fix
Where it usually breaks
First mismatch in source/package/image/device identity → servicing/setup configuration → installation/activation → reboot/boot/runtime → system/component health → user/workload validation; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3198