Windows – How to create a custom Windows 7 ISO file

iso-imagewindows 7

I have a customised Windows 7 that was written to USB. But I would like to create an ISO file so that i can install this on Virtualbox, as Virtualbox does not boot from USB. However when I create an ISO file using software like imgburn, the ISO is not bootable. How can I make a bootable windows 7 ISO file?

Thanks

Best Answer

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.

Related Question