Enumerate Driver Store Packages with pnputil /enum-drivers

List third-party OEM driver packages with versions and dates before pruning the driver store.

WindowspnputilcmddriversLow risk
Run `pnputil /enum-drivers` in an elevated prompt to list every third-party driver package and its oemXX.inf identity.

01Command

Command
$ pnputil /enum-drivers

02What it does

The driver store accumulates an OEM .inf package for every driver version ever installed, and Disk Cleanup never touches it. pnputil /enum-drivers shows each package's published name (oem0.inf, oem1.inf...), class, version and date, which tells you which old copies are safe to remove with `pnputil /delete-driver oemXX.inf` afterwards. This is the standard first step when Disk Cleanup or storage recovery requires removing orphaned driver packages.

03Risk

RiskLow risk
RequirementsAdministrator privileges
!Warning: Note the published name down to the number; /delete-driver uses that oemXX.inf name, and deleting the wrong package breaks the device it serves.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

  • pnputil - Windows Commands
    Microsoft Learn · vendor-doc · 2026-09-17
    Evidence: Documents pnputil /enum-drivers, which lists all third-party driver packages in the driver store with OEM numbers and versions.
  • PnpUtil syntax and examples
    Microsoft Learn · vendor-doc · 2026-09-17
    Evidence: Shows pnputil syntax including /enum-drivers and the matching /delete-driver oemXX.inf command used for cleanup.

Last verified: 2026-09-17 · Category: System & Settings

06Related solutions