Pcornel
Windows

Drivers & Devices

Cheat sheet · https://pcornel.dk/topic.php?topic=3191

Back to the Topic

Answer

Windows drivers and devices covers Plug and Play detection, Device Manager, the driver store, driver signing and hardware IDs — how Windows finds, installs and loads the right driver for each device.

Remember

  • Error code in Device Manager points to the cause.
  • Newer driver ≠ better driver.
  • Unsigned kernel drivers won't load.

First checks

  • Get-PnpDevice -PresentOnly | ? Status -ne 'OK' — devices with problems
  • pnputil /enum-drivers — driver store packages
  • Get-PnpDeviceProperty -InstanceId <id> -KeyName DEVPKEY_Device_DriverVersion — driver version
  • Get-WinEvent -LogName Microsoft-Windows-Kernel-PnP/Configuration -MaxEvents 20 — PnP install events

Commands

pnputil
Add, remove and list driver packages.
devmgmt.msc
Open Device Manager.

Verify in this order

device detected → hardware ID → driver matched → installed → started

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=3191

Confirmation

Confirm action

Continue?