Copying drivers from running Windows 10 installation to installation image

Sometimes installation image doesn't have all the drivers for current hardware...
It's possible to copy all drivers from current Windows installation using commands :

NOTES:

  1. Name parameter must match the edition of the currently installed Windows.
  2. You can skip creating the directories if they already exist


md C:\install
md C:\temp
Dism /Mount-Image /ImageFile:C:\$Windows.~WS\Sources\install.wim /Name:"Windows 10 Home" /MountDir:C:\install
Dism /Image:C:\install /Add-Driver /Driver:"C:\Windows\System32\DriverStore\FileRepository" /Recurse
Dism /Cleanup-Image /Image:"C:\install" /StartComponentCleanup /ResetBase /ScratchDir:C:\temp
Dism /Unmount-Image /MountDir:C:\install /Commit

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center