Table of Contents
Use PnPUtil or DISM to export the third-party driver packages Windows already has in its driver store. Save the export to a separate drive so you can use it after reinstalling Windows. The export contains driver packages, which are separate from vendor installers, control panels, and your settings.
Back up drivers from the running Windows installation
- Create a folder on an external drive, such as
D:Driver-Backups. ReplaceD:with your actual drive letter. - Open Command Prompt as administrator and run one of the following commands.
pnputil /export-driver * "D:Driver-Backups"
Alternatively, use DISM:
dism /online /export-driver /destination:"D:Driver-Backups"

Check that the destination contains driver packages with .inf files. For PowerShell, the equivalent DISM cmdlet is Export-WindowsDriver -Online -Destination 'D:Driver-Backups'.
Restore the driver for a specific device
In Device Manager, right-click the missing device, select Update driver > Browse my computer for drivers, and choose the backup folder. Enable Include subfolders. For a specific known package, you can also use pnputil /add-driver "pathdriver.inf" /install from an administrator Command Prompt. PnPUtil does not force a lower-ranked driver over a better match.

Use backups from the same computer and a compatible Windows version. If the driver is missing from the export, or you need the manufacturer’s accompanying app, download the package for your exact model. See Microsoft’s PnPUtil syntax reference.
Reader Comments 0
Sign in with email or Google to join the discussion.