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

Siyamand Rashid 1 Reputation point
2022-12-27T11:15:38.95+00:00

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

274311-1a5f6648-5f50-48a4-addf-08cf7caa8eb6.png

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.

Regards

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,899 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Siyamand Rashid 1 Reputation point
    2022-12-28T08:32:17.167+00:00

    I have used the steps shown in this article
    https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/add-and-remove-drivers-to-an-offline-windows-image?view=windows-11

    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?

    0 comments No comments