How to create a custom Windows 7 ISO file

Solution 1:

Go here and download Window 7 Automatic installation kit and copy oscdimg.exe and copy it to %windir%/system32 folder and 1 copy also to some external drives.
Now Just point out the folder location of your uncompressed window 7 folder. Or alternatively, you can uncompress the iso file to a folder by winrar utility.>br> Now open the command propmt window and navigate to %windir%system32 folder and write following commands there to make a bootable iso from the window 7 setup directory:

c:\windows\system32>oscdimg.exe –bC:\win_setup\boot\etfsboot.com –u2 –h -m -lWIN_EN_DVD C:\win_etup\ C:\Win7.iso


where I am assuming that:
1. Your window setup files are in win_setup directory at root directory. Change it accordingly if it is somewhere else
2.you want to place the win7.iso at root drive. Change it accordingly if you want it to be crearted somewhere else.

Solution 2:

You Must Install WAIK (Windows Automated Installation Kit) for Windows 7, After this There are a few Ways to do the Same thing, One of them Being this: Copy oscdimg.exe to root of C:, then Run This Command

C:\oscdimg.exe –bC:\Win7Setup\boot\etfsboot.com –u2 –h -m -lWin7Cust C:\Win7Setup\ C:\Win7Custom.iso

This is the Command Line, for Setup Files Located at C:\Win7Setup\ and The iso Being Created as C:\Win7Custom.iso With Volume name Win7Cust, You Can Change this Accordingly

Also, You can Run This From Deployment Command Prompt, With the Following Code:

oscdimg.exe –bC:\Win7Setup\boot\etfsboot.com –u2 –h -m -lWin7Cust C:\Win7Setup\ C:\Win7Custom.iso