DriverStore FileRepository Too Large: Safe Cleanup
Safe DriverStore FileRepository cleanup uses Windows tools to remove old driver packages one at a time. Never delete files in this folder manually, because devices can stop working.
What is in the DriverStore?
The folder C:\Windows\System32\DriverStore\FileRepository holds driver packages Windows can install on your devices. It can grow when graphics, printer or audio drivers are updated and older versions remain. Part of the folder is always needed.
Is DriverStore FileRepository cleanup worth it?
Right-click FileRepository and choose Properties, or scan the drive with Windows Clean to compare it with other large folders. File sizes alone do not show which packages are safe to remove.
Back up your third-party drivers
Create a restore point. Then open Command Prompt as administrator, create a backup folder and export the drivers. Drive D is an example.
mkdir D:\DriverBackup
pnputil /export-driver * D:\DriverBackup
Method 1: Disk Cleanup
- Search for Disk Cleanup and run it as administrator.
- Select drive C.
- Check Device driver packages if it appears.
- Review other ticked boxes, then click OK.
If the option is missing or shows little space, Windows has little to offer through this method.
Method 2: PnPUtil
List third-party driver packages:
pnputil /enum-drivers
Look for several entries with the same original name and provider. Compare version and date. Note the published name, such as oem12.inf.
Remove one confirmed old package:
pnputil /delete-driver oem12.inf
Replace oem12.inf with your own result. Microsoft's PnPUtil reference explains that /force deletes a package even when devices use it, and /uninstall removes it from those devices. Avoid both for routine cleanup. If Windows refuses a deletion, leave that package.
Restart and test your display, network, sound and printer.
If something stops working
Reinstall the driver from your PC or device maker. You can also add a backed-up package, using its real folder and file name:
pnputil /add-driver D:\DriverBackup\foldername\driver.inf /install
Free space elsewhere too
Driver cleanup is not always the biggest win. See why WinSxS looks so big, how to clean update files and our full C drive checklist.
DriverStore FAQ
Can I delete the whole FileRepository folder? No. Windows and your devices depend on it.
Does /enum-drivers list every driver? It lists third-party packages, not all drivers included with Windows.
Should I always keep only the newest version? Not if a new driver is causing problems. Keep a working version until you are sure.
Windows Clean is a free, offline disk space analyzer for Windows. No cloud, no telemetry.
Download for Windows — Free