Add Drivers To Iso Image
- Add Drivers To Windows Iso Image
- How To Add Drivers To Iso Image
- Add Drivers To Windows Iso
- Iso Driver Download
- How To Add Drivers To Iso Image
- Add Drivers To Windows 7 Iso Image
- Adding Drivers To Windows Iso

Jan 15, 2019 This manual is about the integration of device drivers into a Windows image and can be used both on desktop editions of Windows 10, Windows 8.1 and on Windows Server 2016, 2012 R2. In modern Windows editions you can add drivers to the installation ISO image in two ways: using the DISM utility; using the PowerShell CLI.
- Now, I had all intention of describing this how-to specifically for adding USB 3.0 drivers, but it can also be used for adding any number of drivers to the boot media as well. First thing you're going to do is to download the USB drivers from either your computer's manufacturer or from your motherboard's manufacturer.
- If you have a Windows 7 or even a Windows Server 2008 R2 Server ISO file and you need to add drivers to this ISO file, this little how-to shows you how you can do that. First create the following folders C: temp WindowsISO (Unpack the windows.iso to this folder) C: temp drivers (Add all driver.
- Since we don’t have a free program to directly edit the bootable ISO image file to add files, we need to first extract the ISO file, add files and then create a bootable ISO image again using a free application called ImgBurn. Include files in bootable ISO image.
- This manual is about the integration of device drivers into a Windows image and can be used both on desktop editions of Windows 10, Windows 8.1 and on Windows Server 2016, 2012 R2. In modern Windows editions you can add drivers to the installation ISO image in two ways: using the DISM utility; using the PowerShell CLI.
- All the operations of modifying of the Windows 7 ISO image, described below, are performed on a computer running Windows 10. First of all, find USB 3.0 drivers for your chipset and download them from the vendor website (in our example, it is Intel® USB 3.0 eXtensible Host Controller Driver for Intel® 7 Series/C216 Chipset Family).
- After using the MediaCreation Tool to create a bootable USB thumb driver for Windows 10, is there a way to add additional device drivers to the thumb driver? The reason I ask is I'm trying to do a clean install on a tablet but Windows 10 doesn't seem to come with the drivers the touch screen requires. Thanks, r3dd7.
You can use DISM to install or remove driver (.inf) files in an offline Windows or WinPE image. You can either add or remove the drivers directly by using the command prompt, or apply an unattended answer file to a mounted .wim, .ffu, .vhd, or .vhdx file.
When you use DISM to install a device driver to an offline image, the device driver is added to the driver store in the offline image. When the image is booted, Plug and Play (PnP) runs and associates the drivers in the store to the corresponding devices on the computer.
Note
To add drivers to a Windows 10 image offline, you must use a technician computer running Windows 10, Windows Server 2016, or Windows Preinstallation Environment (WinPE) for Windows 10. Driver signature verification may fail when you add a driver to a Windows 10 image offline from a technician computer running any other operating system.

To learn how to add a driver on a running Windows PC, see Add a driver online in audit mode or Install a plug and play device. To learn how to add a driver to a PC running WinPE, see Drvload command line options.
Driver types
- .inf-style drivers: Many drivers include an information file (with an .inf extension) to help install the driver. These can be installed using tools described in this topic.
- .exe-style drivers: Drivers without an .inf file often must be installed like typical Windows desktop applications. To learn how to add these, see Add a driver online in Audit Mode
- Boot-critical drivers: Graphics and storage drivers may sometimes need to be added to the Windows image (as shown in this topic), as well as the Windows PE image, and in the Windows recovery (WinRE) image.
Add drivers to an offline Windows image
To add drivers to an offline image, you have to mount an image prior to adding drivers.
If you're adding drivers to a WinPE image, you can add them to the WinPE image in the output folder you specified when you ran copype, for example: C:WinPE_amd64mediasourcesboot.wim
. This ensures that drivers will be included in WinPE each time you build WinPE media from that folder.
Mount a Windows image. For example:
See Mount and modify a Windows image using DISM for more info.
Add a driver to the image.
To install all of the drivers from a folder and all its subfolders, point to the folder and use the /Recurse option.
To see all DISM driver servicing command line options, see DISM driver servicing command-line options.
Warning
Using /Recurse
can be handy, but it's easy to bloat your image with it. Some driver packages include multiple .inf driver packages, which often share payload files from the same folder. During installation, each .inf driver package is expanded into a separate folder. Each individual folder has a copy of the payload files. We've seen cases where a popular driver in a 900MB folder added 10GB to images when added with the /Recurse option.
Check to see if the driver was added. Drivers added to the Windows image are named Oem*.inf. This guarantees unique naming for newly added drivers. For example, the files MyDriver1.inf and MyDriver2.inf are renamed Oem0.inf and Oem1.inf.
Commit the changes and unmount the image.
Remove drivers from an offline Windows image
At an elevated command prompt, mount the offline Windows image:
Remove a specific driver from the image. Multiple drivers can also be removed on one command line.
Warning
Removing a boot-critical driver package can make the offline Windows image unbootable. For more information, see DISM Driver Servicing Command-Line Options.
Commit the changes and unmount the image.
Add drivers to an offline Windows image by using an unattended answer file
- Gather the device driver .inf files that you intend to install on the Windows image.
Note
All drivers in the directory and subdirectories that are referenced in the answer file are added to the image. You should manage the answer file and these directories carefully to address concerns about increasing the size of the image with unnecessary driver packages.
Use Windows System Image Manager (Windows SIM) to create an answer file that contains the paths to the device drivers that you want to install.
- Add the
Microsoft-Windows-PnpCustomizationsNonWinPEDriverPathsPathAndCredentialsCredentials
component to your answer file in the offlineServicing configuration pass.
For each location that you intend to access, add a separate PathAndCredentials list item by right-clicking on DriverPaths in the Answer File pane and clicking Insert New PathAndCredentials.
See Configure components and settings in an answer file for information on how to modify an answer file.
- Add the
For each path in
Microsoft-Windows-PnpCustomizationsNonWinPE
, specify the path to the device driver and the credentials that are used to access the file, if the file is on a network share.
Note
When you include multiple device driver paths by adding multiple PathAndCredentials list items, you must increment the value of Key for each path. For example, you can add two separate driver paths where the value of Key for the first path is equal to 1 and the value of Key for the second path is equal to 2.
Save the answer file and exit Windows SIM. The answer file must resemble the following sample.
Mount the Windows image that you intend to install the drivers to by using DISM:
If you're working with a VHD or FFU, specify
/Index:1
.Apply the answer file to the mounted Windows image:
For more information about how to apply an answer file, see DISM Unattended Servicing Command-Line Options.
The .inf files referenced in the path in the answer file are added to the Windows image.
Check to see if the driver was added. Drivers added to the Windows image are named Oem*.inf. This guarantees unique naming for newly added drivers. For example, the files MyDriver1.inf and MyDriver2.inf are renamed Oem0.inf and Oem1.inf.
For example, type:
Unmount the .wim file and commit the changes. For example, type:
If you need drivers for WinPE to see the local hard disk drive or a network, you must use the windowsPE configuration pass of an answer file to add drivers to the WinPE driver store and to reflect boot-critical drivers required by WinPE. For more information, see Add Device Drivers to Windows During Windows Setup.
Related topics
Recently I came across a problem when attempting to install Windows 7 onto a Dell Precision 7710. I would boot up with a DVD that had an .iso image of Windows 7 installed on it, but when after clicking the install windows button, I would get a notice that the installer couldn't locate the CD/DVD driver and I needed to browse to locate it. Well, I thought I would be smart and instead do the install via a USB device. Same error. Well, how does this make sense? It's asking for a DVD driver when using a USB device. That's like your car throwing a CEL for the carburetor not working when you're using fuel injection.
This issue is caused because the installer media doesn't have a driver to install through a USB 3.0 port. You might ask, well why did the DVD drive throw the error? Well, that's because the DVD drive was an external because there is no internal DVD drive on this model laptop. So I now know my problem. USB 3.0 drivers need to be added to the boot media. Follow this guide and I'll show you how to accomplish this using the CMD line and the DISM utility.
9 Steps total
Step 1: Download the USB Drivers
Now, I had all intention of describing this how-to specifically for adding USB 3.0 drivers, but it can also be used for adding any number of drivers to the boot media as well.
First thing you're going to do is to download the USB drivers from either your computer's manufacturer or from your motherboard's manufacturer. With the Dell Precision 7710 I went to http://www.dell.com/support, punched in my service tag number and proceeded to download an entire driver pack in .CAB format.
Step 2: Extract the drivers
Depending on the type of file you downloaded, it could be an .exe, a .cab, or a .zip, so you'll need to unzip the drivers out of this file. Driver files are historically mainly .inf files, but you don't need to pick and choose the individual files because this next process makes it automatic for you. The DISM (Deployment Image Servicing and Management Tool) is smart and will automatically grab the correct files.
1. Create a folder on your desktop named 'Drivers'.
2. Create two folders inside of the 'Drivers' folder, 'mount' and 'USB'.
3. Extract or copy/paste the driver files directly into the 'USB' folder. I used 7-zip to extract my driver files directly into the 'USB' folder.
Step 3: Cut the 'boot.wim' and 'install.wim' files
Locate these two files from within your boot media. This is easy if you are using a USB drive instead of a DVD, so that you don't have to reburn the DVD once we finish modifying these files.
Example: If the USB drive is plugged in and has been given drive letter 'P:' you will locate the 'boot.wim' and 'install.wim' files within the path: P:sources
It is best to just cut them out of the install media, but if you want to have a backup copy you can copy and paste. You are pasting into the 'Drivers' folder on the desktop. Just make sure to overwrite the old files with the new updated ones once we're finished with this process.
Add Drivers To Windows Iso Image
Step 4: Open up CMD prompt as Administrator and navigate to the 'Drivers' folder on the desktop
Windows 7:
1. Start, type in cmd, right click on the icon and choose Run as Administrator
Windows 8:
1. Windows Key + Q
2. Move mouse to top right corner and search, type in Command Prompt, Right click and Run as Administrator.
Next, you will need to change the directory path so that it isn't pointing to the default of C:WindowsSystem32.
Type in: cd C:Users%currentuser%DesktopDrivers - Then press Enter.
*Note: Make sure to change the %currentuser% to that of the user profile where the 'Drivers' folder was saved.
Step 5: Update the 'boot.wim' file.
In the cmd line now displaying the cd pointing to the right directory, type in these commands pressing enter after each one.
dism /mount-wim /wimfile:boot.wim /index:2 /mountdir:mount
Explanation: This command mounts the boot.wim file, index points it to the correct boot parameters for the correct OS, and /mountdir:mount points it to mount the file to the 'mount' folder we created in this directory earlier.
dism /image:mount /add-driver:'USB' /recurse
Explanation: This command automatically grabs the driver files that it locates in the 'USB' folder that we created earlier and copied the drivers to. This can take a while depending on the number of driver files that it locates.
dism /unmount-wim /mountdir:mount /commit
Explanation: This command unmounts the boot.wim file and saves the information. Think of this as a file transfer/compression process.
Step 6: Determine which index you're going to update the driver files for on the 'install.wim' file
This process wasn't necessary on the 'boot.wim' file, but it is in the 'install.wim' file. Each version of Windows can have a specific index number and we will need to locate which one it is in order to issue the command for the version of Windows you plan on installing. This is specific to the install media you are using because some install media only comes with one version of Windows 7, such as Professional, but some others may have multiple version of Windows 7, such as Home, Ultimate and Professional, just to name a few.
During setup, the program creates a startup registration point in Windows in order to automatically start when any user boots the PC. A scheduled task is added to Windows Task Scheduler in order to launch the program at various scheduled times (the schedule varies depending on the version). Adobe Acrobat Reader DC is a software program developed by Adobe Systems. The most common release is 17.009.20044, with over 98% of all installations currently using this version. Uninstall adobe dc reader.
Issue the following command to determine what your version is:
dism /Get-WimInfo /WimFile:install.wim
How To Add Drivers To Iso Image
You'll see in the screenshot that I have an index of 1.
Step 7: Update the 'install.wim' file.
You should still be pointed to the correct directory, so now issue the following commands to update the 'install.wim' file, using the index information you got from the step above.
dism /mount-wim /wimfile:install.wim /index:1 /mountdir:mount
Explanation: All exactly the same as the boot.wim file command, except the index is the only difference.
dism /image:mount /add-driver:'USB' /recurse
Add Drivers To Windows Iso
dism /unmount-wim /mountdir:mount /commit
Iso Driver Download
Step 8: Cut/Paste or Copy/Paste your new 'boot.wim' and 'install.wim' files
Since I used the Cut/Paste method to remove these two files from the P:sources location, I'm going to do the same to remove them from the C:Users%currentuser%DesktopDrivers folder and place them back into the P:sources folder.
Wait for the transfer to finish. This is going to take a little bit longer to copy back over to the flash drive because the files going back in are larger than they were before due to the driver files that you've added to it.
How To Add Drivers To Iso Image
Step 9: You're Done!
Take out the flash drive and pop it into the machine you want to reinstall Windows 7 on. You should now find that you no longer receive the pesky CD/DVD driver missing notice.
Thank you all for reading through this. These commands can be adapted to suit whichever folder names you want to use. Good luck!
Add Drivers To Windows 7 Iso Image
104 Comments
Adding Drivers To Windows Iso
- Thai PepperCapef3ar Jan 28, 2016 at 06:39pm
Nice read - haven't run across this yet but good info to have just in case. Thanks!
All the best free Cooking Games in every category and flavor you could ever imagine! Check out our Restaurant, Baking, Meal, Ice Cream and Cake Games! Food cooking games. Cooking Games for Girls Papa's Games Food Games Restaurant Games Pizza Games Sara's Cooking Class Games Doner Kebab STO Papa's Scooperia Papa's Burgeria Papa's Donuteria Papa's Pastaria Papa's Sushiria Papa's Hot Doggeria Papa's Cheeseria Papa's Bakeria Papa Louie 3 Papa's Freezeria Strawberry Shortcake Papa's Pancakeria Papa Louie 2 Sara's Cooking Class: California Rolls Sara's Cooking. With all of the savory cooking games that we have, it's simple to adapt your own style and flair to each dish, and show off your new cooking skills. You choose what makes our most Popular Cooking Games list, so be sure to pick the most succulent games that all our fans can sample and enjoy.
- Tabascobethernet Mar 17, 2016 at 10:56pm
THANK YOU! I only wish I had found this 3 hours ago.. It worked exactly as your directions said it would, and Windows 7 is installing now!
- Pimientojimnowotny Apr 4, 2016 at 02:48pm
Thanks! The problem with an older OS and really new hardware.
- Pimientohmasri Apr 13, 2016 at 05:28am
If its just USB 3.0 drivers for Win7 you want ..
https://downloadcenter.intel.com/download/25476/Windows-7-USB-3-0-Creator-Utility
5ryn
- PimientoMrMcG33k Jun 7, 2016 at 04:26pm
Thank You! I just ran into this issue and this resolved my problem!
- Pimientonicoserup Jun 10, 2016 at 08:43pm
Question for point 6:
In my Windows image, I have unlocked all the versions, so which one should i pick?
- I haven't tried the guide yet though. - Poblanopalehmkuhl Jun 13, 2016 at 01:22pm
Choose whichever version that you plan on installing Windows with.
- Pimientonicoserup Jun 16, 2016 at 02:41pm
It doesn't work for me yet.
In my version I have unlocked all of the versions, starter to ultimate.
I chose to mount it to proff.
But when i boot, I never get as far as to choose which windows version I want, before the message: Missing CD/DVD comes. - Poblanopalehmkuhl Jun 16, 2016 at 03:16pm
Ok, so you're booting into the Windows ISO using your image on a bootable USB drive and that's when you're getting the message about it missing the CD/DVD drive. Sounds like something didn't go as planned if you did the process I outlined above. Either that or the driver that you added to the USB drive isn't the right one for that computer.
- Pimientoscotthowell Jun 16, 2016 at 03:39pm
For some reason I'm unable to mount the install.wim. When i try to run dism /mount-wim /wimfile:install.wim /index:1 /mountdir:mount I get an error: 5 'access is denied' error no matter which index I use.
- Poblanopalehmkuhl Jun 16, 2016 at 04:14pm
Did you run the command line as an administrator during this process?
- Pimientoscotthowell Jun 16, 2016 at 05:53pm
Yes, and the boot.wim worked just fine. I am using a Dell proprietary Win7 installation image, though.
- Poblanopalehmkuhl Jun 16, 2016 at 06:02pm
That might have something to do with it. I used a Win7 image that I downloaded from the Microsoft VLSC website. Generic. I don't believe this process is restricted to specific images, but you want to have the access to modify files in those directories. Try using a different Win7 bootable and see if you get different results.
- Pimientomikemccormack Jun 20, 2016 at 04:45pm
Excellent KB..worked flawlessly - thank you for posting this!
Have a great week!
- Pimientochristernordell Jun 29, 2016 at 03:35pm
scotthowell: I experienced the same problem getting error 5 when mounting install.wim. Found out its McAfee that is blocking, see https://kc.mcafee.com/corporate/index?page=content&id=KB76867. Deactivate McAfee during the mounting of install.wim solved the problem for me.In my case I had a rule that stopped handling .scr files and the mounting stopped when it reached the file bubbles.scr.
- 1
- 2
- 3
- 4
- 5
- 6
- 7