Ventoy Forums

Full Version: Add drivers for Windows unattended install?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I saw there is a plugin for DUD for Linux, but was wondering if there is a way to do something similar for Windows ISOs. When doing a normal install I can load the driver from my Ventoy thumb drive at the drive selection/partition screen, but in order for my unattended installs to work I have to add new drivers with dism and resave the ISO each time a new build comes out.
https://ventoy.net/en/plugin_injection.html
Are you talking about adding drivers into both the WinPE boot.wim and the install.wim/esd files?
(07-30-2022, 07:51 AM)Steve2926 Wrote: [ -> ]https://ventoy.net/en/plugin_injection.html
Are you talking about adding drivers into both the WinPE  boot.wim and the install.wim/esd files?
Yes. I normally add the latest intel rst drivers to boot.wim so the installer can see the drive, and the install.wim because I assumed they must be in the install.wim for the installed copy of windows to contain the drivers.
Well, you can inject the drivers into the winPE OS by adding a zip file which contains the drivers so that they appear in the correct folder. I am not sure but I think they would need to be in DriverStore folders so your .zip file would have the same folder structure.
https://ventoy.net/en/plugin_injection.html

As for the installed OS - you would need to avoid running Setup.exe and use the WinPE environment and a .cmd file to install from one of the images in the install.wim (after partitioning and formatting the disk) and then copy over the drivers or use a DISM command to add in offline drivers.
Or you could use WinntSetup.exe to do the (scripted or GUI) install with drivers.
https://easy2boot.xyz/create-your-websit...inntsetup/
You can load an XML file using Ventoy and the XML file could contain a RunSychronous entry to start the install script or use the VentoyAutoRun.bat file which is inside your zip file. See https://ventoy.net/en/doc_inject_autorun.html.

The same script could install the WinPE drivers from the extracted folders in the X: drive if WinPE did not automatically use them from the DriverStore folder.