How to add driver to Wim files

Change the parameters to your locations

Mount image
MD c:\Image
Dism /Mount-Image /index:1 /ImageFile:c:\source\WinPE.wim /MountDir:C:\Image

Add the driver to the image
Dism /Image:C:\Image /Add-Driver /Driver:C:\drivers\mydriver.inf

If it are multiple drivers then
Dism /Image:C:\Image /Add-Driver /Driver:c:\drivers /Recurse

Unmount and save to the image file
Dism /Unmount-Image /MountDir:C:\Image /Commit

1928 Total Views 2 Views Today

Leave a Comment

Leave a Reply