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.
Search the Start menu for Command Prompt or Terminal and choose Run as administrator. Our Windows Terminal guide explains the options.
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).
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.
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.
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.
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.
Run Rapr.exe. The list shows every third-party package in the Driver Store.
Use Export to back up the drivers you're about to remove.
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.
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".