Use this when managing staged driver packages.
Driver Store
The driver store (C:\Windows\System32\DriverStore) holds staged driver packages that Windows can install without media. Manage it with pnputil /enum-drivers, /add-driver and /delete-driver.
1. pnputil /enum-drivers.
2. Add: pnputil /add-driver x.inf /install.
3. Remove old: pnputil /delete-driver oemNN.inf.
4. Driver store in C:\Windows\System32\DriverStore\FileRepository.
5. Keep needed versions.
driver packages staged → available for installation
Context & applicabilityCommon mistakes · platform/version boundaries
- Driver store growing with old versions — remove unused packages with
pnputil /delete-driver. - Deleting from
FileRepositorymanually. - Exporting drivers from one model and deploying to another.
Operational reference
Fast context before you go deeper.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- pnputil /enum-drivers lists staged packages.
- Old packages accumulate over time.
- Delete only packages not in use.
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
ReferenceWhy it matters1 section · depth on demand
Driver store tips
Packages are staged in C:\Windows\System32\DriverStore\FileRepository before installation; the published name is oemNN.inf. Old versions accumulate — remove unused ones with pnputil /delete-driver or Disk Cleanup "Device driver packages". Add drivers offline to images with dism /Image:C:\mount /Add-Driver.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
The driver store (C:\Windows\System32\DriverStore\FileRepository) holds staged driver packages; PnP installs from there. Old versions accumulate.
pnputil /enum-drivers | Select-String -Context 0,6 'Display'
pnputil /add-driver C:\Drivers\*.inf /subdirs /install
pnputil /delete-driver oem23.inf /uninstall /force
Dism /Image:C:\mount /Add-Driver /Driver:C:\Drivers /Recurse # offline image
Export-WindowsDriver -Online -Destination D:\DriverBackup
Exporting drivers before reinstalling or migrating machines saves hunting for vendor packages.
ReferenceConfiguration & state1 section · depth on demand
Commands
pnputil /enum-drivers
pnputil /add-driver C:\Drivers\*.inf /subdirs /install
pnputil /delete-driver oem42.inf /uninstall
Export-WindowsDriver -Online -Destination D:\DriverBackup
Documented example, not captured output. Driver store location: C:\Windows\System32\DriverStore\FileRepository.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Drivers & Devices → Driver Store. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-hardware/drivers/ · confidence 94%