Just download the Windows AIK for Windows 7 and my script.
Download WAIK for 7
I recommend to install to C: \ Program Files \ WAIK
Edit Set by you and save it as LiveW7.bat.
Insert DVD into the drive, Windows 7.
Run the script as an administrator.
Cook a cup of coffee and 7 - 10 minutes is done.
Code:
@Echo off
%SystemDrive%
Set tools=%programfiles%\waik\tools
//if you have WAIK installed in another directory, so you have to put the path in quotation marks and write in two rows.Eg.
//Set tools=%programfiles%\Windows AIK\Tools
//Set tools="%programfiles%\Windows AIK\Tools"
Set architecture=x86
//change your architecture
Set tarch=%tools%\%architecture%
Set mech=e:\
//DVD drive with Windows 7
Set dvd=%systemdrive%\W7wim
Set projekt=%systemdrive%\Projekt
//You can enter your name without spaces
Set pi=%projekt%\install
Set pb=%projekt%\boot
Set iw=%pi%\Windows
Set bw=%pb%\Windows
Set is=%iw%\System32
Set bs=%bw%\System32
Set ISO=%Projekt%\ISO
Set Av=%iw%\schemas\AvailableNetwork
Set BAv=%bw%\schemas\AvailableNetwork
Set ISOname=LiveW7.iso
//You can write your name with no spaces
Set lang=cs-CZ
//Set your language en-US etc.
md %pi%
md %pb%
md %ISO%\sources
md %dvd%
cd %tarch%
copy imagex.exe %projekt%
robocopy "%mech%\boot" "%ISO%\boot" /mir
robocopy "%mech%\efi" "%ISO%\EFI" /mir
copy /y "%mech%\bootmgr" "%ISO%"
copy /y "%ISO%\boot\etfsboot.com" "%projekt%"
copy /y "%mech%\sources\install.wim" "%dvd%"
copy /y "%mech%\sources\boot.wim" "%dvd%"
cd %projekt%
imagex /apply %dvd%\boot.wim 2 %pb%
imagex /mount %dvd%\install.wim 1 %pi%
//1 is the x86 Home, 4 is the x64 Home, etc. You can check by running DISM.exe
del /q "%pb%\setup.exe"
md "%bw%\schemas\AvailableNetwork"
md "%bs%\config\systemprofile\Desktop"
attrib -r -h "%pb%\Users\Default"
attrib -r -h "%pb%\Users\Default\AppData"
copy /y "%iw%\inf\ndisuio.inf" "%bw%\inf"
copy /y "%iw%\inf\netnwifi.inf" "%bw%\inf"
copy /y "%iw%\inf\netserv.inf" "%bw%\inf"
copy /y "%iw%\inf\netvwifibus.inf" "%bw%\inf"
copy /y "%iw%\inf\netvwifibus.PNF" "%bw%\inf"
copy /y "%iw%\inf\netvwififlt.inf" "%bw%\inf"
copy /y "%iw%\inf\netvwifimp.inf" "%bw%\inf"
copy /y "%iw%\L2Schemas\LAN_policy_v1.xsd" "%bw%\L2Schemas"
copy /y "%iw%\L2Schemas\LAN_profile_v1.xsd" "%bw%\L2Schemas"
copy /y "%iw%\L2Schemas\OneX_v1.xsd" "%bw%\L2Schemas"
copy /y "%iw%\L2Schemas\WLAN_policy_v1.xsd" "%bw%\L2Schemas"
copy /y "%iw%\L2Schemas\WLAN_profile_v1.xsd" "%bw%\L2Schemas"
copy /y "%iw%\L2Schemas\WLANAP_profile_v1.xsd" "%bw%\L2Schemas"
copy /y "%iw%\L2Schemas\WWAN_profile_v1.xsd" "%bw%\L2Schemas"
copy /y "%Av%\AvailableNetworkInfo.xsd" "%BAv%"
copy /y "%is%\activeds.dll" "%bs%"
copy /y "%is%\activeds.tlb" "%bs%"
copy /y "%is%\ADSLDPC.dll" "%bs%"
copy /y "%is%\apphelp.dll" "%bs%"
copy /y "%is%\atl.dll" "%bs%"
copy /y "%is%\authfwcfg.dll" "%bs%"
copy /y "%is%\AuthFWGP.dll" "%bs%"
copy /y "%is%\bfe.dll" "%bs%"
copy /y "%is%\browser.dll" "%bs%"
copy /y "%is%\cabinet.dll" "%bs%"
copy /y "%is%\cfgbkend.dll" "%bs%"
copy /y "%is%\cfgmgr32.dll" "%bs%"
copy /y "%is%\clbcatq.dll" "%bs%"
copy /y "%is%\clusapi.dll" "%bs%"
copy /y "%is%\cmifw.dll" "%bs%"
copy /y "%is%\compmgmt.msc" "%bs%"
copy /y "%is%\comres.dll" "%bs%"
copy /y "%is%\credui.dll" "%bs%"
copy /y "%is%\crtdll.dll" "%bs%"
copy /y "%is%\devmgmt.msc" "%bs%"
copy /y "%is%\devmgr.dll" "%bs%"
copy /y "%is%\diskmgmt.msc" "%bs%"
copy /y "%is%\dmdlgs.dll" "%bs%"
copy /y "%is%\dmdskmgr.dll" "%bs%"
copy /y "%is%\dmdskres.dll" "%bs%"
copy /y "%is%\dmintf.dll" "%bs%"
copy /y "%is%\dmocx.dll" "%bs%"
copy /y "%is%\dmutil.dll" "%bs%"
copy /y "%is%\dmvdsitf.dll" "%bs%"
copy /y "%is%\dmview.ocx" "%bs%"
copy /y "%is%\filemgmt.dll" "%bs%"
copy /y "%is%\findstr.exe" "%bs%"
copy /y "%is%\Firewall.cpl" "%bs%"
copy /y "%is%\FirewallAPI.dll" "%bs%"
copy /y "%is%\FirewallControlPanel.dll" "%bs%"
copy /y "%is%\config\SOFTWARE" "%bs%\config"
copy /y "%is%\ExplorerFrame.dll" "%bs%"
copy /y "%is%\fmifs.dll" "%bs%"
copy /y "%is%\fsmgmt.msc" "%bs%"
copy /y "%is%\fsutil.exe" "%bs%"
copy /y "%is%\fwcfg.dll" "%bs%"
copy /y "%is%\fwpuclnt.dll" "%bs%"
copy /y "%is%\FwRemoteSvr.dll" "%bs%"
copy /y "%is%\hhsetup.dll" "%bs%"
copy /y "%is%\hnetcfg.dll" "%bs%"
copy /y "%is%\icacls.exe" "%bs%"
copy /y "%is%\icfupgd.dll" "%bs%"
copy /y "%is%\icmp.dll" "%bs%"
copy /y "%is%\ifmon.dll" "%bs%"
copy /y "%is%\ikeext.dll" "%bs%"
copy /y "%is%\ipsecsnp.dll" "%bs%"
copy /y "%is%\IPSECSVC.dll" "%bs%"
copy /y "%is%\ifsutil.dll" "%bs%"
copy /y "%is%\ifsutilx.dll" "%bs%"
copy /y "%is%\kerberos.dll" "%bs%"
copy /y "%is%\lanman.drv" "%bs%"
copy /y "%is%\lpk.dll" "%bs%"
copy /y "%is%\mfc42u.dll" "%bs%"
copy /y "%is%\mlang.dat" "%bs%"
copy /y "%is%\mlang.dll" "%bs%"
copy /y "%is%\mmc.exe" "%bs%"
copy /y "%is%\mmcbase.dll" "%bs%"
copy /y "%is%\mmcndmgr.dll" "%bs%"
copy /y "%is%\mmcshext.dll" "%bs%"
copy /y "%is%\msacm32.dll" "%bs%"
copy /y "%is%\msafd.dll" "%bs%"
copy /y "%is%\msxml3.dll" "%bs%"
copy /y "%is%\msxml3r.dll" "%bs%"
copy /y "%is%\msxml6.dll" "%bs%"
copy /y "%is%\msxml6r.dll" "%bs%"
copy /y "%is%\mycomput.dll" "%bs%"
copy /y "%is%\ncsi.dll" "%bs%"
copy /y "%is%\netlogon.dll" "%bs%"
copy /y "%is%\netman.dll" "%bs%"
copy /y "%is%\netplwiz.dll" "%bs%"
copy /y "%is%\netprof.dll" "%bs%"
copy /y "%is%\netprofm.dll" "%bs%"
copy /y "%is%\nlasvc.dll" "%bs%"
copy /y "%is%\nsi.dll" "%bs%\"
copy /y "%is%\nsisvc.dll" "%bs%"
copy /y "%is%\ntmarta.dll" "%bs%"
copy /y "%is%\ntshrui.dll" "%bs%"
copy /y "%is%\nshwfp.dll" "%bs%"
copy /y "%is%\samsrv.dll" "%bs%"
copy /y "%is%\sens.dll" "%bs%"
copy /y "%is%\oleacc.dll" "%bs%"
copy /y "%is%\oleaccrc.dll" "%bs%"
copy /y "%is%\oledlg.dll" "%bs%"
copy /y "%is%\oleres.dll" "%bs%"
copy /y "%is%\osuninst.dll" "%bs%"
copy /y "%is%\polstore.dll" "%bs%"
copy /y "%is%\RpcEpMap.dll" "%bs%"
copy /y "%is%\Sens.dll" "%bs%"
copy /y "%is%\services.exe" "%bs%"
copy /y "%is%\services.msc" "%bs%"
copy /y "%is%\shfolder.dll" "%bs%"
copy /y "%is%\shrpubw.exe" "%bs%"
copy /y "%is%\srvsvc.dll" "%bs%"
copy /y "%is%\sscore.dll" "%bs%"
copy /y "%is%\urlmon.dll" "%bs%"
copy /y "%is%\usp10.dll" "%bs%"
copy /y "%is%\webio.dll" "%bs%"
copy /y "%is%\wfapigp.dll" "%bs%"
copy /y "%is%\WfHC.dll" "%bs%"
copy /y "%is%\winhttp.dll" "%bs%"
copy /y "%is%\WinSCard.dll" "%bs%"
copy /y "%is%\winsockhc.dll" "%bs%"
copy /y "%is%\wlanapi.dll" "%bs%"
copy /y "%is%\wlanhlp.dll" "%bs%"
copy /y "%is%\wlaninst.dll" "%bs%"
copy /y "%is%\wlanmsm.dll" "%bs%"
copy /y "%is%\wlansec.dll" "%bs%"
copy /y "%is%\wlansvc.dll" "%bs%"
copy /y "%is%\wlanui.dll" "%bs%"
copy /y "%is%\wlgpclnt.dll" "%bs%"
copy /y "%is%\wmi.dll" "%bs%"
copy /y "%is%\ws2help.dll" "%bs%"
copy /y "%is%\wshelper.dll" "%bs%"
copy /y "%is%\drivers\nwifi.sys" "%bs%\drivers"
copy /y "%is%\drivers\srv.sys" "%bs%\drivers"
copy /y "%is%\drivers\srv2.sys" "%bs%\drivers"
copy /y "%is%\drivers\srvnet.sys" "%bs%\drivers"
copy /y "%is%\drivers\tcpipreg.sys" "%bs%\drivers"
copy /y "%is%\drivers\vwifibus.sys" "%bs%\drivers"
copy /y "%is%\drivers\vwififlt.sys" "%bs%\drivers"
copy /y "%is%\drivers\vwifimp.sys" "%bs%\drivers"
copy /y "%is%\drivers\en-US\srv.sys.mui" "%bs%\drivers\en-US"
copy /y "%is%\%lang%\adsldpc.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\apphelp.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\atl.dll.mui" "%bs%\en-US"
copy /y "%is%\%lang%\bfe.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\cfgbkend.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\compmgmt.msc" "%bs%\%lang%"
copy /y "%is%\%lang%\comres.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\credui.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\devmgmt.msc" "%bs%\%lang%"
copy /y "%is%\%lang%\devmgr.dll.mui" "%bs%\%lang%"
Cls
copy /y "%is%\%lang%\diskmgmt.msc" "%bs%\%lang%"
copy /y "%is%\%lang%\dmdskres.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\dmocx.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\dmutil.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\filemgmt.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\fsmgmt.msc" "%bs%\%lang%"
copy /y "%is%\%lang%\fsutil.exe.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\fwpuclnt.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\ICacls.exe.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\ifmon.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\ikeext.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\ipsecsnp.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\kerberos.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\MFC42u.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\mlang.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\mmc.exe.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\mmcbase.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\mmcndmgr.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\mmcshext.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\msxml3r.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\msxml6r.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\mycomput.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\nshwfp.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\ntmarta.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\oleaccrc.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\polstore.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\services.exe.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\services.msc" "%bs%\%lang%"
copy /y "%is%\%lang%\srvsvc.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\urlmon.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\webio.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\winhttp.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%WinSCard.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%\winsockhc.dll.mui" "%bs%\%lang%"
copy /y "%is%\%lang%wshelper.dll.mui" "%bs%\%lang%"
copy /y "%iw%\Explorer.exe" "%bw%"
copy /y "%iw%\explorer.exe" "%bs%"
copy /y "%projekt%\imagex.exe" "%bw%
cd %projekt%
imagex /capture /compress max /boot %pb% %ISO%\sources\boot.wim "boot"
rd /s /q %pb%
imagex /unmount %pi%
rd /s /q %pi%
cd %tarch%
Oscdimg -n -b%projekt%\etfsboot.com %projekt%\ISO "%projekt%\%ISOname%"
rd /s /q %ISO%
del /q %projekt%\etfsboot.com
del /q %projekt%\imagex.exe
Cls
DTCZ
Exit
If you find someone who can read and edit the hive cmd, I'll be very happy.
I apologize for my English, I'm from Czech Republic
If you need assistance in explaining the script, just let me write on my website.
www.danten.cz