Daily updates · Smart hardware intelligence
AI 快讯 NVIDIA

How to reduce Windows driver bloat

Over time on Windows systems, it’s inevitable that old device drivers get supplanted by new ones.

How to reduce Windows driver bloat

Over time on Windows systems, it’s inevitable that old device drivers get supplanted by new ones. Even on systems where drivers aren’t rigorously maintained, Windows Update will typically update at least a dozen drivers annually.

Those who pursue driver currency more vigorously may also use tools like the Intel Driver & Support Assistant (DSA) , the NVIDIA App (which checks Nvidia graphics, sound, and 3D drivers), or general driver management tools such as ioBit’s Driver Booster or the SourceForge Snappy Driver Installer project to check and update drivers on Windows 10 or 11 PCs. Intel and Nvidia offerings concentrate on devices they make, whereas general-purpose driver update tools check all of them and point you at newer ones, with varying degrees of help and support in getting them installed.

Neither vendor-specific nor vendor-agnostic update tools remove old drivers as they cheerfully add new ones. Thus, while every driver update tool that I know of helps keep drivers up to date, they do nothing to relieve driver bloat. In fact, the Intel DSA is spectacularly good at adding to driver bloat, as you’ll see later in this story.

Unnecessary device drivers each up storage space. They may even slow down your system, so it’s good PC maintenance practice to clear out drive cruft.

Before I explain how to do that, let’s explore what’s involved when a driver gets installed under Windows.

What happens when you install a Windows driver?

This is actually quite a fascinating process and involves a lot of behind-the-scenes action in Windows. For this discussion, I’ll stick to so-called Plug and Play (PnP) devices. These are purpose-built to announce themselves to Windows so that it can assist in finding a device driver to use, if not always the latest and greatest one. My information comes courtesy of the terrific Microsoft Press book Windows Internals (7 th edition in 2 volumes, as of this writing).

Here’s the process:

A bus driver informs the PnP manager about a device it discovers during enumeration using a device instance identifier (DIID).

The PnP manager checks the registry for a corresponding function driver. When it fails to find one, it tells the user-mode PnP manager about that device using its DIID.

The user-mode PnP manager tries to perform an automatic install without user input or intervention. For installers that involve posting of dialog boxes requiring user input, the PnP manager executes a Hardware Installation Wizard to oversee such task(s) if the logged-in user has admin privileges. (If not, this activity will be deferred until an admin-level user next logs in.)

The Hardware Installation Wizard uses Setup and CfgMgr (Configuration Manager) API functions to locate INF files that correspond to drivers that are compatible with the detected device. Mostly, this involves accessing such files from the local file system (or media like a CD or DVD) at the user’s direction.

Installation proceeds in two steps: (a) The third-party driver installer imports a driver package into the driver store, and (b) the OS performs the actual driver installation, using the Drvinst.exe process (the executable for which resides in %SystemRoot%System32). As part of that process, .inf and . cat files are deposited in the driver store associated with a DIID that takes the form of oem nnn .inf, where nnn represents a one- to three-digit decimal number. (Note: if you want to find this nnn number for any driver in the store — known as an index — you must use NirSoft’s excellent DriverView utility. The tool I recommend in this story won’t show it to you.)

This driver-handling process as documented says nothing about cleaning up older drivers present in the Windows driver store (in %SystemRoot%System32DriverStoreFileRepository). Hence, this article focuses on investigating the contents of that driver store and removing older and/or obsolete items to reduce its on-disk footprint.

Warning! There’s an important downside to consider when removing elements from the driver store. If you remove all drivers except for the most recent one(s), you will not be able to use the Roll Back Driver option in the Properties window for the related device in Device Manager. That’s provided to help users revert to an earlier version of the driver, should the current one prove unstable.

Indeed, when only one driver is present for a Windows device, the Roll Back Driver button is grayed out and inaccessible (see Figure 1) in its properties window.

Figure 1: When only one driver version resides in the Windows Store, rollback is unavailable.

Ed Tittel / Foundry

A more conservative approach to pruning your driver store might therefore be to keep the two most current drivers for any given device, rather than only the most current one. I myself do not follow this approach, except for drivers that are updated frequently or when using a beta driver. Those who maintain deployment images would be well-advised to follow this advice when testing drivers (and candidate deployment images). But all extraneous files, including duplicate or obsolete drivers, should indeed be pruned from images prior to deployment.

Getting the lowdown on device drivers in Windows 10 and 11

For modern Windows versions (10 and 11) there’s an excellent tool available to explicitly observe and manage the Windows driver store. That tool comes from GitHub, and it’s called Driver Store Explorer (also known as RAPR.exe). Version 0.12.135, the current version as of this writing, works quite well with both Windows 10 and 11.

To operate on the driver store, you must run RAPR.exe with administrative privileges (right-click the filename and then select “Run as administrator” from the resulting pop-up menu). Next, you must enumerate the items in the driver store, which produces a display that looks like Figure 2.

Figure 2 shows my Lenovo ThinkStation P3 Ultra 2’s driver store after cleaning it up with RAPR. Before cleanup, it had 925 drivers; after cleanup there were 906 left. Thus, 19 were removed. This reduced the size of the Driver Store from 6.44GB to 5.91GB, to recover 0.53GB of disk space, based on properties for the FileRepository folder in which driver files reside. Then I went looking for and deleted duplicate entries: that brought the count down to 897, and the size to 5.87GB (an additional savings of 0.04GB, for a total 0.57GB).

Figure 2: After cleanup, the P3 Ultra dropped 19 drivers; removing dupes dropped 9 more.

Ed Tittel / Foundry

To give you an idea of what can happen to this repository for driver files, I’ve seen the total item count on this same machine go as high as 1200, of which more than 150 items were duplicated Intel drivers of one sort or another (mostly Bluetooth or Wi-Fi). If you click on any of the column heads shown in this display, the listing will re-sort itself based on values in that column.

As I mentioned earlier, the Intel DSA and Nvidia apps are the worst offenders when it comes to causing driver bloat. Intel’s tool seems particularly prone to deposit up to dozens of copies of the same driver in the driver store. My example cleanup, depicted in Figure 3 later on, shows seven instances for each of two Bluetooth USB devices. All are named “ibtusb.inf” because the target PC has two sets of USB ports, and each one uses a separate driver instance.

Note: For whatever reason, if you have multiple instances of devices on (or in) your PC, you must indeed have a separate copy of a driver package (oem nnn .inf) for each one — that’s why you shouldn’t always remove what might look like unnecessary duplicates of the same driver on a PC.

本文由 白泽自动聚合自 Computerworld,发布时间:2026-01-28。内容与图片版权归原作者所有,本站仅作信息整理。
RSS 订阅

本文提到的对象

Selected 0 products Compare now