Pcornel
Windows · Drivers & Devices

Plug and Play

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

Back to the Topic

Answer

Plug and Play detects hardware when it appears, reads its hardware IDs, picks the best signed driver from the driver store or Windows Update, and allocates resources without manual configuration.

Remember

  • Plug and Play picks the best-ranked signed driver available.
  • Windows Update can supply drivers automatically.
  • A rescan triggers detection again.

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

Verify in this order

bus enumerates → PnP manager → driver installed and 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=3193

Confirmation

Confirm action

Continue?