Install drivers automattically after adding them to boot.wim file issue

Siyamand Rashid 1 Reputation point

I have used Dism GUI to inject drivers into a boot.wim file, and tested on a laptop but didn't install the drivers as expected, after reading some articles I have realized that I have to select the Index number of the windows version that I want to install,

the version which will be activated using our organization email is Enterprise which is not showing in the output of Dism


I appreciate it if you help me to create a bootable USB of windows 10 that installs the drivers automatically for a specific type of laptop.


and this is a list of some of the drivers that are injected into274324-screenshot-2022-12-27-145747.png the boot.wim file.

Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,730 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Siyamand Rashid 1 Reputation point

    I have used the steps shown in this article

    but instead of this install.wim file I used boot.wim as I couldn't find the install.wim file
    Dism /Mount-Image /ImageFile:C:\test\images\boot.wim /MountDir:C:\test\offline

    and I have injected the driver using these commands

    Dism /Mount-Image /ImageFile:C:\test\images\boot.wim /index:2 /MountDir:C:\test\offline

    Dism /Image:C:\test\offline /Add-Driver /Driver:c:\drivers /Recurse

    Dism /Unmount-Image /MountDir:C:\test\offline /Commit

    but when I use the flash drive to install the windows it is not installing the missing drivers which I added them.

    what could you be the issue please?

    No comments