Share via


Adding drivers to a bootable USB device

Question

Thursday, September 20, 2018 5:17 PM

I created a boot able USB drive with Windows 10 on it using Rufus.

I would like to add drivers from a HP desktop to it.

Under sources folder there are two *.wim files (install.wim, boot.wim)

Does anyone know how to do this or if it can be done.

Thanks

Very new to imaging 

All replies (2)

Thursday, September 20, 2018 6:23 PM

You can do it by using the DISM commands.

Dism /Mount-Image /ImageFile:"F:\sources\boot.wim" /index:1 /MountDir:"C:\Temp\Offline"

Mount the wim file.

Dism /Add-Driver /Image:"C:\Temp\Offline" /Driver:"C:\SWSETUP\SP78930" /Recurse

Add drivers.

Dism /Unmount-Image /Mountdir:"C:\Temp\Offline" /commit

Then unmount the image and that's it.

The drivers can be added to the install.wim file in the same way.

If you need drivers in the boot process add them to the boot wim file.


Friday, September 21, 2018 3:03 AM

Hi,
Just as T. Kujala said.
For more information, you can refer to the following link:
Windows 10: DISM - Add or Remove Drivers on an Offline Image
https://www.tenforums.com/tutorials/95008-dism-add-remove-drivers-offline-image.html

Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].