Windows Server 2019 USB Drive

Add Drivers to Windows Installation ISO

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.

  1. First create the following folders
    C:\temp\WindowsISO (Unpack the windows.iso to this folder)
    C:\temp\drivers (Add all driver folders in this folder the drivers have to be in .inf format)
    C:\temp\wim (Is a temp folder for the WIM file)
    C:\ temp\WindowsISOdrivers (the new .ISO file will be created here)
  2. Download and install the Windows Automated Installation Kit
  3. Start Windows AIK Deployment Tools Command Prompt from Start menu
  4. Mount the install.wim file from C:\temp\WindowsISO to C:\temp\wim
    imagex /mountrw C:\temp\WindowsISO\SOURCES\install.wim 1 C:\temp\wim
  5. Add Drivers with dism
     CD C:\temp\drivers\Network\Emulex\M72KR\W2K8R2\x64
    dism /image:C:\temp\wim /add-driver /driver:. /recurse
  6. Now unmount the WIM Image
    imagex /unmount /commit C:\temp\wim
  7. Create the new ISO file
    oscdimg -n -m -bc:\temp\WindowsISO\boot\etfsboot.com C:\temp\WindowsISO C:\temp\WindowsISOdrivers\windows.iso