DriverStore FileRepository Too Large in Windows 11? What You Can Safely Clean

Folder holding three circuit-board cards with a large padlock in front

Last reviewed: November 23, 2026. Steps for the DriverStore FileRepository folder were compared with Microsoft documentation and were not run on a real PC.

Quick answer

The short version

  • What it is: the Windows folder that keeps driver packages, which Windows uses to install devices.
  • Why it grows: new driver versions arrive, and older packages can stay behind.
  • Is it normal: a few gigabytes can be normal on a working PC. No Microsoft page we read gives a size, so look at the trend and the free space first.
  • What you can safely do: remove hardware and software you no longer use, let Windows manage the store, and use Disk Cleanup when it offers device driver packages.
  • What not to do: never delete files or folders inside it by hand, and never let a PC cleaner empty it.

In this guide

What the DriverStore FileRepository folder is

The full path is C:\Windows\System32\DriverStore\FileRepository. Windows keeps driver packages in this folder. A driver package is a set of driver files plus an information file that tells Windows which devices it supports.

When you connect or install a device, Windows checks this store first. If a matching package is already there, Windows can install the device without a disc or a fresh download. Microsoft's Driver Store page describes this collection; the folder path itself is general guidance.

Why older packages stay

Windows does not always remove the previous package when a new one arrives. Our general understanding is that an older package may be kept so a device can roll back to a driver that worked. We did not confirm that rollback purpose on a Microsoft page, so treat it as general advice.

Microsoft's Driver Store page describes the store as a trusted collection of inbox and non-Microsoft driver packages, and says that only packages in the store can be used to install devices. The PnPUtil reference lists the third-party driver packages with the /enum-drivers option, covered later in this guide.

What makes it grow

  • Graphics driver updates. Graphics packages can be large and arrive often, so they can add up quickly.
  • Printers, scanners and other peripherals. Each one can install its own package set.
  • Windows Update. Windows can add driver packages for hardware it detects. Our guide to Windows Update cleanup covers the update side of disk use.
  • Old versions kept after updates. Each update can leave the previous package in place.
  • Devices you removed. A package can outlive the hardware that once used it.

The exact causes vary by PC, and the list above is general advice, not a Microsoft list. Two machines with the same Windows version can hold very different amounts.

Why a few gigabytes can be normal

No Microsoft page we read gives a normal size for this folder. So this guide gives no figure. A PC with a dedicated graphics card and several peripherals may hold more packages than a simple laptop.

Growth over the years can be normal as drivers update. Size alone is not a fault. Ask two questions instead. Is the folder still growing every month? Is the system drive short of space right now?

If the drive is short, the fix is usually in other places. Start with our guide to freeing up disk space in Windows 11. For a drive that keeps filling, measure where the space goes before you change anything.

How to look at it without changing anything

There are three read-only ways to look at the folder. None of them deletes anything. Use them in this order.

Check the storage settings

  1. Open Storage. Select Start > Settings > System > Storage.
  2. Show more categories. Select Show more categories, then System & reserved. Menu names can vary by Windows version.

SettingsSystemStorageSystem & reserved

You should see a size for system and reserved storage. That total covers more than the driver store, so do not read it as the DriverStore size alone. Our system and reserved storage guide explains what else sits in that group.

If this does not work, the category list may be missing on your build. Use the totals on the main Storage page instead, and skip to the command below.

Look at folder properties with care

Opening Properties on the folder in File Explorer can take a long time. It holds many small files. Windows may also block the view, because the folder is protected.

Do not change permissions or take ownership to get past a block. That is a change to a protected system folder. If the window hangs, close it. Closing it changes nothing.

Read the store with one Terminal command

Open Terminal as a normal user. Type the command below and press Enter. It only lists packages.

pnputil /enum-drivers

Here is what each part does.

  • pnputil is the built-in Windows tool for managing driver packages.
  • /enum-drivers lists the third-party driver packages in the driver store. Microsoft says this option has been available since Windows 10 version 1607.

The output shows one block for each package. Read the class and the provider to see which kind of device a package belongs to. Field labels can differ between builds, so check them on your own PC. We did not run this command for this article.

If you only want one device class, Microsoft lists a /class option. In Windows 11 it is available from version 21H2:

pnputil /enum-drivers /class "Display"

You should see a list of packages, or a shorter list for the class you named. The command makes no change to the folder.

If this does not work, check that you typed the command exactly, with a space before each slash. Do not try other pnputil options to get past an error.

What Disk Cleanup offers for driver packages

Our general advice is that Disk Cleanup on Windows 11 can list a device driver packages item under Clean up system files. We could not confirm this item on a Microsoft page, so treat the detail as unverified.

To look, select Start, search for Disk Cleanup and open it. Choose the system drive, then select Clean up system files. Menu names can vary.

Read the item's description before you tick it. If the description is missing or unclear, leave the box empty. The item may also not appear at all. That is normal, because Windows decides what it offers.

You should see the item listed with a size next to it, or no such item at all. Either result is fine.

If this does not work, skip the item. Our Disk Cleanup walkthrough covers the other items the tool offers.

Supported ways to make it smaller

These routes work with Windows rather than against it. The table lists each one and says whether it is a supported route.

Action Supported route? Why
Remove a device and its software you no longer use Yes Removing the device and its software is a cleaner way to deal with its packages (general advice).
Let Windows manage the store through updates Yes Windows adds packages when it installs drivers. We did not confirm on a Microsoft page how old packages are retired.
Run Disk Cleanup and tick device driver packages, if offered Yes, when offered It is the built-in route, and the item's description should say what it removes.
Install only the driver a device needs Yes Extra vendor bundles add packages and utilities you may never use.
Delete files inside FileRepository by hand No It can stop devices from installing, and may affect rollback (general advice).

In our general advice, the first two routes do most of the work over time. The third helps when the item is offered and you have read it.

Why deleting by hand or with a cleaner is wrong

Windows protects this folder, and forcing access to it is a bad idea. A driver package you remove can stop a device from installing. Our general advice is that it can also affect rolling back to an older driver, although we did not confirm that on a Microsoft page.

A PC cleaner that offers to empty this folder is making the same mistake. Our guide on what to do when a PC cleaner broke Windows 11 shows the damage such tools can cause. Before you try any cleaner, see our PC cleaner software checklist.

The same rule applies to other system stores. Leave the WinSxS folder and the Windows Installer cache to Windows. Our guide to AppData and ProgramData folders covers the same caution for app folders.

Warning

Never delete DriverStore files or folders by hand or with a cleaner. Microsoft Learn describes a delete option in the pnputil command, but that is not a clean-up tool, and this guide does not walk through it.

When the folder is tens of gigabytes

No Microsoft page we read gives a size limit, so we cannot say what is normal for your PC. A folder of tens of gigabytes is worth a closer look, as our general advice. Work through these checks before you decide on anything.

Check for a driver that reinstalls in a loop

If the folder grows every week, one device may keep reinstalling its driver. Open Device Manager and look for a device with a warning icon. Note its name. Repeated installs may also show in Windows Update history. Menu names can vary.

You should see either one device that keeps coming back, or nothing unusual. In our general advice, normal updates explain modest growth, not a steady climb every week.

If this does not work, the cause may be an update you have not seen yet. Keep watching the folder size over a few weeks before you act.

Make a backup and a restore point first

Before any driver change, copy your personal files to a separate drive or cloud store. If System Protection is on, a restore point may give you a way back. Menu names can vary.

You should see your files in the backup location and a restore point in the list. Do not change anything until both are in place.

When to ask the maker, and when to reset

If one device keeps reinstalling, ask its maker for the current driver. Do not keep reinstalling the same package. That is the loop you are trying to break.

Windows file damage is a different problem. Our guide to running SFC and DISM covers the repair route. A full reset of Windows is a last step, and it needs a complete backup first.

Driver updaters and driver cleaners

Many sites promise a driver updater or a driver cleaner that speeds up a PC or frees space. Treat those claims with care. We found no evidence in our sources that such a tool improves speed, so we make no such promise here.

A driver updater can install a driver that does not suit your device. A driver cleaner that removes packages from the store can break device installs for the reasons above. If a tool asks you to empty this folder, close it.

The safer route to a newer driver is the device maker or Windows Update. Our guide on how to update drivers in Windows 11 explains that route. For general cleaner checks, see the PC cleaner overview, our list of cleanup software to avoid and the guide to optimization software.

Windows 10 differences

The folder and its purpose are the same on Windows 10. The pnputil list option has been available since Windows 10 version 1607. Some of the extra flags need newer Windows 11 builds, so they may not work on older Windows 10 PCs.

Storage menu names may differ slightly on Windows 10. Use the same steps and read the labels on your screen. The safety rules do not change. Never delete files in the driver store by hand, on either version.

FAQ

About the folder

Is the FileRepository folder a virus?

No. It is a normal Windows location for driver packages. A folder name alone does not show a problem. Scan with Windows Security if you have a separate worry.

Why does the folder keep getting bigger?

Driver packages arrive with updates and new hardware. Older packages may stay behind. Growth over time can be normal.

Is a few gigabytes normal?

It can be. No Microsoft page we read gives a fixed normal size, so we give no figure. Look at the trend and at free space on the drive.

Can I see what is inside without changing anything?

Yes. The pnputil /enum-drivers command only lists the packages. It makes no change to the folder.

Cleaning and safety

Can I delete the folder to free space?

No. Deleting files in it by hand can stop devices from installing, and may affect rollback.

Is it safe to tick device driver packages in Disk Cleanup?

Only if the item is offered and its description is clear to you. We could not confirm the item on a Microsoft page, so read it first and leave it empty if unsure.

Will a PC cleaner shrink it safely?

We do not recommend it. A cleaner that empties this folder can break device installs and rollback.

What if a device stops working after a cleanup?

Use a restore point if you made one. Otherwise, get the current driver from the device maker, and avoid repeated reinstall loops.

More help

For more step-by-step repair guides, visit the PC repair guides home page. If you are not sure which guide fits your problem, the Repair Assistant asks a few questions and points you to the right article. It does not scan your PC.

How we checked this

We read Microsoft's PnPUtil command reference and its Driver Store page directly. We did not run any command, and we did not use Disk Cleanup, on a real PC for this article. Points we could not confirm on a Microsoft page are marked as general advice or as unverified. No third-party product was tested.

Sources