Pcornel
Windows · Drivers & Devices

Device Manager

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

Back to the Topic

Answer

Device Manager (devmgmt.msc) shows all hardware with status codes, driver details and hardware IDs, and lets you update, roll back, disable or uninstall drivers. pnputil does the same from the command line.

Remember

  • Each device error code (10, 28, 43…) has a specific meaning.
  • Show hidden devices to find old or ghost devices.
  • pnputil does the same from the command line.

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

Device Manager shows PnP tree and driver state

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

Confirmation

Confirm action

Continue?