Copying drivers from running Windows 10 installation to installation image

in #windows3 years ago (edited)

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

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.032
BTC 63376.37
ETH 3089.73
USDT 1.00
SBD 3.82