Export or Import Device Drivers on Windows 11
In this article
Yes, you can export and import device drivers on Windows 11 using built-in command-line tools. Exporting saves drivers to a folder for backup or reuse on another PC, while importing installs them manually when Windows can’t find them automatically. This is useful for offline driver installation, system recovery, or preparing for hardware changes. You’ll need administrator access and a storage location like a USB drive or external folder.
What You'll Need
- Administrator account on the Windows 11 PC
- Command Prompt opened as Administrator
- Storage device or folder (e.g., USB drive, external hard drive, or network location) to save exported drivers
- Optional: A second PC if importing to a different machine
Step-by-Step
- Press Windows + X and select Command Prompt (Admin) or Windows Terminal (Admin). If prompted by User Account Control, click Yes.
- To export drivers, enter this command and press Enter:
dism /online /export-driver /destination:D:\DriversBackup
ReplaceD:\DriversBackupwith your desired path (e.g.,E:\DriversorC:\Backup\Drivers). Ensure the folder exists or create it first. - Wait for the process to complete. DISM will list each driver being exported. This may take several minutes depending on the number of drivers.
- Once finished, navigate to the destination folder in File Explorer to confirm driver files (with extensions like .inf, .sys, .dll) are present.
- To import drivers on the same or another PC, first connect the storage device containing the exported drivers.
- Open Command Prompt as Administrator again.
- Run this command to install all drivers from the folder:
dism /online /add-driver /driver:D:\DriversBackup /recurse
Replace the path with your actual driver folder. The/recurseflag ensures subfolders are scanned for additional drivers. - Wait for DISM to process each driver. It will report success or failure for each. Some drivers may fail if they are incompatible or already installed.
- After completion, restart the PC to ensure all imported drivers load correctly.
Common Mistakes
- Running Command Prompt without admin rights: DISM requires elevated privileges. Always launch it as Administrator.
- Using incorrect paths: Typos or non-existent folders will cause the command to fail. Double-check folder names and drive letters.
- Forgetting the /recurse flag: Without it, DISM only installs drivers from the top folder, missing those in subdirectories.
- Exporting to system-protected locations: Avoid saving drivers to system folders like Windows or System32. Use a user-accessible drive or folder.
- Assuming all drivers will work on any PC: Hardware-specific drivers (like GPU or chipset) may not install on different models or manufacturers.
Tips
- Name your backup folder clearly, such as
Drivers_Backup_2025_HP_Laptop, to avoid confusion later. - Test the export before a major system change, like upgrading Windows or replacing hardware.
- Use a USB drive formatted as NTFS to avoid file size or permission issues with driver files.
- Combine with System Image Backup for full system recovery options.
- Check driver dates in the backup folder to ensure you’re using the latest versions.
Troubleshooting
If the export fails, verify that the destination drive has enough space and is not write-protected. If DISM returns an error like "access denied," recheck admin rights and ensure no antivirus is blocking the process. For import failures, confirm the driver folder contains .inf files—these are required for installation. If drivers still won’t install, they may be incompatible with your hardware or Windows version. Try updating them manually via Device Manager instead.
If the system doesn’t recognize the imported drivers, restart the PC and open Device Manager (right-click Start > Device Manager). Look for devices with yellow warning icons. Right-click each and select Update driver > Browse my computer for drivers, then point to your driver folder.
If DISM hangs or freezes, close the window and reopen it as Administrator. Run sfc /scannow first to repair system file corruption that might interfere with DISM.
Frequently Asked Questions
Can I export only specific drivers?
No, DISM exports all third-party drivers at once. To manually back up specific drivers, navigate to C:\Windows\System32\DriverStore\FileRepository and copy the relevant folders based on .inf file names, but this requires advanced knowledge.
Does exporting drivers remove them from the PC?
No. Exporting only copies drivers to another location. The original drivers remain active and unaffected.
Can I use exported drivers on a different brand of PC?
Only if the hardware is compatible. Generic drivers (like USB or audio) may work, but model-specific ones (e.g., laptop touchpad or GPU) likely won’t install or function correctly.
Are exported drivers safe to keep long-term?
Yes, but store them on a reliable drive. Over time, newer Windows updates may deprecate older drivers, so check for updates before reuse.
What if DISM says "no drivers were found to export"?
This usually means only built-in Windows drivers are installed. Most modern devices use generic drivers included with Windows and don’t require third-party installations.
Can I schedule automatic driver exports?
Not natively. You’d need to create a batch script and use Task Scheduler, but this is advanced and not recommended unless you understand scripting and system impacts.