Why back up drivers before reinstalling
Windows 11 ships with a large set of built-in drivers, and Windows Update can fetch many more. But a fresh install often comes up without the driver for the network adapter, a RAID/VMD storage controller, a touchpad or a special laptop key. Without the network driver you cannot download the rest.
The drivers worth saving are the third-party ones: the packages your PC maker or chip maker added on top of Windows. Built-in drivers are already part of the new install.
Which drivers are worth saving
Start with the ones that block everything else:
- Network: Wi-Fi and Ethernet
- Storage: RAID / Intel VMD / NVMe controllers (needed even to see the disk on some laptops)
- Chipset and system devices from the PC maker
- Touchpad, keyboard hotkeys, audio and graphics if the PC maker customised them
Export drivers with built-in Windows tools
Open Terminal or Command Prompt as administrator and create a folder on another drive or a USB stick, for example D:\Drivers. Then use any one of these commands (pnputil is the simplest):
pnputil /export-driver * D:\Drivers — available from Windows 10 version 1607.
dism /online /export-driver /destination:D:\Drivers — works on Windows 8 and newer.
PowerShell: Export-WindowsDriver -Online -Destination D:\Drivers.
Each driver lands in its own folder with its .inf, .cat and binaries. These commands export third-party packages only, which is what you want. This is a backup of driver packages, not a system image: it does not include your files, apps or settings.
Where to keep the backup
Keep the folder on a USB stick or another drive, never only on the Windows partition: a clean install formats that partition and the backup goes with it. Copy the folder to a second place too (cloud storage or another PC) if you can. Leave the network drivers easy to find, because they are the first ones you will need.
How Driver Passport does the same and more
Rain Driver's Driver Passport runs the export for you, records hardware IDs and versions, and writes a SHA-256 checksum for every file so you can tell later whether a file was damaged or changed. Creating a Passport is free. The Rescue Bundle adds a small restore script (Restore-Drivers.cmd) that installs network drivers first, and it is free too. Restoring from a Passport inside the app, with a restore point made first, is part of Rain Driver Pro. The steps above give you the same core backup without any extra software.
Restore drivers after Windows 11 is installed
Copy the folder back to the PC, open an administrator Command Prompt and run:
pnputil /add-driver D:\Drivers\*.inf /subdirs /install
Windows still ranks the drivers itself, so a newer matching driver it already has can win over your saved one. That is normal. Install network drivers first, then run Windows Update, then check Device Manager for anything still marked with a yellow warning.
When something does not work
Windows Update may install a newer driver instead of the one you backed up. That is normal, and it is usually the better result.
- No network driver right after the install: install it first from your backup, or follow the offline guide below.
- A device still shows Code 28 (drivers not installed): it was not in the backup. Identify it by hardware ID.
- A driver installed, but the maker's control app is missing: a driver package is not the maker's utility. Install the app from the PC maker separately.
- The backup folder is gone: it was on the Windows partition that was formatted. Always store it on another drive.
Related:
Rain Driver does the export, checksum and restore steps for you — but every step above works without it.