Published by


Brink's Avatar
Administrator

Posts: 16,528

Show Printable Version 


How to Backup and Restore Device Drivers in Windows 10

information   Information
If you clean install Windows, you will need to install drivers for each device in the system. Some of these device drivers may no longer be available from the manufacturer, or you misplaced a backup of the driver installation file from the manufacturer.

It would be a good idea to back up your device drivers before doing a clean install to make it easy to restore any of these drivers as needed afterwards.

This tutorial will show you how to back up and restore all 3rd party device drivers on your Windows 10 PC.

You must be signed in as an administrator to be able to backup and restore drivers.


CONTENTS:
  • Option One: To Back Up All Device Drivers in Command Prompt
  • Option Two: To Back Up All Device Drivers in PowerShell
  • Option Three: To Restore a Device Driver Backup in Device Manager





Drivers - Backup and Restore in Windows 10 OPTION ONE Drivers - Backup and Restore in Windows 10
To Back Up All Device Drivers in Command Prompt

Note   Note
For more usage details about the dism /export-driver command, see:

DISM Driver Servicing (.inf) Command-Line Options - Microsoft MSDN


1. Open an elevated command prompt.

2. Enter the command below into the elevated command prompt, and press Enter. (see screenshot below)

dism /online /export-driver /destination:"full path of folder"

Note   Note
Substitute full path of folder in the command above with the actual full path of the folder (ex: "F:\Drivers Backup") you want to export all 3rd party device drivers into. If this folder doesn't currently exist, you will need to create it first before running the command.

For example: dism /online /export-driver /destination:"F:\Drivers Backup"


Click image for larger version. 

Name:	Backup_drivers_command.png 
Views:	18 
Size:	72.8 KB 
ID:	108238

3. When exporting has finished, you can close the elevated command prompt if you like.

4. The device drivers will now be exported into the specified folder location (ex: "F:\Drivers Backup") as your backup. (see screenshot below)

Click image for larger version. 

Name:	Drivers_Backup.png 
Views:	19 
Size:	94.6 KB 
ID:	108240





Drivers - Backup and Restore in Windows 10 OPTION TWO Drivers - Backup and Restore in Windows 10
To Back Up All Device Drivers in PowerShell

Note   Note
For more usage details about the Export-WindowsDriver command, see:

Export-WindowsDriver - Microsoft TechNet


1. Open an elevated PowerShell.

2. Enter the command below into the elevated PowerShell, and press Enter. (see screenshots below)

Export-WindowsDriver -Online -Destination "full path of folder"

Note   Note
Substitute full path of folder in the command above with the actual full path of the folder (ex: "F:\Drivers Backup") you want to export all 3rd party device drivers into. If this folder doesn't currently exist, you will need to create it first before running the command.

For example: Export-WindowsDriver -Online -Destination "F:\Drivers Backup"


Click image for larger version. 

Name:	Backup_drivers_PowerShell.png 
Views:	22 
Size:	176.5 KB 
ID:	108239

3. When exporting has finished, you can close the elevated PowerShell if you like.

4. The device drivers will now be exported into the specified folder location (ex: "F:\Drivers Backup") as your backup. (see screenshot below)

Click image for larger version. 

Name:	Drivers_Backup.png 
Views:	19 
Size:	94.6 KB 
ID:	108240





Drivers - Backup and Restore in Windows 10 OPTION THREE Drivers - Backup and Restore in Windows 10
To Restore a Device Driver Backup in Device Manager

1. Open the Win+X Quick Link menu, and click/tap on Device Manager.

2. Right click or press and hold on the device (ex: "Intel(R) RealSense(TM) 3D Camera (Front F200) Depth") you want to restore a driver backup for, and click/tap on Update driver. (see screenshot below)

Click image for larger version. 

Name:	Restore_Drivers-1.jpg 
Views:	13 
Size:	104.1 KB 
ID:	108241

3. Click/tap on Manually install a driver. (see screenshot below)

Name:  Restore_Drivers-2.png
Views: 366
Size:  22.9 KB

4. Follow the steps below to select the folder (ex: "F:\Drivers Backup") containing the backup of your device drivers from Option One or Option Two above. (see screenshots below)

1) Click/tap on the Browse button.

2) Navigate to and select the folder (ex: "F:\Drivers Backup") containing the backup of device drivers.

3) Click/tap on OK.

4) Check the Include subfolders box.

5) Click/tap on Next.

Click image for larger version. 

Name:	Restore_Drivers-3.png 
Views:	15 
Size:	73.2 KB 
ID:	108243

5. Device Manager will now search for and install the device driver if it's newer than what is currently installed. (see screenshot below)

Click image for larger version. 

Name:	Restore_Drivers-4.png 
Views:	17 
Size:	35.9 KB 
ID:	108244

6. When you have finished restoring driver backups, you can close Device Manager if you like.


That's it,
Shawn