Device Drivers
Cheat sheet · https://pcornel.dk/topic.php?topic=3194
Answer
Device drivers are kernel or user-mode modules that let Windows talk to hardware. Each has an INF file, version and signature, and the wrong or outdated driver is a frequent cause of crashes and device errors.
Remember
- Check driver version and signer before blaming hardware.
- Device Manager can roll back to the previous driver.
- Vendor drivers may support features inbox drivers lack.
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
driver package → installed → loaded
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=3194