question: Adding drivers to boot.wim file using Dism command

siamandm
BronzeLounger
Posts: 1323
Joined: 01 May 2016, 09:58

question: Adding drivers to boot.wim file using Dism command

Post by siamandm »

Hello All,

I'm trying to add drives to boot.wim file in order to install the missing drivers during installing windows 10, I have followed the steps in this article
https://learn.microsoft.com/en-us/windo ... 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?

User avatar
HansV
Administrator
Posts: 79522
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: question: Adding drivers to boot.wim file using Dism command

Post by HansV »

Sorry, I have no idea, this is far outside my field.
Best wishes,
Hans

JoeP
SilverLounger
Posts: 2142
Joined: 25 Jan 2010, 02:12

Re: question: Adding drivers to boot.wim file using Dism command

Post by JoeP »

How did you determine that the correct index is 2?

Did you use:

Dism /Image:C:\test\offline /Get-Drivers

to check that the drivers were really added?
Joe

siamandm
BronzeLounger
Posts: 1323
Joined: 01 May 2016, 09:58

Re: question: Adding drivers to boot.wim file using Dism command

Post by siamandm »

I Will check this thank you for the help.

Regards