Help & How-to
Create Windows Vista and Windows 7 bootable DVD
If you are a computer geek or involved in IT professional job, you usually make custom Windows installation disc to as per your organization requirement that includes unattended installation, slipstreaming updates, optimize Windows OS for best of your office use etc. Then here is simple and straight tutorial that helps you to make bootable DVD of Windows Vista/Windows 7 as Microsoft do.
Requires:
- Windows Vista/Windows 7 installation source
- Windows Automated Installation Kit (WAIK) – for Windows Vista | Windows 7
- Blank DVD and ISO/IMG burning software such as Nero, Roxio etc
How to:
1. First of all, you are to copy whole installation source in a single folder says C:\DVD_Data (your OS image can be either customized or untouched)
2. Now run WAIK Command Prompt as Administrator and execute the following command to make bootable ISO image.
oscdimg.exe –l<Disc_Label> -t<MM/DD/YYYY:HH:MM> -m -u2 –b<path_of_bootable_img_file> <path_of_installation_source> <path_with_filename_is_to_be_created>
Where
-l is used to set volume label of DVD
-t is used to set the time of volume and its contents (Optional)
-m is used to create bigger image file than a CD i.e. 700MB
-u2 is used to create UDF file system for DVD
-b is used to locate boot image of DVD
oscdimg.exe -lMY_VISTA_DVD -t03/24/2009 -m -u2 -bC:\DVD_Data\Boot\etfsboot.com C:\DVD_Data C:\VISTA_DVD.ISO
3. Wait for completion and then burn the image to DVD at lower speed to get better results.
Applies To:
- Windows 7
- Windows Vista
- Windows Server 2008
- Windows Server 2008 R2
Tags: Fix It, Tips and Tricks, Windows 7, Windows Vista
Hi, I read your tutorial (im trying to create custom windows 7) and I keep getting the following
ERROR: Could not open boot sector file “”
Error 3: The system cannot find path specified
I am using WAIK (win 7 edition)
My drive is “H” instead of “C:” and i renamed everything to be almost identicle to your setup
Thanks
Make sure, you have written the absolute path of boot file i.e.
bootetfs.comit is etfsboot.comand don’t let the space betwenn -b and path of boot file.Like: -bC:\DVD_Data\Boot\etfsboot.com
The following input: oscdimg.exe -lMY_VISTA_DVD -t03/24/2009 -m -u2 -bC:\DVD_Data\Boot\bootetfs.com C:\DVD_Data C:\VISTA_DVD.ISO is wrong. It must read: oscdimg.exe -lMY_VISTA_DVD -t03/24/2009 -m -u2 -bC:\DVD_Data\Boot\etfsboot.com C:\DVD_Data C:\VISTA_DVD.ISO
Oopps! Thanks pete!
The command string has been corrected.
I don’t get it. It keeps telling me it could not delete the existing file bootetfs.com.
It appears the whole thing is locked against write access, but I can’t unlock it, not even with the attrib command in cmd. Any suggestions? =/
Its etfsboot.com and try to run cmd.exe as Administrator.
Where you have;
-lMY_VISTA_DVD
What is the characeter before the M since it is not the letter “I” I can not get this to run since it will not take the cmd arguement!
Please help.
Thank you.
Its not “I”; its “L”
•Blank DVD and ISO/IMG burning software such as Nero,
RaxioetcShould read Roxio
I already follow all the instruction that you gave.. But why my dvd is unbootable? Need to setup anything? Hopefully you can tell me.. The original ISO i used is bootable..
Did you include the boot file path? e.g. -bC:\DVD_Data\Boot\etfsboot.com
Which edition of DVD are you creating? Windows Vista x64 and Windows Server 2008 x64 don’t have etfsboot.com. So you just copy n paste the same from x86 edition to make bootable DVD.
my input is= C:\WINDOWS\System32>Oscdimg.exe –u2 –bC:\expandedSetup\boot\etfsboot.com –h C:\expandedSetup C:\7.iso
and I am getting
ERROR: Could not delete existing file “ûbC:\expandedSetup\boot\etfsboot.com”
Error 123: The filename, directory name, or volume label syntax is incorrect.
I’m lost. I think I checked everything. any info would be appreciated
Also getting
Scanning source tree
ERROR: Failure enumerating files in directory “C:\WINDOWS\SYSTEM32\ûU2\”
Error 3: The system cannot find the path specified.
Your input is fine and works for me !!! Don’t run in C:\Windows\System32
Run your command at C:\Program Files\Windows AIK\Tools\PETools> (Deployment Command Prompt)
Hi Author,
First, I’d like to thank you for posting up such a useful technique for the MS World.
Second, I was able to successfully complete the re-imaging by running this command:
oscdimg -bC:\Win7alln1\boot\etfsboot.com -h -u2 -m -lWin7alln1 C:\Win7alln1\ C:\7.iso
but, unfortunately, the same/similar error pops up after mounting 7.iso in PowerISO onto I: drive. Says, [setup.exe - Bad Image] “I:\Sources\SPWIZENG.DLL is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media…”
After clicking OK, I get, [Install Windows] “The file ‘autorun.dll’ could not be loaded or is corrupt. Setup cannot continue. Error code is [0xC1].”
Last, I checked SPWIZENG.DLL to find that it has 0KB and no data shown via notepad. And autorun.dll has
[AutoRun.Amd64]
open=setup.exe
icon=setup.exe,0
[AutoRun]
open=sources\sperr32.exe x64
icon=sources\sperr32.exe,0
I am trying to deploy a Win 7 Ultimate Retail x64 DVD after have removed the “ei.cfg” from “\sources” (in order to downgrade Ultimate to Enterprise).
Any ideas?
Rich
I have a question Author ..?
What if i create an iso image of win 7 dvd then i modify it and replace some files and save it , I know it’ll remain bootable but will it work..?
Because this is a long process and im feeling that i’ll also do mistakes the other users.
Don’t You think that this way is easier..?