0

I'm about to do a fresh install of Windows 10 on a cheapo 2 in 1 tablet and I'm pretty sure finding the appropriate drivers later would be a major pain because it's not a standard device. So I want to backup what's already installed and working right now so i can restore it cleanly later after the re-install is finished.

I'm also making a full image with Macrium Reflect.

  • Have you tried "Windows Backup" from the settings? – Hamza Saeed Jan 7 at 17:48
0

From and administrative command prompt:

pnputil /export-driver * c:\backup <- Export all driver packages

Directly from pnputil /?

Backing up C:\Windows\System32\DriverStore\FileRepository

can also be done, but its all drivers including ALL the microsoft drivers and possibly all version of drivers even old ones that haven't been uninstalled.

Restore the drivers:

pnputil /add-driver c:\drivers\*.inf /install <- Add and install driver package

Sadly, you may have to script the above since I don't think it automatically recurses through sub-directories.

You can also go through the device manager one at a time, but that is too cumbersome.

dism /image:c: /Add-Driver /driver:c:\drivers /recurse

Sadly this can only be done to an offline copy of windows, like boot from the Windows DVD,usb, or etc and goto command prompt.

Something like this:

@for /R c:\Windows\System32\DriverStore\FileRepository\ %i in (*.inf); do pnputil /add-driver "%i" /install

Change the path to where ever your drivers are located.

  • How do i install it later? – user9564371 Jan 8 at 6:05
  • @user9564371 Updated answer – cybernard Jan 8 at 14:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.