• Skip to main content
  • Skip to primary sidebar
  • Business
  • WordPress
  • Security
  • Marketing
  • Publicity
  • Computing
  • Resources
  • Whatevs

Purely Computing

Software, PCs, Macs, Consoles, Handhelds, & More

  • Home
  • About
  • Contact
  • Contribute

Back up Windows Drivers with Command Prompt

Windows Command Prompt

To export all drivers on a Windows 8, 8.1, 10, 11 or Windows Server 2012, 2016, 2019, 2022 system to a specified folder (e.g., D:\drivers), you can use the DISM (Deployment Imaging Service and Management) tool in Command Prompt. Here’s how:

  1. Open Command Prompt as Administrator:
    • Press Win + X and select Command Prompt (Admin) or Windows PowerShell (Admin).
  2. Run the following command:cmdCopyEditdism /online /export-driver /destination:D:\drivers This command will export all third-party drivers to the D:\drivers folder. Make sure the folder exists or DISM will create it automatically.
  3. Wait for the process to complete. DISM will display a message confirming the export.

This will back up your drivers, allowing you to restore them later if needed.

DISM is not recognized error

If you’re receiving a “DISM is not recognized” error, it could be due to one of the following reasons:

  1. Command Prompt is not running as Administrator: Make sure you’re running Command Prompt as Administrator. You can do this by:
    • Pressing Win + S, typing cmd, right-clicking Command Prompt, and selecting Run as administrator.
  2. DISM Path Issue: Occasionally, the system path might not include the location of the DISM executable. Try specifying the full path in the command:cmdCopyEditC:\Windows\System32\dism.exe /online /export-driver /destination:D:\drivers
  3. Corrupted System Files: If you still encounter issues, your Windows installation might have a missing or corrupted system file. You can try running the System File Checker (SFC) tool to check for system errors:cmdCopyEditsfc /scannow

After running SFC, attempt the DISM command again.

by Jack Alltrade on February 11, 2025

Filed Under: Command Prompt Tagged With: DISM, Export Drivers, Windows Drivers

Reader Interactions

Share Your Two Cents Cancel reply

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

Primary Sidebar

Categories

  • Command Prompt
  • Computing
  • DOS
  • Hardware
  • Software
  • Tech Terms
  • Windows

© Copyright Jack Alltrade & Associates 2025 · Purely Supplemental™ is a trademark of Jack Alltrade & Associates