How to restore drivers backed up via Dism /Online /Export-Driver


  1. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #1

    How to restore drivers backed up via Dism /Online /Export-Driver


    If I backup my drivers on my Win 10 Pro X64 system using

    Dism /Online /Export-Driver /Destination:\Lenovo_Drivers

    how do I restore them after I do a clean install? I've seen lots of tutorials on how to backup but nothing on how to restore when needed?
      My Computers


  2. Posts : 5,478
    2004
       #2

    Dism /online /Add-Driver /Driver:D:\Lenovo_Drivers /Recurse

    The /recurse adds all. If you wanted just the one (for some reason) you'd specify the relevant subdirectory inside Lenovo_Drivers.
      My Computer


  3. Posts : 4,142
    Windows 3.1 to Windows 11
       #3

    Or you can use Device Manager > select the unknown device > point to your Driver folder..
    windows will do the rest..
      My Computer


  4. Posts : 5,478
    2004
       #4

    Kyhi said:
    Or you can use Device Manager > select the unknown device > point to your Driver folder..
    windows will do the rest..
    Assuming that only the drivers with yellow question marks are the only ones you want to update.

    In my case my SD card reader looks fine on device manager but doesn't work until I install the correct driver.

    If you export the drivers you may as well import them.
      My Computer


  5. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
    Thread Starter
       #5

    Thanks to both of you. I'll want to import all of them as my computer works great as far as devices is concerned. I'l going to clean install to fix another problem.
      My Computers


  6. Posts : 4,142
    Windows 3.1 to Windows 11
       #6

    If you export the drivers you may as well import them.
    Unless there are several older versions of the driver in the database-
    Then you end up with several versions of the driver in the OS database...

    Using Device manager will install just the newest version in the database in to the OS
      My Computer


  7. Posts : 5,478
    2004
       #7

    Ztruker said:
    Thanks to both of you. I'll want to import all of them as my computer works great as far as devices is concerned. I'l going to clean install to fix another problem.
    You can run through them with pnputil or DriverStore Explorer and delete the ones you don't want. Either before or after.
      My Computer


  8. Posts : 134,300
    Windows 11 Pro (x64) 23H2 Build 22631.3296
       #8

    lx07 said:
    You can run through them with pnputil or DriverStore Explorer and delete the ones you don't want. Either before or after.
    Viewing that link for driverstore, it reports that its only been tested on Windows 7 and vista.....does not mention anything about working on Windows 10 ??
      My Computers


  9. Posts : 5,478
    2004
       #9

    OldMike65 said:
    Viewing that link for driverstore, it reports that its only been tested on Windows 7 and vista.....does not mention anything about working on Windows 10 ??
    It does exactly the same. If you really wanted you could use powershell add-windowsdriver if you wanted to be (mildy) up to date.

    The powershell commands only dism anyway though so no point unless you prefer the syntax.

    Here you go then - what is the difference:
    Code:
    Dism /Add-Driver /Driver:D:\Lenovo_Drivers /Recurse
    or
    Code:
    Add-WindowsDriver -Driver D:\Lenovo_Drivers -Recurse
    Only difference is - or /. The same thing is done anyway.

    To be honest with you. I use pnputil.exe or powershell. I find the dism syntax confusing. Backwards and forwards with the slash thing. Then you have a colon. Or a semi. Seems a bit dodgy to me.

    All of them do the same thing though so it makes (as they say) no odds either way.
      My Computer


  10. Posts : 134,300
    Windows 11 Pro (x64) 23H2 Build 22631.3296
       #10

    lx07 said:
    It does exactly the same. If you really wanted you could use powershell add-windowsdriver if you wanted to be (mildy) up to date.

    The powershell commands only dism anyway though so no point unless you prefer the syntax.

    Here you go then - what is the difference:
    Code:
    Dism /Add-Driver /Driver:D:\Lenovo_Drivers /Recurse
    or
    Code:
    Add-WindowsDriver -Driver D:\Lenovo_Drivers -Recurse
    Only difference is - or /. The same thing is done anyway.

    To be honest with you. I use pnputil.exe or powershell. I find the dism syntax confusing. Backwards and forwards with the slash thing. Then you have a colon. Or a semi. Seems a bit dodgy to me.

    All of them do the same thing though so it makes (as they say) no odds either way.
    Nope if you tell me that Driverstore works, that's good enough for me :)

    Darn it the program needs Net Frame work 3.5 installed to run. Don't know if I want to install that for just one program.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:41.
Find Us




Windows 10 Forums