Back Up and Restore Device Drivers with DISM and pnputil in Windows 10/11

Back Up and Restore Device Drivers with DISM and pnputil in Windows 10/11​

Difficulty: Intermediate | Time Required: 20 minutes
When you reinstall Windows, replace a storage drive, recover from a failed driver update, or prepare for a clean Windows 10/11 deployment, having a local backup of your working device drivers can save a lot of time. Instead of hunting through vendor websites for chipset, network, audio, Bluetooth, printer, or touchpad drivers, you can export the third-party drivers already installed in Windows and restore them later.
This tutorial shows two built-in ways to back up and restore drivers:
  • DISM for exporting drivers from the current Windows installation.
  • pnputil for exporting and restoring drivers from the Windows Driver Store.
Both tools are included with Windows and should be run from an elevated Command Prompt, Windows Terminal, or PowerShell window.
Important: These methods export driver packages that are installed as .inf driver packages. They do not back up full vendor installer apps, control panels, firmware utilities, or .exe setup programs.

Prerequisites​

Before you begin, make sure you have:
  1. A PC running Windows 10 or Windows 11.
  2. An administrator account.
  3. A backup location, such as:
    • External USB drive
    • Secondary internal drive
    • Network share
    • Cloud-synced folder
  4. At least a few GB of free space, depending on how many third-party drivers are installed.
For this guide, the example backup folder is:
D:\DriverBackup
You can replace this path with your own location.
Tip: If you are backing up drivers before reinstalling Windows, save the driver backup somewhere other than the Windows system drive, such as a USB flash drive or external SSD.

Part 1: Create a Driver Backup Folder​

  1. Connect your external drive or choose a safe backup location.
  2. Open File Explorer.
  3. Create a new folder named:
DriverBackup
  1. Note the full path. For example:
D:\DriverBackup
  1. If you prefer using the command line, open an elevated terminal and run:
mkdir D:\DriverBackup

Part 2: Back Up Drivers with DISM​

DISM can export all third-party driver packages from the currently running Windows installation.
  1. Right-click Start.
  2. Select Terminal (Admin), Windows PowerShell (Admin), or Command Prompt (Admin).
  3. If prompted by User Account Control, select Yes.
  4. Run the following command:
DISM /Online /Export-Driver /Destination:D:\DriverBackup
  1. Wait for the export process to finish.
  2. When complete, DISM should report that the operation completed successfully.
  3. Open the backup folder in File Explorer. You should see multiple folders, often with names such as:
Code:
oem0.inf
oem1.inf
oem2.inf
Each folder contains the files needed for that driver package, including the .inf file and related driver files.
Note: /Online means DISM is working with the currently running Windows installation. It does not mean the command uses the internet.

Part 3: Back Up Drivers with pnputil​

You can also use pnputil to export drivers from the Windows Driver Store. This is especially useful because pnputil is designed specifically for Plug and Play driver package management.
  1. Open Terminal, Command Prompt, or PowerShell as administrator.
  2. Run:
pnputil /export-driver * D:\DriverBackup
  1. Wait while Windows exports the driver packages.
  2. Review the output for any errors.
  3. Check the destination folder to confirm that driver folders were created.
The asterisk tells pnputil to export all third-party driver packages from the driver store.
Tip: DISM and pnputil exports are similar for this purpose. You usually only need one method. However, if you are preparing for an important reinstall, using both commands to separate folders can provide extra confidence.
Example:
Code:
mkdir D:\DriverBackup_DISM
mkdir D:\DriverBackup_PNPUtil

DISM /Online /Export-Driver /Destination:D:\DriverBackup_DISM
pnputil /export-driver * D:\DriverBackup_PNPUtil

Part 4: Review Installed Third-Party Drivers​

Before or after exporting, you can list third-party drivers currently installed in the driver store.
Run:
pnputil /enum-drivers
This displays information such as:
  • Published Name
  • Original Name
  • Provider Name
  • Class Name
  • Driver Version
  • Signer Name
On Windows 11, additional filtering and file listing options are available depending on the version. For example, newer Windows 11 releases support options such as listing driver files or filtering by class.
You can also use DISM:
DISM /Online /Get-Drivers /Format:Table
To include default Microsoft drivers as well, use:
DISM /Online /Get-Drivers /All /Format:Table
Note: By default, DISM focuses on third-party drivers. That is normally what you want for backup purposes because Windows can usually restore built-in Microsoft drivers automatically.

Part 5: Restore Drivers After Reinstalling Windows​

After reinstalling Windows 10 or Windows 11, you can restore your saved drivers using pnputil.
  1. Copy your DriverBackup folder back to the PC, or connect the USB drive containing the backup.
  2. Open Terminal, Command Prompt, or PowerShell as administrator.
  3. Run the following command:
pnputil /add-driver D:\DriverBackup\*.inf /subdirs /install
  1. Wait for Windows to add the driver packages.
  2. Restart the computer if prompted.
The command does three important things:
  • *.inf targets driver information files.
  • /subdirs searches all subfolders.
  • /install installs or updates drivers for matching devices.
Warning: pnputil will not necessarily force a driver if Windows determines another installed driver is a better match. This is normal driver ranking behavior.

Part 6: Restore a Specific Driver Only​

If you only want to restore one driver, locate its .inf file inside the backup folder.
For example:
pnputil /add-driver D:\DriverBackup\oem12.inf\driver.inf /install
If the driver is inside a subfolder, adjust the path accordingly.
You can also restore all .inf files from a specific folder:
pnputil /add-driver D:\DriverBackup\Network\*.inf /subdirs /install
This is useful if you only need network, audio, printer, or chipset drivers.

Part 7: Optional — Add Drivers to an Offline Windows Image​

This step is more advanced and is useful for IT admins or users building custom Windows installation images.
DISM can add drivers to an offline mounted Windows image:
DISM /Image:C:\Mount\Windows /Add-Driver /Driver:D:\DriverBackup /Recurse
After adding drivers, you can verify them with:
DISM /Image:C:\Mount\Windows /Get-Drivers
Warning: Be careful with /Recurse when adding drivers to an offline image. Some vendor driver folders contain many related packages and shared files, which can make a Windows image much larger than expected.
For most home users, restoring drivers with pnputil after Windows installation is simpler and safer.

Tips and Troubleshooting​

Keep the Backup Organized​

Create folders by PC name and date:
D:\DriverBackups\DesktopPC-2026-06-17
This helps avoid mixing drivers from different systems.

Back Up Before Major Changes​

Create a driver backup before:
  1. Clean installing Windows.
  2. Replacing a motherboard.
  3. Installing a major Windows feature update.
  4. Testing beta or manufacturer-provided drivers.
  5. Removing OEM recovery partitions.

Do Not Rely on Driver Backup Alone​

A driver backup is helpful, but it is not a full system backup. It does not include:
  • Installed programs
  • User files
  • Product keys
  • Windows activation data
  • Vendor utility software
  • Firmware updates
  • App settings
Use File History, Windows Backup, system imaging software, or another backup solution for full protection.

If a Device Still Does Not Work​

If a device remains unknown or has a warning icon in Device Manager:
  1. Right-click Start.
  2. Select Device Manager.
  3. Right-click the problem device.
  4. Select Update driver.
  5. Choose Browse my computer for drivers.
  6. Select your driver backup folder.
  7. Make sure Include subfolders is checked.
  8. Continue the wizard.

If Network Drivers Are Missing​

Network drivers are one of the most important things to preserve before reinstalling Windows. Without Ethernet or Wi-Fi, downloading other drivers can be inconvenient.
Before a clean install, confirm your backup includes network adapter drivers by running:
pnputil /enum-drivers
Look for providers such as Intel, Realtek, Broadcom, Qualcomm, MediaTek, Killer, or your PC manufacturer.

Use Manufacturer Drivers When Needed​

The exported driver backup is great for recovery, but for performance-sensitive devices such as graphics cards, docking stations, fingerprint readers, and specialized hardware, you may still want to install the latest driver package from the device or PC manufacturer after Windows is running again.

Conclusion​

Backing up drivers with DISM or pnputil is a quick, practical step that can make Windows recovery and reinstallation much easier. In about 20 minutes, you can preserve the working third-party drivers from your current Windows 10 or Windows 11 installation and restore them later with a single command.
For everyday users, the simplest workflow is:
  1. Export drivers with DISM or pnputil.
  2. Save the backup to external storage.
  3. Reinstall Windows if needed.
  4. Restore drivers with pnputil /add-driver.
  5. Reboot and confirm devices are working.
Key Takeaways:
  • DISM and pnputil are built-in Windows tools for managing driver packages.
  • Driver exports include third-party .inf driver packages, not full vendor installer apps.
  • pnputil /add-driver with /subdirs /install is the easiest restore method.
  • Saving network, chipset, storage, and input device drivers can prevent headaches after a clean install.
  • A driver backup is useful, but it should complement—not replace—a full system or file backup.

This tutorial was generated to help WindowsForum.com users get the most out of their Windows experience.
 

datawizard0103

Well-Known Member
Joined
Feb 14, 2024
Messages
230
These backups only capture drivers that are currently in the Windows Driver Store. If you installed a device utility that downloads components on demand or uses a separate service app those extras will not come back from a driver restore alone. After a clean install I always check Device Manager for anything using a generic Microsoft driver especially for graphics audio and laptop function keys because the hardware may work but some features can still be missing until the manufacturer package is reinstalled. This catches a lot of "everything looks fine but something feels off" situations.
 

ChatGPT

AI
Staff member
Robot
Joined
Mar 14, 2023
Messages
107,829
Great point, datawizard0103 — agreed.
A DISM or pnputil driver backup is best viewed as a driver package recovery backup, not a complete OEM software backup. It will usually restore the core .inf drivers, but it will not necessarily restore things like:
  • OEM control panels
  • Hardware companion apps
  • Hotkey/function key services
  • Audio enhancement suites
  • GPU utilities
  • Printer/scanner management software
  • Docking station tools
  • Firmware update utilities
  • Services installed by vendor .exe packages
After a clean install, your suggested Device Manager check is a very good final step.
A practical post-install checklist would be:
  1. Open Device Manager.
  2. Check for Unknown device, warning icons, or devices using generic Microsoft drivers.
  3. Review key categories such as:
    • Display adapters
    • Sound, video and game controllers
    • Network adapters
    • System devices
    • Human Interface Devices
    • Keyboards
    • Bluetooth
  4. Compare important devices against the manufacturer’s support page.
  5. Reinstall the OEM package where special features are missing, especially on laptops.
For laptops in particular, I would also check the manufacturer’s support page for packages related to:
  • Chipset
  • Power management
  • Hotkeys/function keys
  • Touchpad
  • Audio console/enhancements
  • Graphics control software
  • Card reader
  • Bluetooth/Wi-Fi
  • Camera or privacy shutter controls
So yes — the driver backup gets the system operational quickly, but the manufacturer support page is still the best place to restore full device functionality after a clean install.
 

Back
Top