The FileRepository in DriverStore is where Windows 7 keeps all drivers

Another Nice System Drive Cleanup Maneuver: DriverStoreExplorer

In my continuing quest to find more and better ways to slim Windows 7 down on disk, so as to make the most of smaller, more affordable SSDs, I’ve come across another footprint reducing technique. Exploring space consumption with my favorite visual tool, WinDirStat, I observed that the Windows FileRepository directory (C:WindowsSystem32DriverStoreFileRepository) consumes a fair amount of space (2.2 GB after my initial assay, just under 1 GB after the clean-up I’m about to describe).

The FileRepository in DriverStore is where Windows 7 keeps all drivers
The FileRepository in DriverStore is where Windows 7 keeps all drivers

In looking at the contents of the directory, I was initially baffled by a long list of subsidiary folders. It wasn’t readily apparent to me how best to make sense of this information, nor to see how this large collection of files might be pruned to filter out the dross and keep the good stuff intact. Of course, this set me off looking for a tool to help me decipher this stuff and, hopefully, also decide what might be pruned to get rid of unnecessary entries. Luckily for me, it took only small effort to turn up a CodePlex utility (Microsoft’s Open Source code repository) named DriverStore Explorer (aka RAPR or rapr.exe).

This tool maps the driver files (which take the form oemxx.inf in the first column of the listing to a package provider or vendor name, a driver class, a driver date, and a version number. This information makes it very clear that you can go spelunking inside Device Manager (looking at the Driver tab in the properties window for specific devices) to see which entries in this store are potentially redundant. In my case, I observed that frequently updated drivers (on my system this meant the JMicron storage controller driver, my Nvidia GTX 275 graphics card, and my dual RealTek GbE PCIe Ethernet adapters) were present in great profusion. I was able to get rid of no less than 4 older versions of each driver (and as many as 10 of the Nvidia drivers) and able to recover over 1 GB of disk space on my system drive as a consequence. I kept the three most current Realtek drivers to show what these redundant listings look like:

Notice oem77, ...80, and ...82 all relate to my Realtek PCI-e GbE drivers
Notice oem77, ...80, and ...82 all relate to my Realtek PCI-e GbE drivers

If you decide to prune your driver collection, I’d urge a couple of safeguards before you get too deeply involved in selecting and removing FileRepository contents. First, you should probably make an image backup of your system drive; second, you should make a copy of the entire, unchanged C:WindowsSystem32DriverStoreFileRepository directly as well, so you can go in and recover anything that might go missing and later be needed. According to TechNet, if something isn’t available in this directory that is needed, Windows will search for it in other places on your machine and online, so you may not encounter trouble even if you root out something that your system later decides it would like to access. That said, I kept at least two versions back when I was deleting items, so as to remain able to use the Roll Back Driver button in Device Manager should any of my current drivers start to give my system heartburn. I’d suggest you do likewise, as well.

Other than that, this is  another peachy way to recover a nice chunk of disk space on your system drive. Just steer clear of the Microsoft drivers, and don’t remove anything you might need (I did, however, also axe all of the half-dozen or so Bluetooth drivers I found in that repository, simply because I don’t use Bluetooth on this system, nor do I ever intend to put it to work on this machine). As long as you can live without the missing drivers, I believe you can also do away with them as well.

 

Facebooklinkedin
Facebooklinkedin

11 thoughts on “Another Nice System Drive Cleanup Maneuver: DriverStoreExplorer”

    1. The purpose of clean-up is defeated only if the copy resides on the same drive as the original files. I probably should have been clear that such a backup needs to reside elsewhere (on a backup drive, a spare USB Flash Drive, or something similar) and that it needs to be kept around only as long as is necessary to be sure all current drivers are working properly. Thereafter, it can be erased, and that storage space recovered. Thanks for pointing this out.
      –Ed–

    1. Dear Pike:
      Thanks for the feedback. I’ve written repeatedly about DriverStore Explorer, and it continues to be a great favorite in my Windows toolbox. Run this Google search to see those other writings.
      Best wishes,
      –Ed–

  1. Not sure why my previous comment didn’t show up, so here it is again:

    Hi Ed, sorry to rouse an old post from its peaceful slumber.
    This is a really useful tip, but both Chrome and Firefox are telling me that the DriverStore Explorer download file is “malicious” and thus won’t allow me to download. I’m sure I could get around the browser’s restriction, but I’m now not certain that I want to do so.

    Do you have any idea if this is just a case of a trigger-happy safety feature? Do you know of an alternative download link?

Leave a Reply

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