Back up all your drivers before reinstalling Windows
Export every third-party driver with one built-in command, then put them all back after a clean install. No extra software needed.
A clean Windows install fixes a lot, but it also forgets the drivers your PC maker added: touchpad gestures, card readers, special keys. Exporting them first takes one command.
Export every driver
Create a folder on a USB stick or a second drive, for example D:\DriverBackup. Open Terminal as administrator and run:
pnputil /export-driver * D:\DriverBackup
This copies every third-party driver package in the driver store (the ones Windows did not ship itself) into one folder per driver. It works on Windows 10 version 1607 and later. Expect anything from 200 MB to a few GB.
With PowerShell you can do the same:
Export-WindowsDriver -Online -Destination D:\DriverBackup
Put them back after the install
Once the new Windows is running, open Terminal as administrator:
pnputil /add-driver D:\DriverBackup\*.inf /subdirs /install
Windows adds each package to its store and installs the ones that match a device. Restart when it finishes.
Things to know
- Same Windows generation. A Windows 10 driver usually works on 11; going back from 11 to 10 is less certain.
- Graphics drivers. It is often cleaner to install the latest from NVIDIA, AMD or Intel than to restore an old one.
- Not a full backup. This saves drivers only, not apps or files.
Patchbay has this built in: Backup drivers exports the same way, and Restore puts a backup back, with a progress bar instead of a terminal.