Where Are Drivers Stored in Windows 11? (Exact Folders)

Wondering where drivers are stored in Windows 11? There are two main folders. Here is what each one holds, why you should never delete from them by hand, and how to back up every driver with one command before a reinstall.

Quick answer

Windows 11 stores drivers in two main folders:

  1. C:\Windows\System32\DriverStore\FileRepository holds the master copy of every driver package.
  2. C:\Windows\System32\drivers holds the driver files (.sys) that Windows is actually running.

Never delete from either folder by hand. To move drivers to a fresh installation, back them up with one command instead. The builder below writes it for you.

Driver Backup Command Builder

Type the folder where the backup should go, ideally on a USB drive. You get the backup command and the matching restore command.

Back up: run in Command Prompt as administrator

Restore on the new installation

Chart of where Windows 11 stores drivers with real folder counts and sizes from a test PC
Save this chart: where drivers live, with the numbers from our test PC.

The places Windows 11 stores drivers

FolderWhat it holdsOn our test PC
C:\Windows\System32\DriverStore\FileRepositoryThe driver store: one subfolder per driver package, with its .inf, .sys and .cat files980 folders, 3.88 GB
C:\Windows\System32\driversThe .sys files in use right now466 .sys files
C:\Windows\INFSetup information (.inf) files; third-party ones are named oemnumber.inf255 oem .inf files

When you plug in a device, Windows looks in the driver store first. If a matching package is there, it copies the needed files into System32\drivers and loads them. That is why a device you have used before works at once, even offline.

List the drivers on your PC

This lists every third-party driver package with its maker, type and version. Run it in Command Prompt or PowerShell:

pnputil /enum-drivers

Each entry starts with a Published Name such as oem61.inf, followed by the original file name, the provider and the driver version. Our test PC listed 255 packages. To count the folders in your own driver store, run this in PowerShell:

(Get-ChildItem C:\Windows\System32\DriverStore\FileRepository -Directory).Count

Why you must never delete the driver store by hand

The folders look like clutter, and the store can take several gigabytes. But Windows tracks every package in its own records. Delete a folder by hand and those records point at nothing: devices fail to install, updates break, and Windows may not start if the missing driver was for storage or graphics.

To remove one old package safely, use the tool Windows provides. Find its Published Name in the list above, then run this as administrator, with the real name in place of oem61.inf:

pnputil /delete-driver oem61.inf

Windows refuses if a device is still using that driver, which is the safety check a manual delete skips. To free space more broadly, use Settings > System > Storage > Cleanup recommendations.

Back up your drivers before a reinstall

About 5 minutes
  1. Plug in a USB drive and create an empty folder on it.
  2. Open Command Prompt as administrator.
  3. Run the backup command from the builder at the top of this page.

Windows copies every third-party driver package into that folder, one subfolder each. Drivers that ship with Windows are not included, because a fresh installation already has them. The PowerShell equivalent is Export-WindowsDriver -Online -Destination followed by the folder.

Worked if: the folder fills with subfolders named after .inf files.

Restore drivers

All at once

On the new installation, open Command Prompt as administrator and run the restore command from the builder. It installs every package in the backup folder.

One device, with Device Manager

  1. Press Windows + R and run devmgmt.msc.
  2. Right-click the device with the warning icon and choose Update driver.
  3. Choose Browse my computer for drivers, select the backup folder, keep Include subfolders ticked, and click Next.

Tips

  • Back up the network driver above all. Without Wi-Fi or Ethernet after a reinstall, you cannot download anything else.
  • A backup from one PC is for that PC. It will not suit different hardware.
  • For the newest version of a driver, download it from the maker. See updating device drivers by hand.
  • Printer drivers are listed separately. See updating printer drivers.

What did you come here to do?

One tap. It helps us cover the right things.

Frequently asked questions

Where are drivers stored in Windows 11?

Master copies are in C:\Windows\System32\DriverStore\FileRepository. The driver files Windows is running are in C:\Windows\System32\drivers.

Can I delete the FileRepository folder to free space?

No. Deleting it by hand breaks device installation and updates. Remove single old packages with pnputil /delete-driver, or use Storage cleanup.

How do I back up all my drivers?

Run pnputil /export-driver * followed by a folder path, in Command Prompt as administrator. It copies every third-party driver package to that folder.

Why is the driver store so large?

Windows keeps older versions of drivers so it can roll back. Graphics driver packages are the biggest. Ours held 980 packages in 3.88 GB.

More Windows You May Like

Leave a Reply

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