Tag: oscdimg.exe

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


Error when trying to install Windows 7 x64 on your Mac

I tried to install Windows 7 Enterprise Edition x64 on older iMac at work with Bootcamp. After booting from the Windows 7 DVD I got the following error:

“Select CD-Rom Boot Type:_”

Now with this steps you can solve this issue by creating an new Windows 7 ISO image (I found this solution on Fluxbox.co.uk) :

  1. Create this 3 folders: C:\Windows7exe, C:\Windows7iso and C:\Windows7dvd
  2. Download oscdimg.exe and save it into C:\Windows7exe
  3. Copy the Content of a Windows 7 DVD or ISO to C:\Windows7iso
  4. Open the DOS prompt and navigate to the C:\Windows7exe directory (the place where oscdimg.exe was saved)
  5. Run the oscdimg.exe with the following parameters:
    oscdimg -n -m -bc:\windows7iso\boot\etfsboot.com c:\windows7iso c:\windows7dvd\windows7dvd.iso
  6. Burn the new windows7dvd.iso to a DVD and boot this with the Bootcamp installer.

oscdimg.exe