Windows XP , 7 , 8

Integrate drivers into a WIM file with DISM

1. Download and install WAIK

2.Mount the Image
Create folders “Images” and “mount” on c:\
dism /mount-wim /WimFile:c:\Images\boot.wim /index:2 /MountDir:c:\mount

dism /mount-wim /WimFile:c:\Images\Install.wim /index:1 /MountDir:c:\mount

3. Administrate drivers
-3.1 Get drivers
-dism /image:c:\mount /get-drivers

-3.2 Add drivers
-3.2.1 with *.inf
-dism /image:c:\mount /add-driver /driver:c:\HP7700\heki.inf
-3.2.2 add drivers in a specified folder
-Type in /recurse to install all drivers in one folder
dism /image:c:\mount /add-driver /driver:c:\drv /recurse

-3.3 Delete driver

-3.3.1 info driver
– dism /image:c:\mount /get-driverinfo /driver:oem1.inf

-3.3.2 delete driver
-Dism /Image:c:\mount /remove-driver /Driver:oem1.inf

4. Image unmount
Dism /unmount-wim /MountDir:c:\mount /commit

5. Adding the Image to the WDS
Delete the old Image and add the new.
If you only replace the old image sometimes the changes will not be applied.

Leave a Reply

Your email address will not be published. Required fields are marked *