Skip to content

How-ToOS

How to Remove Old Drivers from the Windows 11 Driver Store

How to remove old and unused driver packages from the Windows 11 Driver Store: backing up first, listing packages with pnputil /enum-drivers, deleting outdated oem#.inf packages safely without /force, using the free DriverStore Explorer's old-driver selection, and what to leave alone.

By , Systems & Technical Editor

5 min read

How to Remove Old Drivers from the Windows 11 Driver Store

The commands and warnings come from Microsoft's PnPUtil and Driver Store documentation and the DriverStore Explorer project page, checked on 25 November 2026.

When you install a driver, Windows doesn't just copy it onto the device. It first adds the whole package to the Driver Store, which Microsoft describes as a trusted collection of inbox and non-Microsoft driver packages kept in a secure location on the local disk. Only packages in the Driver Store can be installed on a device, and copying one in is called staging.

Updating a graphics, chipset, audio or network driver stages a new package, but the older ones can stay behind. On a PC that has been through years of GPU driver updates, or one where you've swapped graphics cards, that can mean a long list of packages you'll never use again. Removing them is optional housekeeping, not a performance fix, so only do it if you want the space back or a tidier list.

Before you start

  • Back up your drivers. Export the packages first so you can put back anything you delete by mistake. Our guide to backing up drivers in Windows 11 covers PnPUtil's export command.

  • Create a restore point. See how to use System Restore in Windows 11.

  • Use an administrator account. Microsoft says to run PnPUtil from a command prompt opened with Run as administrator.

  • Don't confuse this with a clean GPU driver install. If you're switching between NVIDIA, AMD and Intel graphics or fixing a broken GPU driver, use DDU instead, as covered in our clean graphics driver install guide.

Method 1: Remove old drivers with PnPUtil

PnPUtil is included in every version of Windows from Vista onwards, in the System32 folder, so there's nothing to download. Its delete command has been available since Windows 10 version 1607.

  1. Search the Start menu for Command Prompt or Terminal and choose Run as administrator. Our Windows Terminal guide explains the options.

  2. List the third-party driver packages in the Driver Store:

pnputil /enum-drivers

Each third-party package is identified by a name in the form oem#.inf (for example oem42.inf), which is the name PnPUtil's delete and export commands use, and the list includes details about each package. On Windows 11 you can narrow the list by class, for example pnputil /enum-drivers /class Display for graphics drivers (the /class flag arrived in Windows 11 version 21H2).

  1. Look for several packages for the same kind of device from the same maker, and note which oem#.inf names hold older versions. Confirm which version your device is actually using in Device Manager, as shown in our guide to checking a driver version in Windows 11, and don't delete that one.

  2. Delete an old package by its published name:

pnputil /delete-driver oem42.inf

Microsoft documents a separate /force flag for deleting a package "even when it is in use by devices", so leaving that flag off is your safety net. If a delete is refused, leave that package where it is.

  1. Repeat for each old package, then restart the PC.

The flags to be careful with

Microsoft documents three optional flags for /delete-driver:

Flag

What it does

Our advice

/uninstall

Uninstalls the package from any devices using it

Only if you deliberately want that device's driver gone

/force

Deletes the package even when devices are using it

Avoid unless you have a backup and know what the device is

/reboot

Restarts the system if needed to finish

Fine to use

Plain pnputil /delete-driver oem#.inf, without /force, is the safe way to clear out packages nothing is using.

Method 2: Use DriverStore Explorer

If scrolling through a long command-prompt list doesn't appeal, DriverStore Explorer (also called RAPR) is a free, open-source (GPL-2.0) tool that shows the same packages in a sortable window, with size, version and date for each. Its developer describes it as intended for advanced users and administrators.

  1. Download the latest release ZIP from the project's GitHub page and extract it, or install it with winget install lostindark.DriverStoreExplorer (see our winget guide). It needs Windows 7 or newer, .NET Framework 4.7.2 or newer and administrator rights.

  2. Run Rapr.exe. The list shows every third-party package in the Driver Store.

  3. Use Export to back up the drivers you're about to remove.

  4. Click Select Old Driver(s). The developer says a driver counts as old when a newer version of it exists on the system, and that the automatic selection's results may vary, so check each ticked entry before going further.

  5. Delete the selected packages (the project lists deleting single or multiple drivers as a core feature) and restart when you're finished.

Two warnings from the project are worth repeating:

  • "Select Unused Driver(s)" isn't a "safe to delete" button. It picks drivers without an associated device, which can include antivirus, network service, printer and other software drivers. The app warns you before making that selection.

  • Boot-critical drivers are skipped by both automatic selections unless you change that in Options. Leave that setting alone.

The developer also warns that misusing the tool can stop Windows booting or leave devices without a working driver, which is why the backup step matters.

What to leave alone

  • Anything without a newer version of the same driver from the same provider.

  • Storage, chipset and network drivers you can't easily reinstall without an internet connection.

  • Anything you don't recognise. Look the provider and INF name up first, or keep it.

If a device stops working after a clean-up, open Device Manager and reinstall or update its driver, as in our Device Manager driver update guide, or restore the package from your backup.

Our verdict

Removing old drivers from the Windows 11 Driver Store is optional housekeeping, not a speed boost. Back up your drivers and create a restore point first, then list packages with pnputil /enum-drivers and delete outdated ones by their oem#.inf name without the /force flag, so anything still in use is protected. DriverStore Explorer does the same job in a window and can select old versions for you, but check every selection and never treat "unused" as "safe to delete".

The bottom line

Removing old drivers from the Windows 11 Driver Store is optional housekeeping, not a speed boost. Back up your drivers and create a restore point first, then list packages with pnputil /enum-drivers and delete outdated ones by their oem#.inf name without the /force flag, so anything still in use is protected. DriverStore Explorer does the same job in a window and can select old versions for you, but check every selection and never treat "unused" as "safe to delete".

Sources

  1. 01Microsoft Learn: Driver store
  2. 02Microsoft Learn: PnPUtil command syntax
  3. 03Microsoft Learn: PnPUtil command examples
  4. 04GitHub: DriverStore Explorer (lostindark)
  5. 05Microsoft Support: Update drivers through Device Manager in Windows

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

Best Free Driver Tools for Windows 11 in 2026

Best Picks

Best Free Driver Tools for Windows 11 in 2026

The best free driver tools for Windows 11 in 2026: Windows Update and Device Manager for everyday drivers, the NVIDIA App and AMD Software: Adrenalin Edition for graphics, DDU for clean GPU driver removal, NVCleanstall for lean NVIDIA installs, PnPUtil and DriverStore Explorer for clean-ups and Snappy Driver Installer Origin for offline installs, and why paid driver updaters aren't needed.

Hannah Vance5 min

How to Check a File Hash (SHA-256 Checksum) in Windows 11

How-To

How to Check a File Hash (SHA-256 Checksum) in Windows 11

How to check a file's SHA-256 hash in Windows 11 to verify Windows ISOs, Linux images, drivers and BIOS files: finding the official checksum, using PowerShell's Get-FileHash (and letting it compare for you), certutil -hashfile, 7-Zip's CRC SHA menu, Ubuntu's SHA256SUMS file, and what to do if it doesn't match.

Marcus Thorne4 min

How to Use digiKam's Local AI Face Recognition and Auto-Tags

How-To

How to Use digiKam's Local AI Face Recognition and Auto-Tags

digiKam is a free desktop photo manager whose AI models run entirely on your PC. How to download the models, scan your library for faces, name people, run recognition passes safely, fix bad training data and add auto-tags for objects and scenes.

Marcus Thorne6 min