Over the years on Home windows programs, it’s inevitable that previous tool drivers get supplanted by way of new ones. Even on programs the place drivers aren’t conscientiously maintained, Home windows Replace will most often replace no less than a dozen drivers every year.
Those that pursue motive force forex extra vigorously may additionally use equipment just like the Intel Driver & Support Assistant (DSA), Nvidia’s GeForce Experience (which tests Nvidia graphics, sound, and 3-d drivers), or total motive force control equipment akin to ioBit’s Driver Booster or the SourceForge Snappy Driver Installer challenge to test and replace drivers on Home windows 10 or 11 PCs. The Intel and Nvidia choices pay attention to units they make, while general-purpose motive force replace equipment take a look at they all and level you at drivers short of updating, with various levels of assist and beef up in getting them put in.
Neither vendor-specific nor vendor-agnostic replace equipment take away previous drivers as they cheerfully upload new ones. Thus, whilst each motive force replace software that I do know of is helping stay drivers up-to-the-minute, they do not anything to alleviate motive force bloat. In truth, the Intel DSA is spectacularly just right at including to motive force bloat, as you’ll see later within the tale.
All the ones needless drivers consume up cupboard space and might decelerate your machine, so it’s just right PC upkeep apply to filter out the driving force cruft.
What occurs while you set up a Home windows motive force?
That is in truth fairly an enchanting procedure and comes to numerous behind-the-scenes motion in Home windows. For this dialogue, I will persist with so-called Plug and Play (PnP) units. Those are purpose-built to announce themselves to Home windows in order that it could lend a hand find a tool motive force to make use of, if now not all the time the newest and biggest example. My knowledge comes courtesy of the terrific Microsoft Press ebook Windows Internals (7th version in 2 volumes, as of this writing). Right here’s the method:
- A bus motive force informs the PnP supervisor a few tool it discovers all through enumeration the usage of a tool example identifier (DIID).
- The PnP supervisor tests the registry for a corresponding serve as motive force. When it fails to seek out one, it tells the user-mode PnP supervisor about that tool the usage of its DIID.
- The user-mode PnP supervisor tries to accomplish an automated set up with out consumer enter or intervention. For installers that contain posting of conversation packing containers requiring consumer enter, the PnP supervisor executes a {Hardware} Set up Wizard to supervise such process(s) if the logged-in consumer has admin privileges. (If now not, this task can be deferred till an admin-level consumer subsequent logs in.)
- The {Hardware} Set up Wizard makes use of Setup and CfgMgr (Configuration Supervisor) API purposes to find INF recordsdata that correspond to drivers which might be appropriate with the detected tool. Most commonly, this comes to having access to such recordsdata from the native record machine (or media like a CD or DVD) on the consumer’s route.
- Set up proceeds in two steps: (a) The third-party motive force installer imports a motive force bundle into the driving force retailer, and (b) the OS plays the real motive force set up, the usage of the Drvinst.exe procedure (the executable for which is living in %SystemRootp.cSystem32). As a part of that procedure, .inf and .cat recordsdata are deposited within the motive force retailer related to a DIID that takes the type of oemnnn.inf, the place nnn represents a one- to three-digit decimal quantity. Observe: if you wish to in finding this nnn quantity for any motive force within the retailer (referred to as an index), you will have to use NirSoft’s superb DriverView. The software I like to recommend on this tale gained’t display it to you.
Observe that the driver-handling procedure as documented says not anything about cleansing up older drivers provide within the Home windows motive force retailer (in %SystemRootp.cSystem32DriverStoreFileRepository). Thus, this newsletter specializes in investigating the contents of that motive force retailer and taking away older and/or out of date pieces to scale back its on-disk footprint.
Caution! There may be crucial drawback to believe when taking away components from the driving force retailer. If you happen to take away all drivers except for for the newest one(s), you’ll now not be capable of use the Roll Again Motive force possibility within the Houses window for the similar tool in Instrument Supervisor. That’s equipped to assist customers revert to an previous model of the driving force, will have to the present one end up volatile.
Certainly, when just one motive force is provide for a Home windows tool, the Roll Again Motive force button is grayed out and inaccessible (see Determine 1) in its houses window.
Ed Tittel / IDGDetermine 1: When just one motive force model is within the Home windows motive force retailer, the roll again possibility is unavailable. (Click on symbol to magnify it.)
A extra conservative technique to pruning your motive force retailer may subsequently be to stay the 2 most modern drivers for any given tool, slightly than most effective probably the most present one. I actually don’t observe this means, except for for drivers which might be up to date regularly or when the usage of a beta motive force. Those that care for deployment pictures could be well-advised to observe this recommendation when checking out drivers (and candidate deployment pictures). However all extraneous recordsdata, together with replica or out of date drivers, will have to certainly be pruned from pictures previous to deployment.
Getting the lowdown on tool drivers in Home windows 10 and 11
For all fashionable Home windows variations (7 and more recent) there’s a very good software to be had to explicitly follow and arrange the Home windows motive force retailer. That software comes from GitHub, and it is referred to as Driver Store Explorer (sometimes called RAPR.exe). Model 0.11.92, the present model as of this writing, works fairly nicely with each Home windows 10 and 11.
To function at the motive force retailer, you will have to run RAPR.exe with administrative privileges (right-click the filename after which make a selection “Run as administrator” from the ensuing pop-up menu). Subsequent, you will have to enumerate the pieces within the motive force retailer, which produces a show that appears like Determine 2.
Determine 2 displays my Lenovo P16 Cell Workstation’s motive force retailer after cleansing it up with RAPR. Prior to cleanup, I had 155 drivers; after cleanup there have been 118 left. Thus, 37 had been got rid of. This decreased the dimensions of the Motive force Retailer from 5.84GB to 4.30GB, to get better 1.54GB of disk area, according to houses for the FileRepository folder by which motive force recordsdata are living.
Ed Tittel / IDGDetermine 2: After cleanup, the P16 Cell Workstation sports activities 118 general drivers (down from 155). (Click on symbol to magnify it.)
To provide you with an concept of what can occur to this repository for motive force recordsdata, I have observed the full merchandise depend in this identical device pass as prime as 160, of which greater than 40 pieces had been duplicated Intel drivers of 1 type or every other (most commonly Bluetooth or Wi-Fi). If you happen to click on on any of the column heads proven on this show, the list will re-sort itself according to values in that column.
As I discussed previous, the Intel DSA and Nvidia GeForce Revel in equipment are the worst offenders in terms of inflicting motive force bloat. Intel’s software turns out in particular at risk of deposit as much as dozens of copies of the similar motive force within the motive force retailer. My instance cleanup, depicted in Determine 3, displays seven circumstances for every of 2 Bluetooth USB units. All are named “ibtusb.inf” since the goal PC has two units of USB ports, and every one makes use of a separate motive force example.
Observe: For no matter reason why, you probably have a couple of circumstances of units on (or in) your PC, you will have to certainly have a separate replica of a motive force bundle (oemnnn.inf) for every one — that is why you shouldn’t all the time take away what may seem like needless duplicates of the similar motive force on a PC. However prime counts of the similar motive force — or worse, prime counts of a couple of variations of drivers for a similar tool — generally warrant cleanup. Thankfully, RAPR can maintain this to your behalf.
Clearing out undesirable drivers with RAPR
To prune drivers, click on the Make a choice Outdated Motive force(s) button on the best correct, then click on Delete Motive force(s). RAPR handles the remainder for you.
And don’t concern: it’ll now not delete any drivers these days in use. That’s what the “Power Deletion” possibility is for, however you’ll seldom want it. The one instances I have ever used RAPR’s pressure delete capacity is when a couple of resources of excellent recommendation have recommended removing of a nasty or questionable motive force in order that it may be changed with a distinct, operating, and older model. That is particularly most probably for printer drivers, for some reason why.
Figures 3 and four display a earlier than and after series for instance what conventional cleanups contain.
Ed Tittel / IDGDetermine 3: Replica/out of date Bluetooth units galore seem at the P16 Workstation. (Click on symbol to magnify it.)
Ed Tittel / IDGDetermine 4: After pruning, most effective latest circumstances seem. (Click on symbol to magnify it.)
While you believe that drivers for a standard graphics adapter devour over 1GB of disk area and that many tool drivers require no less than 2 to 4MB, it’s simple to look how losing undesirable entries can liberate some actual area.
When is motive force retailer cleanup wanted?
An previous web announcing applies to Home windows machine optimization and cleansing as nicely: YMMV, an acronym for “your mileage might range.” Because of this other programs or deployment pictures will inevitably showcase other behaviors, values, and so on.
With that caveat in thoughts, check out the houses to your motive force retailer listing: if it is over 5GB in measurement, I would stir up RAPR and spot what it could in finding; if it is over 8GB, you can undoubtedly wish to see what is in there and do away with what you not want or need. I have observed some circumstances the place the folder’s measurement exceeded 10GB. Consider me: you do not need to let issues pass that a long way.
Observe for admins: While you replace a deployment symbol for distribution, you’ll frequently replace pieces within the motive force retailer. As a result of this doesn’t routinely blank up older entries as you upload new ones, you will have to use RAPR (or some identical command-line shenanigans) to scrub out replica and out of date entries. The one factor worse than further, unneeded drivers within the retailer on one PC is as many such copies as you’ve were given pictures operating in your business!
With Nvidia show drivers most often eating 1 to one.2GB in keeping with replica (or model), maintaining older drivers round is fairly actually a waste of area. You’ll stay two variations for protection when you like (merely uncheck the next-to-most-recent model after the usage of RAPR’s Make a choice Outdated Motive force(s) possibility), however there is no reason why to stay greater than two within the motive force retailer. For a blank and examined deployment symbol, it will have to have most effective as many copies of any motive force because it wishes, and not more than that. (Prior to I began doing common cleanups myself, I may discover a dozen or extra Nvidia show drivers on a PC with a one-to two-year-old OS symbol operating.)
You truly must paintings at it to harm your self the usage of RAPR, so that you needn’t really feel forced to make an image backup earlier than cleansing up your motive force retailer. However as a result of I’m a “belt-and-suspenders” more or less man, I have gotten into that dependancy, simply in case I unintentionally take away one thing it seems I truly want. You’ll all the time reload that backup from the restore/restoration media to your PC when you finish up with a failing or unbootable device after a too-aggressive cleanup. (Or you’ll be able to mount the previous symbol as a VM within many backup utilities, akin to Macrium Replicate Loose, and pluck the drivers you wish to have from that motive force retailer the usage of RAPR’s export and set up equipment.) Who is aware of? Both may come in useful. With a backup you’ll be able to blank up no matter you need, each time you need with out concern.
This newsletter used to be initially printed in November 2015 and up to date in Would possibly 2023.
Copyright © 2023 IDG Communications, Inc.

