Yep, seems to be something like that . Have a working WIM for July and waiting for MS to clean-up their WU mess in August turn.
I dont know where to post it, but i want your "murphy78" help on this. codes which are disabled , i want to make them work. My problems are in 2nd command script. Error are disabled by :: code. please make some change in code to make it work. Update and customize windows 7 by Windows AIK, and CMD Here is my tutorial to update and customize win7 by Windows AIK and CMD. keep the Command script files your edited system files in folder Required software: CMD Windows AIK 3.0 (i have used it) Folder tree(The folder name should be very short & keep he Command scriptch files in it ): uploaded pic will giveyou an idead. Don't change the file names if you do then change them in BatCommand scriptch files too.- Important files in the folder excluding those in pic. Apple-Dell-Logo1.bmp (according to your laptop logo size) background.bmp background_cli.bmp backgroundDefault.jpeg basebrd.dll.mui -- customized FirstUXBackground.bmp ---- must be of 1024*768 notepad.exe ---------- (notepad2 software very useful,copy the exe file and name it notepad.exe) notepad.ini---------------(same software the .ini file in it ) setup.bmp setup.exe.mui -----------customized spwizimg.dll ------------customized w32uires.dll.mui---------customized wininit.exe.mui----------customized winlogon.exe.mui---------customized winpe.bmp ---------------- for the customized DLL file google around, you will find tutorial to edit them. resolution size of pics are your default screen size unless otherwise mentioned. For update integration in 1st baCommand scripttch file make folders in system drive i.e. C:\7MSDN. Make another folder "integration", and keep the updates as shown in pics uploaded . Thank you "murphy78" for update list Code: cd /d %~dp0 CLS @ECHO OFF SET DVDSOURCE=%systemdrive%\7MSDN SET MOUNTDIR=%systemdrive%\mount SET MOUNTNUM= SET STORE=D:\7ISO\7HomeUlti SET /P MOUNTNUM=Path to IMAGE NUMBER: ECHO. ECHO. ECHO. From this point onwards files will be modified. ECHO If you wish to quit, please close the program now. ECHO. SET /P MOUNTNUM=Path to IMAGE NUMBER: ECHO. ECHO updating Homebasic image DISM /mount-wim /wimfile:%DVDSOURCE%\sources\install.wim /index:%MOUNTNUM% /mountdir:%MOUNTDIR% dism /image:c:\mount /add-package /packagepath:c:\integration\1-PreReqs dism /image:c:\mount /add-package /packagepath:c:\integration\2-IE dism /image:c:\mount /add-package /packagepath:c:\integration\3-MainUpdates dism /image:c:\mount /add-package /packagepath:c:\integration\4-2ndPass dism /image:c:\mount /add-package /packagepath:c:\integration\5-IEUpdates dism /image:c:\mount /add-package /packagepath:c:\integration\6-SelfUpdate dism /unmount-wim /mountdir:c:\mount /commit show error if any ::SET MOUNTNUM= ::SET /P MOUNTNUM=1 DISM /mount-wim /wimfile:%DVDSOURCE%\sources\install.wim /index:%MOUNTNUM% /mountdir:%MOUNTDIR% dism /image:c:\mount /Disable-Feature /FeatureName:WindowsGadgetPlatform dism /image:c:\mount /Disable-Feature /FeatureName:"More Games" dism /image:c:\mount /Disable-Feature /FeatureName:”Internet Games” dism /image:c:\mount /Disable-Feature /FeatureName:Chess dism /image:c:\mount /Disable-Feature /FeatureName:PurblePlace dism /image:c:\mount /Disable-Feature /FeatureName:Shanghai dism /image:c:\mount /Disable-Feature /FeatureName:MediaPlayback dism /image:c:\mount /Disable-Feature /FeatureName:MediaCenter dism /image:c:\mount /Disable-Feature /FeatureName:OpticalMediaDisc dism /image:c:\mount /Disable-Feature /FeatureName:WindowsMediaPlayer dism /image:c:\mount /Set-UILang:en-US dism /image:c:\mount /set-timezone:"India Standard Time" dism /image:c:\mount /Set-UserLocale:en-IN Dism /Unmount-Wim /MountDir:C\:mount /Commit IF EXIST "D:\7ISO\7HomeUlti" RMDIR /s /Q "%D:\7ISO\7HomeUlti" mkdir %STORE% imagex /compress maximum /export %DVDSOURCE%\sources\install.wim 1 %STORE%\install.wim "RT7Homebasic-x64" ::xcopy %STORE%\install.wim* %DVDSOURCE%\sources\install.wim /Y ::pause SET /P MOUNTNUM=4 ECHO updating ultimate image DISM /mount-wim /wimfile:%DVDSOURCE%\sources\install.wim /index:%MOUNTNUM% /mountdir:%MOUNTDIR% dism /image:c:\mount /add-package /packagepath:c:\integration\1-PreReqs dism /image:c:\mount /add-package /packagepath:c:\integration\2-IE dism /image:c:\mount /add-package /packagepath:c:\integration\3-MainUpdates dism /image:c:\mount /add-package /packagepath:c:\integration\4-2ndPass dism /image:c:\mount /add-package /packagepath:c:\integration\5-IEUpdates dism /image:c:\mount /add-package /packagepath:c:\integration\6-SelfUpdate dism /unmount-wim /mountdir:c:\mount /commit show error if any ::SET /P MOUNTNUM=4 DISM /mount-wim /wimfile:%DVDSOURCE%\sources\install.wim /index:%MOUNTNUM% /mountdir:%MOUNTDIR% dism /image:c:\mount /Disable-Feature /FeatureName:WindowsGadgetPlatform dism /image:c:\mount /Disable-Feature /FeatureName:"More Games" dism /image:c:\mount /Disable-Feature /FeatureName:”Internet Games” dism /image:c:\mount /Disable-Feature /FeatureName:Chess dism /image:c:\mount /Disable-Feature /FeatureName:PurblePlace dism /image:c:\mount /Disable-Feature /FeatureName:Shanghai dism /image:c:\mount /Disable-Feature /FeatureName:MediaPlayback dism /image:c:\mount /Disable-Feature /FeatureName:MediaCenter dism /image:c:\mount /Disable-Feature /FeatureName:OpticalMediaDisc dism /image:c:\mount /Disable-Feature /FeatureName:WindowsMediaPlayer dism /image:c:\mount /Set-UILang:en-US dism /image:c:\mount /set-timezone:"India Standard Time" dism /image:c:\mount /Set-UserLocale:en-IN Dism /Unmount-Wim /MountDir:C\:mount /Commit ::IF EXIST "D:\7ISO\7ultimate" RMDIR /s /Q "%D:\7ISO\7ultimate" ::mkdir %STORE% imagex /compress maximum /export %DVDSOURCE%\sources\install.wim 4 %STORE%\install.wim "RT7Ultimate-x64" xcopy /Y %STORE%\install.wim* %DVDSOURCE%\sources\install.wim pause exit 2nd Command Script Code: cd /d %~dp0 CLS @ECHO OFF SET DVDSOURCE=%systemdrive%\7MSDN SET MOUNTDIR=%systemdrive%\mount SET SUBMOUNTDIR=%systemdrive%\mount2 SET FirstUXRes=%systemdrive%\FirstUXRes SET STORE=D:\7ISO\ISO SET MOUNTNUM= SET DISM=%systemdrive%\Program Files\Windows AIK\Tools\amd64\Servicing\Dism.exe SET imagex=%systemdrive%\Program Files\Windows AIK\Tools\amd64\imagex.exe SET oscdimg=%systemdrive%\Program Files\Windows AIK\Tools\amd64\oscdimg.exe ECHO. ECHO This script will modify Setup images on the 7 DVD and inside sources\install.wim ECHO. ECHO Make sure to have pre-prepared your spwizimg.dll and imageres.dll files. ECHO The script will use spwizimg.dll and imageres.dll for 32-bit images, ECHO and spwizimg.dll and imageres.dll for 64-bit images. ECHO. ECHO Also make sure to have the Windows 7 AIK installed, the DVD extracted to an ECHO editable folder, and a blank folder created to mount the install.wim image ECHO. ECHO. ECHO For example, the following paths (note trailing slashes and quotation marks): ECHO WAIK IMAGEX.EXE=C:\Windows\System32\cmd.exe /k "C:\Program Files\Windows AIK\Tools\PETools\pesetenv.cmd" ECHO WINDOWS 7 DVD=C:\7MSDN C:\IMAGEX.EXE C:\DISM.EXE ECHO IMAGE NUMBER=2 ECHO. ECHO. ::SET /P IMAGEX=Path to WAIK IMAGEX.EXE: ::SET /P DVDSOURCE=Path to WINDOWS 7 DVD: SET /P MOUNTNUM=Path to IMAGE NUMBER: ECHO. ECHO. IF EXIST "%MOUNTDIR%" ( ECHO cleaning up previous run IF EXIST "%MOUNTDIR%" DISM /cleanup-wim IF EXIST "%MOUNTDIR%" DISM /Unmount-Wim /MountDir:"%MOUNTDIR%" /discard IF EXIST "%MOUNTDIR%" RMDIR /s /Q "%MOUNTDIR%" IF EXIST "%MOUNTDIR%" TAKEOWN /F "%MOUNTDIR%" /R IF EXIST "%MOUNTDIR%" ICACLS "%MOUNTDIR%" /T /L /GRANT Administrators:FD IF EXIST "%MOUNTDIR%" RMDIR /s /Q "%MOUNTDIR%" ) IF EXIST "%SUBMOUNTDIR%" ( IF EXIST "%SUBMOUNTDIR%" DISM /Unmount-Wim /MountDir:"%SUBMOUNTDIR%" /discard IF EXIST "%SUBMOUNTDIR%" RMDIR /s /Q "%SUBMOUNTDIR%" IF EXIST "%SUBMOUNTDIR%" TAKEOWN /F "%SUBMOUNTDIR%" /R IF EXIST "%SUBMOUNTDIR%" ICACLS "%SUBMOUNTDIR%" /T /L /GRANT Administrators:FD IF EXIST "%SUBMOUNTDIR%" RMDIR /s /Q "%SUBMOUNTDIR%" ) IF EXIST "%FirstUXRes%" ( IF EXIST "%FirstUXRes%" TAKEOWN /F "%FirstUXRes%" /R IF EXIST "%FirstUXRes%" ICACLS "%FirstUXRes%" /T /L /GRANT Administrators:FD IF EXIST "%FirstUXRes%" RMDIR /s /Q "%FirstUXRes%" ) ECHO From this point onwards files will be modified. ECHO If you wish to quit, please close the program now. Pause mkdir %MOUNTDIR% mkdir %SUBMOUNTDIR% mkdir %FirstUXRes% ECHO Mounting install.wim:%MOUNTNUM% to %MOUNTDIR% DISM /mount-wim /wimfile:%DVDSOURCE%\sources\install.wim /index:%MOUNTNUM% /mountdir:%MOUNTDIR% dism /image:%MOUNTDIR% /Disable-Feature /FeatureName:WindowsGadgetPlatform dism /image:c:\mount /Disable-Feature /FeatureName:"More Games" dism /image:c:\mount /Disable-Feature /FeatureName:”Internet Games” dism /image:c:\mount /Disable-Feature /FeatureName:Chess dism /image:c:\mount /Disable-Feature /FeatureName:PurblePlace dism /image:c:\mount /Disable-Feature /FeatureName:Shanghai dism /image:c:\mount /Disable-Feature /FeatureName:MediaPlayback dism /image:c:\mount /Disable-Feature /FeatureName:MediaCenter dism /image:c:\mount /Disable-Feature /FeatureName:OpticalMediaDisc dism /image:c:\mount /Disable-Feature /FeatureName:WindowsMediaPlayer dism /image:c:\mount /Set-UILang:en-US dism /image:c:\mount /set-timezone:"India Standard Time" dism /image:c:\mount /Set-UserLocale:en-IN DISM /unmount-wim /mountdir:%MOUNTDIR% /commit echo. ECHO Mounting install.wim to %MOUNTDIR% DISM /mount-wim /wimfile:%DVDSOURCE%\sources\install.wim /index:%MOUNTNUM% /mountdir:%MOUNTDIR% ECHO Modifying WimRegistry hive ECHO Edit/merge WimRegistry hive :- SYSTEM reg load HKLM\WimRegistry c:\mount\windows\system32\config\SYSTEM REG add "HKEY_LOCAL_MACHINE\WimRegistry\ControlSet001\services\WinDefend" /v Start /t REG_DWORD /d 4 /f REG add "HKEY_LOCAL_MACHINE\WimRegistry\ControlSet001\services\WinDefend" /v DelayedAutoStart /t REG_DWORD /d 4 /f REG add "HKEY_LOCAL_MACHINE\WimRegistry\ControlSet001\Control\Power" /v CustomizeDuringSetup /t REG_DWORD /d 0 /f REG add "HKEY_LOCAL_MACHINE\WimRegistry\ControlSet001\Control\Power" /v HiberFileSizePercent /t REG_DWORD /d 0 /f REG add "HKEY_LOCAL_MACHINE\WimRegistry\ControlSet001\Control\Power" /v HibernateEnabled /t REG_DWORD /d 0 /f REG add "HKEY_LOCAL_MACHINE\WimRegistry\ControlSet002\services\WinDefend" /v Start /t REG_DWORD /d 4 /f REG add "HKEY_LOCAL_MACHINE\WimRegistry\ControlSet002\services\WinDefend" /v DelayedAutoStart /t REG_DWORD /d 4 /f REG add "HKEY_LOCAL_MACHINE\WimRegistry\ControlSet002\Control\Power" /v CustomizeDuringSetup /t REG_DWORD /d 0 /f REG add "HKEY_LOCAL_MACHINE\WimRegistry\ControlSet002\Control\Power" /v HiberFileSizePercent /t REG_DWORD /d 0 /f REG add "HKEY_LOCAL_MACHINE\WimRegistry\ControlSet002\Control\Power" /v HibernateEnabled /t REG_DWORD /d 0 /f reg unload HKLM\WimRegistry ECHO Edit/merge WimRegistry hive :- software reg load HKLM\WimRegistry c:\mount\windows\system32\config\sotware pause REG add "HKEY_LOCAL_MACHINE\WimRegistry\Microsoft\Windows\CurrentVersion\OEMInformation" /v Manufacturer /d Dell /f REG add "HKEY_LOCAL_MACHINE\WimRegistry\Microsoft\Windows\CurrentVersion\OEMInformation" /v Model /d N4010 /f REG add "HKEY_LOCAL_MACHINE\WimRegistry\Microsoft\Windows\CurrentVersion\OEMInformation" /v Logo /d windows\\System32\\oobe\\Apple-Dell-Logo1.bmp /f REG add "HKEY_LOCAL_MACHINE\WimRegistry\Microsoft\Windows\CurrentVersion\OEMInformation" /v SupportPhone /d 18004254026 /f REG add "HKEY_LOCAL_MACHINE\WimRegistry\Microsoft\Windows\CurrentVersion\OEMInformation" /v SupportURL /d "your url" /f REG add "HKEY_LOCAL_MACHINE\WimRegistry\Microsoft\Windows\CurrentVersion\OEMInformation" /v SupportHours /d "In India, 24 hours a day, 7 days a week" /f Windows defender REG add "HKEY_LOCAL_MACHINE\WimRegistry\Microsoft\Windows Defender" /v DisableAntiSpyware /t REG_DWORD /d 1 /f reg unload HKLM\WimRegistry ::ECHO Edit/merge WimRegistry hive :- ntuser.dat ::reg load HKLM\WimRegistry c:\mount\windows\system32\config\ntuser.dat ::reg import %~dp0wimregistryntuserdat.reg ::reg unload HKLM\WimRegistry DISM /unmount-wim /mountdir:%MOUNTDIR% /commit ECHO Mounting install.wim:%MOUNTNUM% to %MOUNTDIR% DISM /mount-wim /wimfile:%DVDSOURCE%\sources\install.wim /index:%MOUNTNUM% /mountdir:%MOUNTDIR% ECHO Modifying "%MOUNTDIR%\Windows\System32\oobe\en-US\W32UIRes.dll.mui" TAKEOWN /a /f "%MOUNTDIR%\Windows\System32\oobe\en-US\W32UIRes.dll.mui" icacls "%MOUNTDIR%\Windows\System32\oobe\en-US\W32UIRes.dll.mui" /Grant Administrators:F ::DEL /Q "%MOUNTDIR%\Windows\System32\oobe\en-US\W32UIRes.dll.mui" Copy /Y "%~dp0W32UIRes.dll.mui" "%MOUNTDIR%\Windows\System32\oobe\en-US\W32UIRes.dll.mui" ECHO Modifying "%MOUNTDIR%\Windows\Branding\Basebrd\en-US\basebrd.dll.mui" takeown /a /f "%MOUNTDIR%\Windows\Branding\Basebrd\en-US\basebrd.dll.mui" icacls "%MOUNTDIR%\Windows\Branding\Basebrd\en-US\basebrd.dll.mui" /Grant Administrators:F ::DEL /Q %MOUNTDIR%\Windows\Branding\Basebrd\en-US\basebrd.dll.mui Copy /Y "%~dp0basebrd.dll.mui" "%MOUNTDIR%\Windows\Branding\Basebrd\en-US\basebrd.dll.mui" takeown /a /f "%MOUNTDIR%\Windows\notepad.exe" icacls "%MOUNTDIR%\Windows\notepad.exe" /Grant Administrators:F Copy /Y "%~dp0notepad.exe" "%MOUNTDIR%\Windows\notepad.exe" takeown /a /f "%MOUNTDIR%\Windows\System32\notepad.exe" icacls "%MOUNTDIR%\Windows\System32\notepad.exe" /Grant Administrators:F Copy /Y "%~dp0notepad.exe" "%MOUNTDIR%\Windows\System32\notepad.exe" Copy /Y "%~dp0notepad.ini" "%MOUNTDIR%\Users\Administrator\AppData\Roaming\notepad.ini" Copy /Y "%~dp0notepad.ini" "%MOUNTDIR%\Users\Default\AppData\Roaming\notepad.ini" Copy /Y "%~dp0notepad.ini" "%MOUNTDIR%\%AppData%\Roaming\notepad.ini" Copy /Y "%~dp0notepad.ini" "%MOUNTDIR%\%USERPROFILE%\AppData\Roaming\notepad.ini" takeown /a /f "%MOUNTDIR%\Windows\System32\en-US\wininit.exe.mui" icacls "%MOUNTDIR%\Windows\System32\en-US\wininit.exe.mui" /Grant Administrators:F Copy /Y "%~dp0wininit.exe.mui" "%MOUNTDIR%\Windows\System32\en-US\wininit.exe.mui" takeown /a /f "%MOUNTDIR%\Windows\SysWOW64\en-US\wininit.exe.mui" icacls "%MOUNTDIR%\Windows\SysWOW64\en-US\wininit.exe.mui" /Grant Administrators:F Copy /Y "%~dp0wininit.exe.mui" "%MOUNTDIR%\Windows\SysWOW64\en-US\wininit.exe.mui" takeown /a /f "%MOUNTDIR%\Windows\System32\en-US\winlogon.exe.mui" icacls "%MOUNTDIR%\Windows\System32\en-US\winlogon.exe.mui" /Grant Administrators:F Copy /Y "%~dp0winlogon.exe.mui" "%MOUNTDIR%\Windows\System32\en-US\winlogon.exe.mui" ECHO Modifying "%MOUNTDIR%\Windows\System32\spwizimg.dll" TAKEOWN /a /f "%MOUNTDIR%\Windows\System32\spwizimg.dll" icacls "%MOUNTDIR%\Windows\System32\spwizimg.dll" /Grant Administrators:F DEL /Q "%MOUNTDIR%\Windows\System32\spwizimg.dll" Copy /Y "%~dp0spwizimg.dll" "%MOUNTDIR%\Windows\System32\spwizimg.dll" ::pause IF EXIST "%MOUNTDIR%\Windows\syswow64\spwizimg.dll" ( ECHO Modifying "%MOUNTDIR%\Windows\syswow64\spwizimg.dll" takeown /a /f "%MOUNTDIR%\Windows\syswow64\spwizimg.dll" icacls "%MOUNTDIR%\Windows\syswow64\spwizimg.dll" /Grant Administrators:F DEL /Q "%MOUNTDIR%\Windows\syswow64\spwizimg.dll" Copy /Y "%~dp0spwizimg.dll" "%MOUNTDIR%\Windows\syswow64\spwizimg.dll" ) ::pause ECHO Modifying "%MOUNTDIR%\Windows\System32\imageres.dll" TAKEOWN /a /f "%MOUNTDIR%\Windows\System32\imageres.dll" icacls "%MOUNTDIR%\Windows\System32\imageres.dll" /Grant Administrators:F DEL /Q "%MOUNTDIR%\Windows\System32\imageres.dll" Copy /Y "%~dp0imageres.dll" "%MOUNTDIR%\Windows\System32\imageres.dll" ::pause IF EXIST "%MOUNTDIR%\Windows\syswow64\imageres.dll" ( ECHO Modifying "%MOUNTDIR%\Windows\syswow64\imageres.dll" takeown /a /f "%MOUNTDIR%\Windows\syswow64\imageres.dll" icacls "%MOUNTDIR%\Windows\syswow64\imageres.dll" /Grant Administrators:F DEL /Q "%MOUNTDIR%\Windows\syswow64\imageres.dll" Copy /Y "%~dp0imageres.dll" "%MOUNTDIR%\Windows\syswow64\imageres.dll" ) ::pause ECHO Modifying "%MOUNTDIR%\Windows\System32\oobe\background.bmp" TAKEOWN /a /f "%MOUNTDIR%\Windows\System32\oobe\background.bmp" icacls "%MOUNTDIR%\Windows\System32\oobe\background.bmp" /Grant Administrators:F DEL /Q "%MOUNTDIR%\Windows\System32\oobe\background.bmp" Copy /Y "%~dp0background.bmp" "%MOUNTDIR%\Windows\System32\oobe\background.bmp" IF EXIST "%MOUNTDIR%\Windows\syswow64\oobe\background.bmp" ( ECHO Modifying "%MOUNTDIR%\Windows\syswow64\oobe\background.bmp" takeown /a /f "%MOUNTDIR%\Windows\syswow64\oobe\background.bmp" icacls "%MOUNTDIR%\Windows\syswow64\oobe\background.bmp" /Grant Administrators:F DEL /Q "%MOUNTDIR%\Windows\syswow64\oobe\background.bmp" Copy /Y "%~dp0background.bmp" "%MOUNTDIR%\Windows\syswow64\oobe\background.bmp") ::pause ECHO Modifying "%MOUNTDIR%\Windows\System32\uxtheme.dll" takeown /a /f "%MOUNTDIR%\Windows\System32\uxtheme.dll" icacls "%MOUNTDIR%\Windows\System32\uxtheme.dll" /Grant Administrators:F DEL /Q %MOUNTDIR%\Windows\System32\uxtheme.dll Copy /Y "%~dp0UxTheme\x64\uxtheme.dll" "%MOUNTDIR%\Windows\System32\uxtheme.dll" ECHO Modifying "%MOUNTDIR%\Windows\SysWOW64\uxtheme.dll" takeown /a /f "%MOUNTDIR%\Windows\SysWOW64\uxtheme.dll" icacls "%MOUNTDIR%\Windows\SysWOW64\uxtheme.dll" /Grant Administrators:F DEL /Q %MOUNTDIR%\Windows\SysWOW64\uxtheme.dll Copy /Y "%~dp0UxTheme\x86\uxtheme.dll" "%MOUNTDIR%\Windows\SysWOW64\uxtheme.dll" ECHO Modifying "%MOUNTDIR%\Windows\System32\themeservice.dll" takeown /a /f "%MOUNTDIR%\Windows\System32\themeservice.dll" icacls "%MOUNTDIR%\Windows\System32\themeservice.dll" /Grant Administrators:F DEL /Q "%MOUNTDIR%\Windows\System32\themeservice.dll" Copy /Y "%~dp0UxTheme\x64\themeservice.dll" "%MOUNTDIR%\Windows\System32\themeservice.dll" ::pause ECHO Modifying "%MOUNTDIR%\Windows\System32\themeui.dll" takeown /a /f "%MOUNTDIR%\Windows\System32\themeui.dll" icacls "%MOUNTDIR%\Windows\System32\themeui.dll" /Grant Administrators:F DEL /Q "%MOUNTDIR%\Windows\System32\themeui.dll" Copy /Y "%~dp0UxTheme\x64\themeui.dll" "%MOUNTDIR%\Windows\System32\themeui.dll" ECHO Modifying "%MOUNTDIR%\Windows\SysWOW64\themeui.dll" takeown /a /f "%MOUNTDIR%\Windows\SysWOW64\themeui.dll" icacls "%MOUNTDIR%\Windows\SysWOW64\themeui.dll" /Grant Administrators:F DEL /Q "%MOUNTDIR%\Windows\SysWOW64\themeui.dll" Copy /Y "%~dp0UxTheme\x86\themeui.dll" "%MOUNTDIR%\Windows\SysWOW64\themeui.dll" ::pause ECHO Modifying "Themes folder" takeown /a /F "%MOUNTDIR%\Windows\Resources\Ease of Access Themes\classic.theme" icacls "%MOUNTDIR%\Windows\Resources\Ease of Access Themes\classic.theme" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\Resources\Ease of Access Themes\classic.theme" takeown /a /F "%MOUNTDIR%\Windows\Resources\Ease of Access Themes\hc1.theme" icacls "%MOUNTDIR%\Windows\Resources\Ease of Access Themes\hc1.theme" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\Resources\Ease of Access Themes\hc1.theme" takeown /a /F "%MOUNTDIR%\Windows\Resources\Ease of Access Themes\hc2.theme" icacls "%MOUNTDIR%\Windows\Resources\Ease of Access Themes\hc2.theme" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\Resources\Ease of Access Themes\hc2.theme" takeown /a /F "%MOUNTDIR%\Windows\Resources\Ease of Access Themes\hcblack.theme" icacls "%MOUNTDIR%\Windows\Resources\Ease of Access Themes\hcblack.theme" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\Resources\Ease of Access Themes\hcblack.theme" takeown /a /F "%MOUNTDIR%\Windows\Resources\Ease of Access Themes\hcwhite.theme" icacls "%MOUNTDIR%\Windows\Resources\Ease of Access Themes\hcwhite.theme" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\Resources\Ease of Access Themes\hcwhite.theme" pause takeown /a /F "%MOUNTDIR%\Windows\Resources\Themes" /r /d y icacls "%MOUNTDIR%\Windows\Resources\Themes" /Grant Administrators:F RMDIR /S /Q "%MOUNTDIR%\Windows\Resources\Themes" ::DEL /S /Q "%MOUNTDIR%\Windows\Resources\Themes\architecture.theme" ::DEL /S /Q "%MOUNTDIR%\Windows\Resources\Themes\characters.theme" ::DEL /S /Q "%MOUNTDIR%\Windows\Resources\Themes\landscapes.theme" ::DEL /S /Q "%MOUNTDIR%\Windows\Resources\Themes\nature.theme" ::DEL /S /Q "%MOUNTDIR%\Windows\Resources\Themes\scenes.theme" xCopy /S /Y "%~dp0Themes" "%MOUNTDIR%\Windows\Resources\Themes" ::pause ::ECHO Modifying "Wallpaper folder" ::takeown /a /f "%MOUNTDIR%\Windows\Web\Wallpaper" /r /d y ::icacls "%MOUNTDIR%\Windows\Web\Wallpaper" /Grant Administrators:F ::RMDIR /S /Q "%MOUNTDIR%\Windows\Web\Wallpaper\Windows" ::RMDIR /S /Q "%MOUNTDIR%\Windows\Web\Wallpaper\Architecture" ::RMDIR /S /Q "%MOUNTDIR%\Windows\Web\Wallpaper\Characters" ::RMDIR /S /Q "%MOUNTDIR%\Windows\Web\Wallpaper\Landscapes" ::RMDIR /S /Q "%MOUNTDIR%\Windows\Web\Wallpaper\Nature" ::RMDIR /S /Q "%MOUNTDIR%\Windows\Web\Wallpaper\Scenes" ::Copy /Y "%~dp0Windows" "%MOUNTDIR%\Windows\Web\Wallpaper" ::temporarily disabled for execution due to problem ECHO Modifying "Wallpaper folder" takeown /a /f "%MOUNTDIR%\Windows\Web\Wallpaper\Architecture" /r /d y icacls "%MOUNTDIR%\Windows\Web\Wallpaper\Architecture" /Grant Administrators:F RMDIR /S /Q "%MOUNTDIR%\Windows\Web\Wallpaper\Architecture" takeown /a /f "%MOUNTDIR%\Windows\Web\Wallpaper\Characters" /r /d y icacls "%MOUNTDIR%\Windows\Web\Wallpaper\Characters" /Grant Administrators:F RMDIR /S /Q "%MOUNTDIR%\Windows\Web\Wallpaper\Characters" takeown /a /f "%MOUNTDIR%\Windows\Web\Wallpaper\Landscapes" /r /d y icacls "%MOUNTDIR%\Windows\Web\Wallpaper\Landscapes" /Grant Administrators:F RMDIR /S /Q "%MOUNTDIR%\Windows\Web\Wallpaper\Landscapes" takeown /a /f "%MOUNTDIR%\Windows\Web\Wallpaper\Nature" /r /d y icacls "%MOUNTDIR%\Windows\Web\Wallpaper\Nature" /Grant Administrators:F RMDIR /S /Q "%MOUNTDIR%\Windows\Web\Wallpaper\Nature" takeown /a /f "%MOUNTDIR%\Windows\Web\Wallpaper\Scenes" /r /d y icacls "%MOUNTDIR%\Windows\Web\Wallpaper\Scenes" /Grant Administrators:F RMDIR /S /Q "%MOUNTDIR%\Windows\Web\Wallpaper\Scenes" takeown /a /f "%MOUNTDIR%\Windows\Web\Wallpaper\Windows\img0.jpg" icacls "%MOUNTDIR%\Windows\Web\Wallpaper\Windows\img0.jpg" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\Web\Wallpaper\Windows\img0.jpg" xCopy /Y "%~dp0Windows" "%MOUNTDIR%\Windows\Web\Wallpaper\Windows" ECHO Modifying "Screen saver folder" takeown /a /f "%MOUNTDIR%\Windows\System32\en-US\Mystify.scr.mui" icacls "%MOUNTDIR%\Windows\System32\en-US\Mystify.scr.mui" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\System32\en-US\Mystify.scr.mui" takeown /a /f "%MOUNTDIR%\Windows\System32\Mystify.scr" icacls "%MOUNTDIR%\Windows\System32\Mystify.scr" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\System32\Mystify.scr" takeown /a /f "%MOUNTDIR%\Windows\System32\en-US\Ribbons.scr.mui" icacls "%MOUNTDIR%\Windows\System32\en-US\Ribbons.scr.mui" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\System32\en-US\Ribbons.scr.mui" takeown /a /f "%MOUNTDIR%\Windows\System32\Ribbons.scr" icacls "%MOUNTDIR%\Windows\System32\Mystify.scr" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\System32\Ribbons.scr" takeown /a /f "%MOUNTDIR%\Windows\System32\en-US\scrnsave.scr.mui" icacls "%MOUNTDIR%\Windows\System32\en-US\scrnsave.scr.mui" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\System32\en-US\scrnsave.scr.mui" takeown /a /f "%MOUNTDIR%\Windows\System32\scrnsave.scr" icacls "%MOUNTDIR%\Windows\System32\scrnsave.scr" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\System32\scrnsave.scr" ::pause takeown /a /f "%MOUNTDIR%\Windows\SysWOW64\en-US\Mystify.scr.mui" icacls "%MOUNTDIR%\Windows\SysWOW64\en-US\Mystify.scr.mui" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\SysWOW64\en-US\Mystify.scr.mui" takeown /a /f "%MOUNTDIR%\Windows\SysWOW64\Mystify.scr" icacls "%MOUNTDIR%\Windows\SysWOW64\Mystify.scr" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\SysWOW64\Mystify.scr" takeown /a /f "%MOUNTDIR%\Windows\SysWOW64\en-US\Ribbons.scr.mui" icacls "%MOUNTDIR%\Windows\SysWOW64\en-US\Ribbons.scr.mui" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\SysWOW64\en-US\Ribbons.scr.mui" takeown /a /f "%MOUNTDIR%\Windows\SysWOW64\Ribbons.scr" icacls "%MOUNTDIR%\Windows\SysWOW64\Mystify.scr" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\SysWOW64\Ribbons.scr" takeown /a /f "%MOUNTDIR%\Windows\SysWOW64\en-US\scrnsave.scr.mui" icacls "%MOUNTDIR%\Windows\SysWOW64\en-US\scrnsave.scr.mui" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\SysWOW64\en-US\scrnsave.scr.mui" takeown /a /f "%MOUNTDIR%\Windows\SysWOW64\scrnsave.scr" icacls "%MOUNTDIR%\Windows\SysWOW64\scrnsave.scr" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\SysWOW64\scrnsave.scr" ::pause echo modifying dell system properties company logo Copy /Y "%~dp0Apple-Dell-Logo1.bmp" "%MOUNTDIR%\Windows\System32\oobe" echo modifying win logon background mkdir "%MOUNTDIR%\Windows\System32\oobe\info\backgrounds" Copy /Y "%~dp0backgroundDefault.jpg" "%MOUNTDIR%\Windows\System32\oobe\info\backgrounds" ::pause ECHO Modifying "WINDOWS Defender Folder" takeown /a /f "%MOUNTDIR%\Program Files\Windows Defender" /r /d y icacls "%MOUNTDIR%\Program Files\Windows Defender" /Grant Administrators:F RMDIR /S /Q "%MOUNTDIR%\Program Files\Windows Defender" pause takeown /a /f "%MOUNTDIR%\Program Files (x86)\Windows Defender" /r /d y icacls "%MOUNTDIR%\Program Files (x86)\Windows Defender" /Grant Administrators:F RMDIR /S /Q "%MOUNTDIR%\Program Files (x86)\Windows Defender" pause takeown /a /f "%MOUNTDIR%\ProgramData\Microsoft\Windows Defender" /r /d y icacls "%MOUNTDIR%\ProgramData\Microsoft\Windows Defender" /Grant Administrators:F RMDIR /S /Q "%MOUNTDIR%\ProgramData\Microsoft\Windows Defender" pause ::ECHO Modifying "Windows Sidebar" ::takeown /a /f "%MOUNTDIR%\Program Files\Windows Sidebar" /r /d y ::icacls "%MOUNTDIR%\Program Files\Windows Sidebar" /Grant Administrators:F ::RMDIR /S /Q "%MOUNTDIR%\Program Files\Windows Sidebar" ::pause ::takeown /a /f "%MOUNTDIR%\Program Files (x86)\Windows Sidebar" /r /d y ::icacls "%MOUNTDIR%\Program Files (x86)\Windows Sidebar" /Grant Administrators:F ::RMDIR /S /Q "%MOUNTDIR%\Program Files (x86)\Windows Sidebar" ::pause ::ECHO Modifying "DVD Maker" ::takeown /a /f "%MOUNTDIR%\Program Files\DVD Maker" /r /d y ::icacls "%MOUNTDIR%\Program Files\DVD Maker" /Grant Administrators:F ::RMDIR /S /Q "%MOUNTDIR%\Program Files\DVD Maker" ::pause ECHO Modifying "Documents folder" takeown /a /f "%MOUNTDIR%\Users\Public" /r /d y icacls "%MOUNTDIR%\Users\Public" /Grant Administrators:F RMDIR /S /Q "%MOUNTDIR%\Users\Public\Music\Sample Music" RMDIR /S /Q "%MOUNTDIR%\Users\Public\Pictures\Sample Pictures" RMDIR /S /Q "%MOUNTDIR%\Users\Public\Videos\Sample Videos" Copy /Y "%~dp0Documents" "%MOUNTDIR%\Users\Public\Documents" pause ECHO Copying %MOUNTDIR%\Windows\System32\oobe\FirstUXRes.wim Copy /Y "%MOUNTDIR%\Windows\System32\oobe\FirstUXRes.wim" "%FirstUXRes%\FirstUXRes.wim" ECHO Mounting %FirstUXRes%\FirstUXRes.wim to %SUBMOUNTDIR% imagex /mountrw %FirstUXRes%\FirstUXRes.wim 1 %SUBMOUNTDIR% ECHO Modifying "%SUBMOUNTDIR%\FirstUXBackground.bmp" takeown /a /f "%SUBMOUNTDIR%\FirstUXBackground.bmp" icacls "%SUBMOUNTDIR%\FirstUXBackground.bmp" /Grant Administrators:F attrib -R %SUBMOUNTDIR%\FirstUXBackground.bmp Copy /Y "%~dp0FirstUXBackground.bmp" "%SUBMOUNTDIR%\FirstUXBackground.bmp" attrib +R "%SUBMOUNTDIR%\FirstUXBackground.bmp" ECHO Finished modifications, unmounting and commiting FirstUXRes.wim imagex /unmount /commit %SUBMOUNTDIR% ECHO Modifying "%MOUNTDIR%\Windows\System32\oobe\FirstUXRes.wim" takeown /a /f "%MOUNTDIR%\Windows\System32\oobe\FirstUXRes.wim" icacls "%MOUNTDIR%\Windows\System32\oobe\FirstUXRes.wim" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\System32\oobe\FirstUXRes.wim" Copy /Y "%FirstUXRes%\FirstUXRes.wim" "%MOUNTDIR%\Windows\System32\oobe\FirstUXRes.wim" pause ECHO. ECHO Finished modifications, unmounting and commiting install.wim DISM /unmount-wim /mountdir:%MOUNTDIR% /commit ECHO. ECHO. ECHO Mounting boot.wim:2 to %MOUNTDIR% DISM /mount-wim /wimfile:%DVDSOURCE%\sources\boot.wim /index:2 /mountdir:%MOUNTDIR% ECHO Modifying "%MOUNTDIR%\sources\background.bmp" takeown /a /f "%MOUNTDIR%\sources\background.bmp" icacls "%MOUNTDIR%\sources\background.bmp" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\sources\background.bmp" Copy /Y "%~dp0background.bmp" "%MOUNTDIR%\sources\background.bmp" ECHO Modifying "%MOUNTDIR%\Windows\System32\setup.bmp" TAKEOWN /a /f "%MOUNTDIR%\Windows\System32\setup.bmp" icacls "%MOUNTDIR%\Windows\System32\setup.bmp" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\System32\setup.bmp" Copy /Y "%~dp0setup.bmp" "%MOUNTDIR%\Windows\System32\setup.bmp" ECHO Modifying "%MOUNTDIR%\Windows\System32\winpe.bmp" TAKEOWN /a /f "%MOUNTDIR%\Windows\System32\winpe.bmp" icacls "%MOUNTDIR%\Windows\System32\winpe.bmp" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\System32\winpe.bmp" Copy /Y "%~dp0winpe.bmp" "%MOUNTDIR%\Windows\System32\winpe.bmp" ECHO Modifying "%MOUNTDIR%\sources\spwizimg.dll" TAKEOWN /a /f "%MOUNTDIR%\sources\spwizimg.dll" icacls "%MOUNTDIR%\sources\spwizimg.dll" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\sources\spwizimg.dll" Copy /Y "%~dp0spwizimg.dll" "%MOUNTDIR%\sources\spwizimg.dll" ECHO Modifying "%MOUNTDIR%\Windows\System32\imageres.dll" TAKEOWN /a /f "%MOUNTDIR%\Windows\System32\imageres.dll" icacls "%MOUNTDIR%\Windows\System32\imageres.dll" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\System32\imageres.dll" Copy /Y "%~dp0winpe.bmp" "%MOUNTDIR%\Windows\System32\imageres.dll" ECHO Modifying "%MOUNTDIR%\sources\W32UIRes.dll" TAKEOWN /a /f "%MOUNTDIR%\sources\W32UIRes.dll" icacls "%MOUNTDIR%\sources\W32UIRes.dll" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\sources\W32UIRes.dll" Copy /Y "%~dp0W32UIRes.dll" "%MOUNTDIR%\sources\W32UIRes.dll" ECHO Modifying "%MOUNTDIR%\Windows\System32\uxtheme.dll" TAKEOWN /a /f "%MOUNTDIR%\Windows\System32\uxtheme.dll" icacls "%MOUNTDIR%\Windows\System32\uxtheme.dll" /Grant Administrators:F DEL /S /Q "%MOUNTDIR%\Windows\System32\uxtheme.dll" Copy /Y "%~dp0UxTheme\x64\uxtheme.dll" "%MOUNTDIR%\Windows\System32\uxtheme.dll" ECHO Finished modifications, unmounting and commiting boot.wim DISM /unmount-wim /mountdir:%MOUNTDIR% /commit ECHO Modifying "%DVDSOURCE%\sources\spwizimg.dll" takeown /a /f "%DVDSOURCE%\sources\spwizimg.dll" icacls "%DVDSOURCE%\sources\spwizimg.dll" /Grant Administrators:F DEL /Q "%DVDSOURCE%\sources\spwizimg.dll" Copy /Y "%~dp0spwizimg.dll" "%DVDSOURCE%\sources\spwizimg.dll" ::pause ECHO Modifying "%DVDSOURCE%\sources\W32UIRes.dll" takeown /a /f "%DVDSOURCE%\sources\W32UIRes.dll" icacls "%DVDSOURCE%\sources\W32UIRes.dll" /Grant Administrators:F DEL /Q "%DVDSOURCE%\sources\W32UIRes.dll" Copy /Y "%~dp0W32UIRes.dll" "%DVDSOURCE%\sources\W32UIRes.dll" ECHO Modifying "%DVDSOURCE%\sources\en-us\setup.exe.mui" takeown /a /f "%DVDSOURCE%\sources\en-us\setup.exe.mui" icacls "%DVDSOURCE%\sources\en-us\setup.exe.mui" /Grant Administrators:F DEL /Q "%DVDSOURCE%\sources\en-us\setup.exe.mui" Copy /Y "%~dp0setup.exe.mui" "%DVDSOURCE%\sources\en-us\setup.exe.mui" ECHO Modifying "%DVDSOURCE%\sources\background_cli.bmp" takeown /a /f "%DVDSOURCE%\sources\background_cli.bmp" icacls "%DVDSOURCE%\sources\background_cli.bmp" /Grant Administrators:F DEL /Q %DVDSOURCE%\sources\background_cli.bmp Copy /Y "%~dp0background_cli.bmp" "%DVDSOURCE%\sources\background_cli.bmp" pause ECHO "Copying $OEM$ files to sources " ECHO "Please "U" copy essential files to $OEM$" pause xCopy /S /Y "%~dp0$OEM$" "%DVDSOURCE%\sources\$OEM$" ECHO. ECHO Cleaning up... RMDIR /S /Q %FirstUXRes% RMDIR /S /Q %MOUNTDIR% RMDIR /S /Q %SUBMOUNTDIR% pause ECHO compressing and exporting Install.wim "n" boot.wim imagex /compress maximum /export C:\7MSDN\sources\install.wim 1 C:\install.wim "RT7HomeBasic-x64" imagex /compress maximum /export C:\7MSDN\sources\install.wim 4 C:\install.wim "RT7Ultimate-x64" imagex /compress maximum /export C:\7MSDN\sources\boot.wim 1 C:\boot.wim imagex /compress maximum /export C:\7MSDN\sources\boot.wim 2 C:\boot.wim echo "copying install.wim and boot.wim to 7MSDN" xcopy /Y "C:\install.wim" "%DVDSOURCE%\sources\install.wim" xcopy /Y "C:\boot.wim" "%DVDSOURCE%\sources\boot.wim" Echo "Making ISO file" mkdir "D:\7ISO\7ultimate" Echo Check if all commands executed sucessfully pause oscdimg -bC:\7MSDN\efi\microsoft\boot\efisys.bin -pEF -m -u2 -udfver102 -bootdata:2#p0,e,bC:\7MSDN\boot\etfsboot.com#pEF,e,bC:\7MSDN\efi\microsoft\boot\efisys.bin -lWin7DVD C:\7MSDN\ D:\7ISO\7ultimate\7Ultaug.iso pause ECHO Finished. Exit all help ,suggestion and corrections are welcome. moved to :- "Update and customize windows 7 by Windows AIK and RT7Lite" in windows 7 AND thaks murphy78 for all his inputs
On the first commented out lines, perhaps it has a problem because you have already used the same variable names? Code: ::SET /P IMAGEX=Path to WAIK IMAGEX.EXE: ::SET /P DVDSOURCE=Path to WINDOWS 7 DVD: You have it listed earlier as: Code: SET DVDSOURCE=%systemdrive%\7MSDN SET imagex=%systemdrive%\Program Files\Windows AIK\Tools\amd64\imagex.exe What I would do is make some sort of initializing function and flags for each of the variables. example: Code: SET IMAGEXFLAG= IF NOT EXIST "%systemdrive%\Program Files\Windows AIK\Tools\amd64\imagex.exe" SET IMAGEXFLAG=0 IF %IMAGEXFLAG%==0 SET /p IMAGEX=Path to WAIK IMAGEX.EXE: IF EXIST %IMAGEX%\imagex.exe SET IMAGEX=%IMAGEX%\imagex.exe You always want to define a variable before attempting to compare it to anything, hence the empty set call at the beginning. That would be one way to handle those variables, but it would take some polishing and testing to work out the kinks. I'm not a scripting expert even though I'm getting decent at them. On the 2nd commented out parts, I'm not entirely sure why it isn't working: Code: ::reg load HKLM\WimRegistry c:\mount\windows\system32\config\ntuser.dat ::reg import %~dp0wimregistryntuserdat.reg ::reg unload HKLM\WimRegistry Perhaps it doesn't like the %~dp0 part... Try making a variable to parse the %~dp0 part before sending it to the cmd interpreter? such as: Code: set WIMREGNTUSER=%~dp0wimregistryntuserdat.reg IF NOT EXIST %WIMREGNTUSER% ECHO Error locating wimregistryntuserdat.reg&pause reg load HKLM\WimRegistry c:\mount\windows\system32\config\ntuser.dat reg import %WIMREGNTUSER% reg unload HKLM\WimRegistry Perhaps there's a space in the directory structure that the cmd interpreter doesn't like? You could also use: Code: reg import "%WIMREGNTUSER%" or just put quotes around your previous version.. Again, I'm not pro at scripting, but that might solve your issue. I find that a lot of scripting bugs that I run into are either due to spacing issues, previously used variables, or quirky rules with things. As a rule, you should avoid any sort of nesting when working with SET commands. What I mean is, don't use some sort of: Code: If blahblah do ( some command here if result do ( set blahblah=Blahblahblah ) ) Instead you would want to use flags and goto commands: Code: If blahblah do ( some command here ) if result NEQ blahblah goto :NOTNEEDED set blahblah=Blahblahblah :NOTNEEDED On the 3rd commented part, you might have an issue because of the way Windows likes to protect things from scripting: Code: ::DEL /Q %MOUNTDIR%\Windows\Branding\Basebrd\en-US\basebrd.dll.mui I have found that DEL simply does not work as intended when dealing with any system folder or subfolder in a script. What you might try instead is moving it first, then deleting it, since the move command doesn't have this issue. Try: Code: move /y %MOUNTDIR%\Windows\Branding\Basebrd\en-US\basebrd.dll.mui c:\temp\ del /q c:\temp\basebrd.dll.mui Later on you also have a commented out part: Code: ::Copy /Y "%~dp0Windows" "%MOUNTDIR%\Windows\Web\Wallpaper" Again, that's the same issue. Copy and Del don't work as intended when dealing with Windows subfolders (and perhaps program files - not sure) What you can do is copy it to a "SAFE" folder and move it again. so instead of the above code, it would look something like this: Code: Copy /Y "%~dp0Windows\" "C:\TEMP\Wallpaper\" move /y "C:\TEMP\Wallpaper\" "%MOUNTDIR%\Windows\Web\Wallpaper\" I'm not entirely sure on the syntax of directory moving, but that might work for you. I'd try that on your own system before working it into a script and going through the whole process.
I use "WsusOffline" to download and install updates. It downloads every update but install only required update, its working similar to WSUS server & windows update service. My question is can I integrate every downloaded update to image even some of them are not required? like kb2919355 which is in bundle around 800MB but required update size is different for different PCs, Like Hyper-V updates only required if hyper-v is installed... Second, Any problem after integrating every available integrable update to Image?
In theory it's not supposed to have problems when you integrate all the different updates, but in practice it sometimes does. You could try integrating them all and testing it to see how it behaves. If you experience problems with certain updates, such as the weird one where non-english versions of fully integrated win8.1 won't update correctly after install. s1ave77 was just mentioning something like that, and I believe if you scroll back like 10 or 20 pages or so, you'll find the exact kb files he had a problem with.
So finally I integrated(offline) maximum applicable updates to image in following order Spoiler windows8.1-kb2862152-x64_c0bb5c6c7f8938c8b0438804c307686b58aeee11.cab windows8.1-kb2868626-x64_6068108a301a8ebb8ba8fa43b61a2b5158d63da2.cab windows8.1-kb2876331-x64_49592a56c2dcb77c9a259c79c5f9888c5d136afe.cab windows8.1-kb2876331-x64_f84e3a6c86e0a9bc4108d8b38d7349d0e0798c79.cab windows8.1-kb2880289-x64_e04d050b5c9263aa3b36ee43072bf65b2997f784.cab windows8.1-kb2884101-x64_5be593e5c189241e2d077129c2f5fc382806a6ef.cab windows8.1-kb2888505-x64_d22a81587f24b0b6263ca949fcb29a493f9eb471.cab windows8.1-kb2892074-x64_65e188cdd6cd24e7f73f6d3acc08dbe462ef80fe.cab windows8.1-kb2893294-x64_b4780f436fe9f09ac211bd765c4bd4f22bbce1b0.cab windows8.1-kb2893984-x64_22bed874f2fcfc2ae1311bf9544657d752b1d743.cab windows8.1-kb2894853-x64_c28f483818a0a1f7421079f2d1419603ec1b4d4a.cab windows8.1-kb2898108-x64_e1915d4fd2c87cf5d7b5811e0a9e72011324b2ab.cab windows8.1-kb2898785-x64_c433f048b941dbfaa453f1802e7936f8955b597a.cab windows8.1-kb2898868-x64_7427273f4ff9bb0282cf2b620635ca013fa01ed6.cab windows8.1-kb2898871-x64_2a0fb5c69041a2028245be0b2de3b86780c41d3f.cab windows8.1-kb2900986-x64_2ad0b1794ae546967e99570158e7b3e03fd96b9e.cab windows8.1-kb2901125-x64_43345c36a843cf34bb84369abe47092caad96f6c.cab windows8.1-kb2901128-x64_012dc947f2c696f8e35bda2f7bc83224c436b75c.cab windows8.1-kb2904266-x64_72f9d068fa95ed79f6e8f1455ee698b151b8637c.cab windows8.1-kb2907997-x64_60b62b2979d443aaf880bd5d2434a6949de0170d.cab windows8.1-kb2909210-x64_26c546efc299b503e1e2b62e1c587b3d48b0e7b2.cab windows8.1-kb2909921-x64_8e0134a0f909bcd18873bbcbdba1eee702627a7d.cab windows8.1-kb2912390-x64_63839ddd9fbb650fcb184941752b0ab9936360b3.cab windows8.1-kb2916036-x64_e25143d29e34079886a25bc5d007bba2811c8d65.cab windows8.1-kb2916626-x64_0ce4585d07038fab913894ca0eddf0f562fb882e.cab windows8.1-kb2918614-x64_1a799f3c6fd01c9d344a27a4a383ddfab4877d02.cab Windows8.1-KB2919442-x64.msu windows8.1-kb2920189-x64_64b7e4ae4b7c83272287e12598088018d86c372a.cab windows8.1-kb2922229-x64_df36a522807f0fb89daf592104ab73eed5ca86a5.cab windows8.1-kb2923392-x64_a452a6ef755ce7145d20cf14f9b1a51c51aeb0db.cab windows8.1-kb2925418-x64_7b47f9d2c2552461b276dd693fdcfaf74ad8e807.cab windows8.1-kb2926765-x64_a2792085a0c3446601bddd6b024eae2cd972e13b.cab windows8.1-kb2928120-x64_855ad0295dbad07b5b8d5f23f902c7a48e620b2c.cab windows8.1-kb2929825-x64_7f5df65e1f166c9ed4ebc2935154c22b465de03c.cab windows8.1-kb2929961-x64_dee7d6c7043d27f89706f6eea643a2a58c4243eb.cab windows8.1-kb2930275-x64_97b1c010995c9c63709571e0d88bf37207b93c3b.cab windows8.1-kb2931358-x64_5b0ddd55c30c3b23608fbf06626c75e26a1d67f3.cab windows8.1-kb2931366-x64_96c50d409f3462cf28290dc7fade16c484beeedf.cab windows8.1-kb2932046-x64_9488604ee580a1fbd27b0460ef65714ad920e22e.cab windows8.1-kb2933826-x64_00a4e8ff93193723788d2b56495e5c79a2ee2ab8.cab windows8.1-kb2934802-x64_76f795b72fb352054c3873b1c5d2014181e7ff76.cab windows8.1-kb2936068-x64_14b9a3dca9fbe92d7142c86dcee60f16d97d0242.cab windows8.1-kb2937592-x64_eb8d2ba8642639247cdbefb9dfef0571dd8dbe9f.cab windows8.1-kb2938439-x64_93c0c79fef6211aac8d625dcf5e27813ce5590bb.cab windows8.1-kb2938527-x64_c75d49c4f956884ea5988ea6488aac1b02dc3325.cab windows8.1-kb2939153-x64_bb3226037086dd041c6f35a7b9db368fae52795c.cab windows8.1-kb2939576-x64_6244c8c0104d88dc1d6e0f96dec064ab76b996e4.cab windows8.1-kb2942844-x64_fbbaae3ca19b60f45b763c126f3444f596c4befa.cab windows8.1-kb2953522-x64_ac6f70ab896b0ab94c82ee28549ff0e65c6ee443.cab windows8.1-kb2957151-x64_c387b5a92e900a57a52b576f8666dc8706aace6d.cab windows8.1-kb2957189-x64_a8a4c62c4e9d208efe45b85ed24fca88df487279.cab windows8.1-kb2957689-x64_d28b6dc19b511403bfc7ec07c67daa887e278aca.cab windows8.1-kb2959977-x64_80d1f06c80cc3d7844cfd8727fb5247ebad70991.cab windows8.1-kb2961072-x64_cfebd2157c5a49ce34a8f2b424be2b49a82877af.cab windows8.1-kb2961851-x64_90b23f341b19b5549e1a31fe4004aa3d062c0275.cab windows8.1-kb2961858-x64_66429795c25083b2178f11a5dd7e272c5da45934.cab windows8.1-kb2961887-x64_449574f7f553047e0b0927a4a8691614ce9f3f50.cab windows8.1-kb2961899-x64_680995bae3159ddf94ab0da16509639001cd5222.cab windows8.1-kb2961908-x64_f964bcea4e61e3e631f13a50c350751278835c7d.cab windows8.1-kb2962073-x64_a36861df75b07b596b51910686bd822cd91000d0.cab windows8.1-kb2962123-x64_342cd010750804c2af485a04e800ed52671d8d26.cab windows8.1-kb2962140-x64_4ef2aefb9877fe72c25ed168a4f3b3758ba45717.cab windows8.1-kb2962872-x64_9143e600933e7cab8800ff16b08ea7a169bee3fb.cab windows8.1-kb2963950-x64_719dab0211bd584d25b1046aea3d2664b932a99f.cab windows8.1-kb2963952-x64_d66c9cf091f8cbc9b8be5ab4db30269f6889e2a8.cab windows8.1-kb2964358-x64_8cc8b5d860223ee1fa7d45484c94a97c78ece763.cab windows8.1-kb2964444-x64_394454c590d7e9dc12ea6c076b51d67a22e92ef6.cab windows8.1-kb2964718-x64_a68bf0b5e153973a887331bafa0be635cfab066f.cab windows8.1-kb2964736-x64_9a4468da0247b29de1ec3d2a7d5bed8b7b72a38f.cab windows8.1-kb2964757-x64_a22a2c46b192871f3ce872a45c71d75275145031.cab windows8.1-kb2965155-x64_2f9de82055cd6c93b5e5b01b13f3f259d9005035.cab windows8.1-kb2965161-x64_870d39bda6633b36d28065240c6ec363c5ecaa33.cab windows8.1-kb2965788-x64_f8079784eff9287bb1a2d7b1444ec7170ca32c2f.cab windows8.1-kb2966034-x64_9bc7193d2eb9f85b162695cff263fa76a8e8330b.cab windows8.1-kb2966072-x64_92b10bea2ab655ab0b65961998fe07bbe8703e38.cab windows8.1-kb2966631-x64_2fdf13673336b67035ee5fbf6ff75d4ad45680e3.cab windows8.1-kb2966826-x64_8cac47f186ad0b79c2bf86fac1e6ef0ce64038dd.cab windows8.1-kb2966828-x64_1d75fda184661d15ce90a958c482ed8082dc2f35.cab Windows8.1-KB2969339-x64.msu windows8.1-kb2971850-x64_36f051284c022907e5a4a6fdf1e3532f0f848105.cab windows8.1-kb2972280-x64_7d94d84b05b6e7bac7814c2938e15b0a26ad3ad8.cab windows8.1-kb2973201-x64_4a1624136027c0de72fbc4665cfac94b91dfcd79.cab windows8.1-kb2973351-x64_f833e109ced732bcd012ba269f039325af3662d4.cab windows8.1-kb2973408-x64_af99ab5dfaad33e962197285b55aeb2462be946b.cab windows8.1-kb2973906-x64_951c1b0e21943b6fb6fcfec37f49bfe61115159b.cab windows8.1-kb2973932-x64_cfdef23d65fc94f4303a4ee191d6e4fa8ca1e988.cab windows8.1-kb2974008-x64_63956992aa25075f441fa173e0c5c18e49a475e5.cab windows8.1-kb2974286-x64_f87cb336612235df975473ead858951959be84cc.cab windows8.1-kb2975625-x64_224260ae305d4356695431f8b2d58cd287c67d5c.cab windows8.1-kb2976627-x64_fe1451e4f26c6f34b87f25e6016e85bf586b5b4e.cab windows8.1-kb2976897-x64_2fe12cec23b5092d7dc2156cb1ba55aaf6133ce8.cab windows8.1-kb2978668-x64_46b80e66165bcccaf1750340978fdcf3220e6f47.cab windows8.1-kb2978742-x64_e77c402103396827140c1b7529a99c5de2b06919.cab windows8.1-kb2981580-x64_94b84c9e4c3a9cfbcb1a682a2a59c43ccf4de3c1.cab windows8.1-kb2982791-x64_2799a0410f777c2d3d170f13bb1fb11f11671f04.cab windows8.1-kb2982794-x64_e5a0dcf3fb63046f3e7cf727ab53802117d55055.cab windows8.1-kb2993651-x64_3c9471da64cc67c86777d1570111d764b0125e4f.cab Windows8.1-KB2894852-x64.msu Windows8.1-KB2898850-x64.msu Windows8.1-KB2899189-x64.msu Windows8.1-KB2936111-x64.msu Windows8.1-KB2938772-x64.cab Windows8.1-KB2950153-x64.msu Windows8.1-KB2953205-x64.msu Windows8.1-KB2953212-x64.msu Windows8.1-KB2954879-v2-x64.msu Windows8.1-KB2955631-x64.msu Windows8.1-KB2956575-x64.msu Windows8.1-KB2958262-x64.msu Windows8.1-KB2959626-v2-x64.msu Windows8.1-KB2964439-x64.msu Windows8.1-KB2965142-x64.msu Windows8.1-KB2966407-x64.msu Windows8.1-KB2966804-x64.msu Windows8.1-KB2966870-x64.msu Windows8.1-KB2967917-x64.msu Windows8.1-KB2968599-x64.msu Windows8.1-KB2969817-x64.msu Windows8.1-KB2971203-x64.msu Windows8.1-KB2971239-x64.msu Windows8.1-KB2972094-x64.msu Windows8.1-KB2973448-x64.msu Windows8.1-KB2973940-x64.msu Windows8.1-KB2975061-x64.msu Windows8.1-KB2978002-x64.msu Windows8.1-KB2978137-x64.msu Windows8.1-KB2979265-x64.msu Windows8.1-KB2979500-x64.msu Windows8.1-KB2981655-x64.msu Windows8.1-KB2982439-x64.msu Windows8.1-KB2990532-x64.msu Windows8.1-KB2990833-x64.msu Windows8.1-KB2991509-x64.msu Then I run dism /image:c:\mount /cleanup-image /startcomponentcleanup /resetbase Then I again integrated remaining three updates b'coz /cleanup-image command not working after integrating these and size of WIM was very large. So I decided to integrate these later. kb2934018 Windows8.1-KB2955164-x64.msu Windows8.1-KB2962409-x64 I tested both images & windows update is working fine after install... So, is this method correct? as some mentioned that inject updates in sequence specially cumulative update....
Actually, you want to integrate things in the following order: 1 - Servicing Stack update (KB2975061 currently in the case of 8.1, offline win7 servicing stack update is not possible for kb2533552) 2 - Any Feature modifications such as enabling or disabling features (netfx3 is what people typically use here if any) 3 - Add any language pack (note that this should not be done lightly as it will significantly increase the footprint of the final install and any subsequent updates) 4 - Add the 'with update' companion files that weren't included in the iso (KB2959977, and KB2934018) 5 - Add the rest of the updates, in any order 6 - Make any final file transfers, reg mods, or any other things you are going to do and commit your image You generally will not be able to use a /resetbase command anywhere during integration. The problem with it, as it currently stands, is that any pending updates will prevent the process from happening. Literally the only exception for this is the winpe 5.1 images that have the "with update" kb2919355 integrated. I wish they would extend this processing to the install.wim, but they haven't. Also regarding your cumulative update idea. I'm not sure how you intended that question, but you have to create a new image each month or the superseded updates will really balloon your image quickly. They will also really slow down your setup process.
Heya guys, anyone knows if there is a way to delete a windows's user from a captured install.wim? thank you!
I don't believe so. Try re-installing, going audit-mode to remove user, and re-sysprep/capture. In older Windows versions I think it was as simple as deleting registry keys and user folders, but in Win8.x they doubled the amount of user data floating around. Now there are 'roaming' sections of the registry. I really don't know, though. That's just my opinion on the best way to handle it. You could probably research and figure out exactly how to remove a user. I just don't know if it's a good idea to try to reg mod them out. The audit-delete mode is the only official method to doing this AFAIK.
changed the advanced topics to reflect the incorrect assumptions about install.esd files and errors during install. Also, added the link to the split-wim post I made explaining how to get large images working on a fat32-formatted UFD.
Interesting read. It explains to me why ages ago I had problems with newer builds yet my old build (fluke) worked...
Murphy78 can you please post the change in kb files of recent two months (august and September) "Windows 7 SP1 AIO 24in1 x64" ,so that it will be easier to integrate files on my own.every two or three months i have to thoroughly check the log file of yours and make the change.its very frustrating.
I don't keep track of what comes and goes from month to month, sorry. You could try editing the files so that they line up vertically and compare them that way. I tend to put 6 updates per line to fit in the 80 char horizontal limit of TPB.
murphy in "Windows 7 SP1 AIO 24in1 x64" august this "KB2965788" occured twice,and in sept "Windows 7 SP1 AIO 24in1 x64" these two(KB2993651,KB2965788) occcured twice. why!