|

How To Delete An Old Driver Completely In Windows 11 (2026)

Uninstalling a device in Device Manager does not always remove its driver from Windows 11.

Microsoft says the driver package can stay in the driver store, so Windows can reuse it the next time the device appears.

To remove an old driver completely, you delete the package itself with PnPUtil, and the steps below follow Microsoft’s documentation.

Quick answer

GoalDo this
Remove the device and its driver togetherDevice Manager, Uninstall device, tick Delete the driver software for this device
Remove a driver package that is still storedRun pnputil /delete-driver oemNN.inf /uninstall as administrator
Find the oemNN.inf nameRun pnputil /enum-drivers
Undo a mistakeReinstall the driver from the maker or Windows Update

Uninstalling a device versus deleting a driver package

Microsoft separates the two jobs in its driver documentation.

Uninstalling a device removes the device from Windows and breaks the link between it and its driver files, but the driver package stays in the driver store.

If the device is unplugged and plugged back in, Microsoft says Windows treats it as new and installs the package from the driver store again.

Deleting the driver package removes it from the store, so Windows can no longer install it on a device until you get it again from its source.

ActionDriver package afterward
Uninstall device onlyStays in the driver store
Uninstall device with Delete the driver software tickedRemoved along with the device
pnputil /delete-driverRemoved from the driver store

Before you start

Microsoft’s removal page recommends unplugging the device first, because Windows can rediscover a connected device and reinstall its driver right away or after a restart.

It also advises using an administrator account, because the option to delete the driver software might not appear without the right permissions.

Create a system restore point before you change drivers, which is another precaution Microsoft lists on that page.

  1. Save your work and close your apps.
  2. Unplug the device if it is external.
  3. Create a restore point.
  4. Make a note of the driver name or version you are about to remove.

If you may want the driver back later, our guide to backing up your drivers in Windows 11 shows how to export them first.

Try Apps settings first

Microsoft says to search for Add or remove programs first, because a device’s driver package sometimes appears in that list.

If it does, you can uninstall it there like any other program.

Our guide to uninstalling an app in Windows 11 covers that screen.

Method 1: Delete the driver in Device Manager

This is Microsoft’s end-user route, and it works when the device is the only one using that driver package.

  1. Search for Device Manager and open it.
  2. Select the View menu and turn on Show hidden devices.
  3. Expand the device category, right-click the device and select Uninstall device.
  4. In the Confirm Device Removal window, tick Delete the driver software for this device.
  5. Select OK.
  6. Restart the PC if Windows asks.

Leave the box cleared if you only want to remove the device and keep the driver package for later.

Microsoft warns that Device Manager’s option might not fully prevent the driver from coming back, which is why it also documents PnPUtil.

Method 2: Delete the package with PnPUtil

PnPUtil is built into Windows, and it removes a package from the driver store by its published name.

  1. Select Start and type cmd.
  2. Right-click Command Prompt and select Run as administrator.
  3. Run pnputil /enum-drivers and find the package you want.
  4. Note its published name, which looks like oem12.inf.
  5. Run pnputil /delete-driver oem12.inf /uninstall, using your own name.
  6. Restart the PC.

Microsoft says the Uninstall option first updates any device using the package to a different matching driver, then removes the package.

Microsoft documents this command for Windows 10 version 1607 and later, so it is available in Windows 11.

Find the right oemNN.inf name

Microsoft’s DISM page explains that third-party drivers are renamed Oem0.inf, Oem1.inf and so on when they are added, and that published name is what removal needs.

The pnputil /enum-drivers command lists the third-party driver packages in the store.

Add /class "Display", or another class name, to shorten the list, which Microsoft documents for Windows 11 version 21H2 and later.

Add /files to see the files in each package, which Microsoft documents for Windows 11 version 22H2 and later.

You can also run pnputil /enum-drivers /format CSV /output-file drivers.csv to save the list in a file, a form Microsoft’s driver inventory page shows.

PnPUtil delete options

OptionWhat Microsoft says it does
/uninstallUninstalls the driver package from any devices using it
/forceDeletes the package even when devices are using it
/rebootRestarts the system if needed to complete the operation

Use /uninstall for a normal cleanup, because it replaces the driver on devices that use the package before deleting it.

Microsoft’s examples show /force as the way to force-delete a package, so keep it for a package that will not delete otherwise.

The risk of deleting a driver

Microsoft’s removal page warns that if no other driver package on the system matches the device, the device has no driver and will not function.

It tells you to be careful before removing a driver package.

That is why the restore point and the driver name you noted earlier matter.

Do not delete the folders in the Windows driver store by hand, because Microsoft says manually deleting a package from the store can cause unpredictable behavior.

If Windows installs the driver again

Microsoft says Windows Update can reinstall a driver when it detects that a necessary one is missing.

The same page says you might need to adjust your Windows Update settings to prevent this.

If the device is still plugged in, Windows can also rediscover it and install a driver again.

Why it came backWhat to check
Device still connectedUnplug it before removing the driver
Package left in the driver storeDelete it with PnPUtil
Windows Update found a missing driverReview your Windows Update settings

Put a driver back

Microsoft says a deleted package can be reinstalled by downloading it again from its original source, such as Windows Update.

For a driver you downloaded from the maker, run its installer or use Update driver, then Browse my computer for drivers, in Device Manager.

Our guide to updating a driver in Windows 11 walks through those steps.

If you removed a printer driver, see how to remove a printer in Windows 11.

Sources

Microsoft: Using Device Manager to uninstall devices and driver packages, How devices and driver packages are uninstalled, PnPUtil command syntax, PnPUtil examples, Create installed driver package inventory and DISM driver servicing options.

Leave a Reply

Your email address will not be published. Required fields are marked *