Skip to content
Windows

How to Back Up and Restore Device Drivers in Windows 11

Richard
Written by
Richard
Updated 8 min read
How to Back Up and Restore Device Drivers in Windows 11
How to Back Up and Restore Device Drivers in Windows 11
Before you start
  • 3 ways to do it
  • Needs administrator rights

Windows 11 lists each device and drivers in Device Manager, but the backup itself comes from an export command run in an administrator Terminal window. Backing up device drivers saves exact copies of the software your hardware needs to talk to the operating system, so you can restore them after a fresh install or system reset.

A local driver backup saves you from hunting down manufacturer downloads after a wipe. This matters most when the network adapter driver is one of the missing pieces, because then you can’t get online to download anything. You can restore the whole collection in minutes with the built-in tools DISM and PnPUtil, or with Device Manager.

⚑ Quick Answer

To back up device drivers in Windows 11, open Terminal as an administrator and run dism /online /export-driver /destination:”📁C:\Users\YourName\Desktop\MyDrivers”, replacing the path with a folder you created. DISM copies every third-party driver into that folder, so you can restore them after a clean install or reset.

Advertisement

Why Back Up Your Drivers?

A clean Windows installation removes the device drivers you added yourself. Windows falls back on its built-in generic drivers and whatever it can fetch from Windows Update, which is often not enough. Backing up first lets you put the right drivers back quickly without searching for downloads.

The backup only covers third-party drivers, meaning the ones installed on top of Windows by you or your hardware maker. The drivers that ship with Windows are not included. You don’t need to save them, because a fresh install brings them back.

Advertisement

The tools in this guide work the same way on Windows 11 Home and Pro.

What You Need to Do First

Create the folder that will hold the backup before you run any export command. Every method below writes into it.

  1. Open File Explorer. Go to the drive where you want to keep the backup.
  2. Create a new folder. Give it a short name with no spaces, which makes the commands faster to type. For example:

C:\Users\YourName\Desktop\MyDrivers

⚠️WarningYou should now have an empty folder ready to receive the drivers. Don’t rely on a folder on your Windows drive alone, because a clean install or reset can wipe it. Save the backup to an external drive or a second partition, or copy the finished folder to a USB stick or cloud storage afterwards.

Method 1Using the DISM Command

DISM (Deployment Image Servicing and Management) is a built-in Windows tool. Its export option copies every installed third-party driver into a folder you choose, which is the quickest way to export drivers from Windows 11. It only works in an administrator window.

These steps back up all drivers in Windows 11 to the folder you created.

  1. Open Terminal as an administrator. Right-click the Start button and choose Terminal (Admin), or search for Command Prompt, right-click it and choose Run as administrator.
  2. Click Yes when User Account Control asks for permission. You should now see a console window with a prompt ending in System32. If it opens in your user folder instead, the window is not elevated.
  3. Type the export command below. Replace the placeholder with the actual path to the folder you created.
⬛Command Prompt
dism /online /export-driver /destination:"C:\Users\YourName\Desktop\MyDrivers"
  1. Press Enter. DISM copies all your third-party drivers to that folder and prints its progress as it goes. It finishes with a message that the operation completed successfully.
  2. Open the backup folder in File Explorer. You should see one subfolder per driver package. If the folder is empty, check that the path is correct and that the window was opened as administrator.

That’s it. Your third-party drivers are now saved in the backup folder, ready to restore after a reinstall.

export drivers windows 11
export drivers windows 11

Method 2Using the PnPUtil Command

You can run the same export with PnPUtil from Windows Terminal or Command Prompt. This is useful if Terminal is already your usual way into the command line. PnPUtil (Plug and Play Utility) is a built-in driver management tool, and like DISM it needs an administrator window.

  1. Open Windows Terminal as an administrator. Repeat the steps from the first method and click Yes at the User Account Control prompt.
  2. Type the command below. Replace the folder path with your own.
⬛Command Prompt
pnputil /export-driver * "C:\Users\YourName\Desktop\MyDrivers"
  1. Press Enter to save the drivers. Wait for the prompt to return before closing the window, because large driver sets can take a minute or two.

That’s it. PnPUtil has copied your third-party drivers into the folder, and you can check it in File Explorer.

pnputil export drivers windows 11
pnputil export drivers windows 11
Advertisement

Method 3Using PowerShell’s Export-WindowsDriver

PowerShell is the default shell in Windows Terminal on Windows 11, and it can do the same export. Use it if you prefer PowerShell commands. The window must be elevated, so expect a User Account Control prompt.

  1. Open Windows Terminal (Admin) from the Start button’s right-click menu. Click Yes if User Account Control asks for permission.
  2. Confirm the tab reads PowerShell. If it shows Command Prompt instead, click the down arrow in the tab bar and choose Windows PowerShell.
  3. Type the command below. Change the folder path as needed.
⬛PowerShell
Export-WindowsDriver -Online -Destination "C:\Users\YourName\Desktop\MyDrivers"
  1. Press Enter. This saves your drivers to the folder. When the prompt returns, check the folder to confirm the files are there.

That’s it. Your drivers are saved in the folder, the same as with the other two methods.

powershell export drivers windows 11
powershell export drivers windows 11

How to Restore Device Drivers

You have two ways to restore drivers from your backup. Device Manager works through a graphical window, and PnPUtil does it from the command line. After a clean install, connect the drive that holds your backup folder before you begin.

Both ways need administrator rights, because installing a driver changes the whole system. In Device Manager, Windows shows a User Account Control prompt; click Yes, or enter an administrator password if you use a standard account. For PnPUtil, open the terminal as an administrator.

If the backup is unavailable, Windows Update can often reinstall drivers. Go to Settings Windows Update Advanced options Optional updates Driver updates and install what is listed. Your device maker’s own update tool or support site is another source.

Restore One Driver Using Device Manager

Use this method when only one device needs a driver, such as a printer, webcam or network adapter. It is also the safest choice if you want to check each device as you go.

  1. Open Device Manager. Right-click the Start button and choose Device Manager.
  2. Expand the category that holds the hardware. Examples are Printers, Cameras and Network adapters. Devices that are missing a driver often appear under Other devices with a yellow warning icon.
  3. Right-click the device name and choose Update driver. A window opens asking how you want to search for drivers.
  4. Choose Browse my computer for drivers.
  5. Click Browse and select your saved drivers folder (for example, C:\Users\YourName\Desktop\MyDrivers).
  6. Check Include subfolders.
  7. Click Next. Windows starts searching the folder.

That’s it. Windows installs the best driver it finds in the folder for that hardware, and you should see a message that the driver was successfully updated. If it says the best driver is already installed, the device already uses a matching or newer driver and nothing more is needed.

device manager import drivers
device manager import drivers

Restore All Drivers Using Device Manager

Use this method to reinstall every saved driver in one pass. It saves time after a clean install, when many devices need drivers at once. Expect a User Account Control prompt, since the install needs administrator rights.

  1. Open Device Manager.
  2. Right-click the computer name at the very top of the list. You can also select it and click Action in the menu bar.
  3. Choose Add drivers. A window opens with the title Add drivers.
  4. Click Browse and choose your drivers folder.
  5. Check Include subfolders.
  6. Click Next. Approve the User Account Control prompt if it appears.

That’s it. Windows installs all the drivers it finds in the folder. If the Add drivers option is missing, your Windows 11 version may not include it yet. Update Windows, or use the per-device method above or the PnPUtil method below instead.

device manager import all drivers
device manager import all drivers

Restore All Drivers Using PnPUtil Command

PnPUtil is a built-in command-line tool for managing drivers. It can install every driver in your backup folder with one command, with no clicking through windows. That makes it the fastest option, and a good one if you have to restore several machines. It needs an elevated window.

⚠️WarningSave any open work before you run it. The computer may restart automatically after the command runs, and some drivers only finish installing after a reboot.
  1. Open Command Prompt or Windows Terminal as an administrator. Follow the same steps as in the backup methods and click Yes at the User Account Control prompt.
  2. Type the command below. Replace the folder path with your own.

The ` pnputil /add-driver * .inf /subdirs ` command installs all Windows device drivers found within the folder you specify and any subfolders. Following the driver installation, the computer restarts automatically if the operating system determines a restart is necessary for the new drivers to function correctly, ensuring proper hardware operation.

  1. Press Enter. PnPUtil lists each driver package as it adds it, then shows a summary of how many it processed and installed.

That’s it. Every driver package in the folder is now installed. If a driver is reported as failed, restore that one from Device Manager so you can see the error for that device.

Summary

After restoring, run Windows Update and check Settings Windows Update Advanced options Optional updates for newer driver versions. Also check the manufacturer’s site for newer graphics and chipset drivers. A backup only holds the drivers installed when you made it, so export again after you add new hardware or update a major driver.

DISM Driver Servicing Commands

Have a question about this guide?

Answered by AI from this guide. Good questions may be added to this page β€” please don't include personal details.

Tags: #Windows 11

Did this guide fix your problem?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

No comments yet β€” be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked * How we handle comments