get paid to paste

20140910_Implement_Windows_7_Ultimate_SP1_x86_Updates_Using_DiSM_Win8.1_update-1

© 2007 home7ech
 ____________________________________________________________________
 
 LAST MODiFiED TiME/DATE: 8:07 PM 9/15/2014
 == Working Machine Description: ==============================================
 == • Processor : Athlon II X4 630 2.8 GHz ====================================
 == • Mainboard : BIOSTAR TA 785G3-HD =========================================
 == • Monitor   : ACER X163W (16") ============================================
 == • Memory    : 2 GB Elixir PC1066 DDR3 (1,75 gb Usable) ====================
 == • HardDisk  : WDC WD5000AKS-00UU3A0 (500 GB) ==============================
 == Operating Systems: ========================================================
 == • Windows 8.1 Professional Volume with Update 1 WRD8.1 LiTE ===============
 == • Windows 7 Ultimate SP1 (x86) Updated June 10, 2014 RT7Lite WRD8.1 LiTE ==
 ==============================================================================  
 .. Original Windows 7 Ultimate with SP1 (Retail English x86) .................
 .. • DVD LABEL: GRMCULFRER_EN_SP1-DVD ........................................
 .. • iSO LABEL: GRMCULFRER_EN_SP1-DVD.iso ....................................
 .. • iSO SiZE: 2,563,039,232 byte (2.38 GB) ..................................
 .. • BUiLD: 7601.17514.101119-1850 ...........................................
 .. • CRC32: C2966895 .........................................................
 .. • MD5: 24F3A45D43D7C532AA3126CC094C61BD ...................................
 .. • SHA-1: 92C1ADA4FF09C76EC2F1974940624CAB7F822F62 .........................
 ..............................................................................
 .. Product Key for Windows 7 (RTM) -=> NOT NEEDED ............................
 ..............................................................................
 .. RESOLVED: .................................................................
 .. • There is a simple way to Merge Windows 7 & Windows 8 Installation ???
 .. 
 .. • Merge Windows 7 & 8 Install
 .. http://forums.mydigitallife.info/threads/40000-Merge-Windows-7-amp-8-Install?s=90d7b7d0ed6beee1308fa7029d5ca20e
 .. #VelleX, 20 Nov 2012, 20:18
 .. I used Windows 8 ISO and applied the Windows 7 Images to the WIM, and installation was fine.
 .. But you maybe wont be able to repair a Windows 7 installation with that disc.
 .. 
 .. #VelleX, 20 Nov 2012, 21:05
 .. As i wrote i applied the Images inside the Windows 7 install.wim to the Windows 8 install.wim.
 .. I also added the x64 editions of Windows 8 and Windows 7 to this install.wim.
 .. Also i added a file "ei.cfg" to the sources folder with this content, so i can choose which edition to install, and also do not have to enter a serial
 .. Code:
 .. [Channel]
 .. Retail
 .. 
 .. [VL]
 .. 0
 .. 
 ..............................................................................
 .. CONCLUSiONS: ..............................................................
 ... 
 ... 9:21 PM 9/11/2014: 
 ...
 ..............................................................................
 ... KNOWN BUG (SOLVED) .......................................................
 ... 
 ... Implementation Windows 7 SP1 (x86) Updates (WUD) 2010.10.10 [SOLVED]
 ... Removing "Accessories - Windows Mail: » "Send to Desktop missing shortcut Bugs Fixed"
 ... 
 ..............................................................................
 ... KNOWN BUG (NOT RESOLVED YET) .............................................
 ... 
 ... Removing "Drivers - Support - Modem" : Cleanup Improvements: » "Smartfren AC692 Ui Bugs [?]"
 ... Removing "Drivers - Support - Modem" : Cleanup Improvements: » "TianYu_CDMA_Modem Bugs [?]"
 ... Mobility Center and Sticky Notes missing shortcut Bugs [?]"
 ...
 ... WinReducer 7.0 - v3.00 (RC3) (24 August 2014) : According Changelog (KNOWN BUGS)
 ... "Accessories - Help and Support" and "Languages" : Seems to break languages installation
 ... "Services - Fax Service" : Didn't remove properly
 ... "Services - Internet Connection Sharing (ICS)" : Didn't remove if you integrate Updates
 ... "Services - Printer Support Services" : Didn't remove properly
 ... Some Windows Updates are broken after reducing Windows 7 using WinReducer 7.0 - v3.0 (old known bug, also happened with RT7-Lite)
 ... 
 ... 
 ..............................................................................
 ... TiTLE CREATiNG WWindows 7 Ultimate SP1 iSO iMAGE WiTH OSCDiMG 2.56 .......
 ... 
 ... REM  ++++++++++++++++++++++++++++++++++++++++++++++++++++
 ... REM  +++ CREATiNG WiNDOWS 7 SP1 32-BiT iSO iMAGE      +++
 ... REM  +++ WiTH OSCDiMG 2.56 CD/DVD-ROM Premastering    +++
 ... REM  ++++++++++++++++++++++++++++++++++++++++++++++++++++
 ... SET WiN_DiR=D:\Projects\DEVELOPiNG.DiR\WiNDOWS\WiN8LiTE
 ...  SET WiN_NAME=ExtractedByWinReducer
 ...  SET iSO_LABEL=GRMCULFRER_EN_SP1-DVD
 ...  SET iSO_NAME=#.iso
 ...  SET DATESTAMP=TiME/DATE
 ...  SET TiMEDATE=MM/DD/YYYY,0h:mm:ss
 ...  SET CMD_DiR=D:\Projects\DEVELOPiNG.DiR\CMDTOOLS
 ...  "%CMD_DiR%\WinUniX\OSCDiMG.exe" -b"%WiN_DiR%\%WiN_NAME%\boot\etfsboot.com" -l"%iSO_LABEL%" -t%TiMEDATE% -m -h -u1 -o "%WiN_DiR%\%WiN_NAME%" "%WiN_DiR%\iSO\%DATESTAMP%_%iSO_NAME%" 
 ... 
 ..............................................................................
 ... 
 • BEFORE: ORiGiNAL iSO iMAGE
   ##: 2.40 GB (2,580,946,760 bytes), 877 Files, 200 Folders
   ##:  138 MB (  144,734,333 bytes) [#_Original_boot.wim]
   ##: 2.09 GB (2,247,580,674 bytes) [#_Original_install.wim]
   ##: 2.38 GB (2,563,039,232 bytes) [#_Original.iso]
   ... 
 • BEFORE: MODiFiED iSO iMAGE
   ##: 2.27 GB (2,445,011,399 bytes), 877 Files, 200 Folders
   ##:  129 MB (  136,284,209 bytes) [#_Modified_Original_boot.wim]
   ##: 1.97 GB (2,120,095,437 bytes) [#_Modified_Original_install.wim]
   ##: N/A [#_Modified_Original.iso]
 ... 
 • AFTER: MODiFiED iMAGE
   ##: # [#_Modified_Original_install.wim]
   #3: 2.13 GB (2,289,602,313 bytes) [en_windows_7_ultimate_with_sp1_x86_dvd_619077_Updates_2013.10_DiSM_exported_#3_install.wim]
   #2: 2.13 GB (2,288,204,583 bytes) [en_windows_7_ultimate_with_sp1_x86_dvd_619077_Updates_2013.10_DiSM_exported_#2_install.wim]
   #1: 2.13 GB (2,294,953,849 bytes) [en_windows_7_ultimate_with_sp1_x86_dvd_619077_Updates_2013.10_DiSM_exported_#1_install.wim]
 ... 
 ..............................................................................
 ... 
 ==============================================================================
 == Implement Windows Updates Downloader [WUD November 10, 2013] ==============
 == pLUS Slimmingdown Windows.7.Ultimate.SP1.WUD.20131010.x86 =================
 == FiNAL RESULTS AT 8:45 PM 9/11/2014 ========================================
 == Windows Updates Downloader (WUD) | Update Lists (ULs) 2013-10-10 ==========
 == 142 Files, 203 MB (213,561,710 bytes) OPTiON #3 ===========================
 == Security [77 Files, 73.5 MB (77,105,189 bytes) ============================
 == Non-Security Updates (65 Files, 130 MB (136,456,521 bytes) ================
 == 143 Files, 207 MB (217,828,509 bytes) OPTiON #1 & OPTiON #2 ===============
 == Implement with WinReducer 7.0 - v3.00 (RC3) - (24 July 2014) ==============
 ==============================================================================
 ...
 ... 
 #3: 2.43 GB (2,613,120,545 bytes), 877 Files, 200 Folders [#]
 #3:  129 MB (  136,284,209 bytes) [#_boot.wim]
 ... OPTiON #3 ...
 #3: 2.13 GB (2,289,602,313 bytes) [#_after_DiSM_exported_install.wim]
 #3: 2.41 GB (2,595,924,752 bytes) [#_before_DiSM_exported_install.wim]
 Elapsed Time: 1+1+16+3+2 ---> ± 23 MiN
... OPTiON #2 ...
 #2: 2.13 GB (2,288,204,583 bytes) [#_after_DiSM_exported_install.wim]
 #2: 2.29 GB (2,467,020,523 bytes) [#_before_DiSM_exported_install.wim]
 Elapsed Time: 2+2+16+3+2 ---> ± 25 MiN
 ... OPTiON #1 ...
 #1B: 2.13 GB (2,295,747,365 bytes) [#_after_DiSM_exported_install.wim] * Unmount ERROR: 0xc1420117
 #1B: 2.42 GB (2,602,069,824 bytes) [#_before_DiSM_exported_install.wim] * Unmount ERROR: 0xc1420117
 #1A: 2.13 GB (2,294,953,849 bytes) [#_after_DiSM_exported_install.wim]
 #1A: 2.42 GB (2,601,276,308 bytes) [#_before_DiSM_exported_install.wim]
 Elapsed Time: 2+2+23+5+4 ---> ± 36 MiN
 ...
 ... Screenshot Captor can be found at 
 ... "https://sites.google.com/site/h7projects/home/winreducer/winreducer7/scrshots"
 ...
 oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
 oo OPTiON #3 ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
 oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
 ...
 ##: RESULT:
 ##: "install.wim" size more bigger than previous "OPTiONS"
 ##: Updates completed successfully without Error.
 ##: Windows6.1-KB2533552-x86.msu (NOT iNCLUDED)
 ...
 ##: 2.43 GB (2,614,518,275 bytes), 877 Files, 200 Folders [#]
 ##:  129 MB (  136,284,209 bytes) [#_boot.wim]
 ##: 2.13 GB (2,289,602,313 bytes) [#_after_DiSM_exported_install.wim]
 ##: 2.41 GB (2,595,924,752 bytes) [#_before_DiSM_exported_install.wim]
 ...
 Elapsed Time: 1+1+16+3+2 ---> ± 23 MiN [#h #mn]
 ...
 ... 
 ===> OPTiMiZE [EXPORT] <===
 # ---> # [± # MiN] [VERiFiCATiON]
 4:54 PM 9/11/2014 ---> 4:56 PM 9/11/2014 [± 2 MiN] [VERiFiED successfully]
 2:45 PM 9/11/2014 ---> 2:47 PM 9/11/2014 [± 2 MiN] [VERiFiED successfully]
 ... 

@echo off
cls

TiTLE Optimize Modified Windows 7 Ultimate SP1 Image Using DiSM Manually !
SET WORKDiR=D:\Projects\DEVELOPiNG.DiR\WiNDOWS\WiN7LiTE
SET WR7DiR=%WORKDiR%\ExtractedByWinReducer
SET WiMFiLE=%WR7DiR%\sources\install.wim
SET NEWFiLE=%WR7DiR%\sources\DiSM_exported_install.wim

REM Optimize Modified Windows Image by Exporting to NEW Image, please wait ...
DiSM /Export-Image /SourceImageFile:"%WiMFiLE%" /SourceIndex:5 /DestinationImageFile:"%NEWFiLE%" /Compress:max /CheckIntegrity

REM Deleting OLD WiMFiLE and Renaming Optimize NEW WiMFiLE !
DEL /F /Q %WiMFiLE%"
REN "%NEWFiLE%" "install.wim"

REM Cleaningup "DiSM.log" file !
DEL /F /Q "%WiNDiR%\Logs\DiSM\dism.log" > NUL

 ...
 ===> UNMOUNT & SAVE [COMMiT] <===
 # ---> # [± # MiN] [VERiFiCATiON]
 4:40 PM 9/11/2014 ---> 4:43 PM 9/11/2014 [± 3 MiN] [VERiFiED Successfully]
 2:31 PM 9/11/2014 ---> 2:34 PM 9/11/2014 [± 3 MiN] [VERiFiED Successfully]
 ...

@echo off
cls

TiTLE Unmount and Commit Windows 7 Ultimate SP1 Image Using DiSM Manually !
DiSM  /Unmount-Image /MountDir:"%MOUNTDiR%" /Commit /CheckIntegrity

TiTLE Cleaning up all Mounted WiM image !
DiSM /Cleanup-Mountpoints

 ...
 ===> APPLY [Implement Windows Updates Downloader (WUD) 2014.10.10] <===
 # ---> # [± # MiN]
 4:11 PM 9/11/2014 ---> 4:27 PM 9/11/2014 [± 16 MiN] [VERiFiED successfully (without Error)]
 2:06 PM 9/11/2014 ---> 2:22 PM 9/11/2014 [± 16 MiN] [VERiFiED with Error: 0x800f082e]
 ...

@echo off
cls

TiTLE Implement Windows 7 Ultimate SP1 Updates Using DiSM Manually !
SET MOUNTDiR=D:\Temp\MOUNTDiR\DiSM\iNSTALL.WiM
SET WUDDiR=D:\Projects\DEVELOPiNG.DiR\WiNDOWS\[WUD]\[windows-7-sp1-x86]\[2013-10-10]

REM Adds packages to the Windows 7 Ultimate SP1 Image, please wait ...
DiSM  /image:"%MOUNTDiR%" /Add-Package /PackagePath:"%WUDDiR%"

REM Copying "Current DiSM log file" for further analyzed (OPTiONAL) !
SET LOGDiR=%WORKDiR%\[LogFiles]\[Updates]
SET LOGNAME=Implement Windows 7 Ultimate SP1 x86 Updates [2013.10] Manually
SET LOGFiLE=%LOGDiR%\%LOGNAME%
COPY /Y "%WiNDiR%\Logs\DiSM\dism.log" "%LOGFiLE%_successfully_(142).dism.log"

REM Delete Windows 7 Ultimate SP1 WinRE.wim File (OPTiONAL), please wait ...
REM FileSize 138 MB (145,287,084 bytes) ...
ATTRiB -R -A -S -H "%MOUNTDiR%\Windows\System32\Recovery\winRE.wim"
DEL /F /Q "%MOUNTDiR%\Windows\System32\Recovery\winRE.wim"

TiTLE Generated iMPORTANT Information From a WiM or VHD File (OPTiONAL) !
SET LOGSNAME=en_windows_7_ultimate_with_sp1_x86_updates_201310_(142)
SET LOGSDiR=%WORKDiR%\[LogFiles]\[Updates]\%LOGSNAME%

MD "%LOGSDiR%"

REM Generating information CODE SAME AS PREViOUS ...

 ...
 ===> MOUNT <===
 # ---> # [± # MiN]
 4:06 PM 9/11/2014 ---> 4:07 PM 9/11/2014 [± 1 MiN] [VERiFiED]
 ... 

@echo off
cls

TiTLE Mount and Modify Windows 7 Ultimate SP1 Image Using DiSM Manually !
SET WORKDiR=D:\Projects\DEVELOPiNG.DiR\WiNDOWS\WiN7LiTE
SET WR7DiR=%WORKDiR%\ExtractedByWinReducer

SET WiMFiLE=%WR7DiR%\sources\install.wim
SET MOUNTDiR=D:\Temp\MOUNTDiR\DiSM\iNSTALL.WiM

REM Mount and Modify Windows 7 Ultimate SP1 Image, please wait ...
DiSM /Mount-Image /ImageFile:"%WiMFiLE%" /Index:5 /MountDir:"%MOUNTDiR%"

TiTLE Generated iMPORTANT Information From a WiM or VHD File (SKiPPED) !
REM Allready Generating information In "OPTiONS #2] ...

 ...
 ===> PREPARATiON [COPYiNG FROM ORiGiNAL & BACKUP] <===
 # ---> # [± # MiN]
 4:00 PM 9/11/2014 ---> 4:01 PM 9/11/2014 [± 1 MiN]
 [Modified (export) en_windows_7_ultimate_with_sp1_x86_dvd_619077 boot.wim]
 [Original en_windows_7_ultimate_with_sp1_x86_dvd_619077 install.wim]
 ... 

@echo off
cls

TiTLE Preparation for SlimmingDown Windows 7 Ultimate SP1 Manually !
SET WORKDiR=D:\Projects\DEVELOPiNG.DiR\WiNDOWS\WiN7LiTE
SET WR7DiR=%WORKDiR%\ExtractedByWinReducer

REM Mount (.iso with eg, iSOToolkit) or insert Windows 7 Setup DVD
SET WiMDiR=J:\sources

REM Copying "boot.wim" and "install.wim" file from Backup !
COPY /Y "%WiMDiR%\install.wim" "%WR7DiR%\sources\install.wim"

 ...
 oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
 oo OPTiON #2 ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
 oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
 ...
 ##: RESULT:
 ##: "install.wim" size more bigger than "OPTiON #1"
 ##: Updates completed with Error: 0x800f082e
 ##: Windows6.1-KB2533552-x86.msu may have failed due pending updates to servicing components in the image.
 ...
 ##: 2.43 GB (2,613,120,545 bytes), 877 Files, 200 Folders [#]
 ##:  129 MB (  136,284,209 bytes) [#_boot.wim]
 #2: 2.13 GB (2,288,204,583 bytes) [#_after_DiSM_exported_install.wim]
 #2: 2.29 GB (2,467,020,523 bytes) [#_before_DiSM_exported_install.wim]
 ...
 Elapsed Time: 2+2+16+3+2 ---> ± 25 MiN [#h #mn]
 ... 
 ===> OPTiMiZE [EXPORT] <===
 2:45 PM 9/11/2014 ---> 2:47 PM 9/11/2014 [± 2 MiN] [VERiFiED]
 ... 

@echo off
cls

TiTLE Optimize Modified Windows 7 Ultimate SP1 Image Using DiSM Manually !
SET WORKDiR=D:\Projects\DEVELOPiNG.DiR\WiNDOWS\WiN7LiTE
SET WR7DiR=%WORKDiR%\ExtractedByWinReducer
SET FiLENAME=install.wim
SET iNDEX=1
SET WiMFiLE=%WR7DiR%\sources\%FiLENAME%
SET NEWFiLE=%WR7DiR%\sources\DiSM_exported_%FiLENAME%

REM Optimize Modified Windows Image by Exporting to NEW Image, please wait ...
DiSM /Export-Image /SourceImageFile:"%WiMFiLE%" /SourceIndex:%iNDEX% /DestinationImageFile:"%NEWFiLE%" /Compress:max /CheckIntegrity

REM Deleting OLD WiMFiLE and Renaming Optimize NEW WiMFiLE !
DEL /F /Q %WiMFiLE%"
REN "%NEWFiLE%" "%FiLENAME%"

REM Cleaningup "DiSM.log" file !
DEL /F /Q "%WiNDiR%\Logs\DiSM\dism.log" > NUL

 ...
 ===> UNMOUNT & SAVE [COMMiT] <===
 2:31 PM 9/11/2014 ---> 2:34 PM 9/11/2014 [± 3 MiN] [VERiFiED Successfully]

@echo off
cls

TiTLE Unmount and Commit Windows 7 Ultimate SP1 Image Using DiSM Manually !
DiSM  /Unmount-Image /MountDir:"%MOUNTDiR%" /Commit /CheckIntegrity

TiTLE Cleaning up all Mounted WiM image !
DiSM /Cleanup-Mountpoints

 ...
 ===> APPLY [Implement Windows Updates Downloader (WUD) 2014.10.10] <===
 2:06 PM 9/11/2014 ---> 2:22 PM 9/11/2014 [± 16 MiN] [VERiFiED with Error: 0x800f082e]
 ...
 
@echo off
cls

TiTLE Implement Windows 7 Ultimate SP1 Updates Using DiSM Manually !
SET WORKDiR=D:\Projects\DEVELOPiNG.DiR\WiNDOWS\WiN7LiTE
SET MOUNTDiR=D:\Temp\MOUNTDiR\DiSM\iNSTALL.WiM
SET WUDDiR=D:\Projects\DEVELOPiNG.DiR\WiNDOWS\[WUD]\[windows-7-sp1-x86]\[2013-10-10]

REM Adds packages to the Windows 7 Ultimate SP1 Image, please wait ...
DiSM  /image:"%MOUNTDiR%" /Add-Package /PackagePath:"%WUDDiR%"

REM Copying "Current DiSM log file" for further analyzed (OPTiONAL) !
SET LOGDiR=%WORKDiR%\[LogFiles]\[Updates]
SET LOGNAME=Implement Windows 7 Ultimate SP1 x86 Updates [2013.10] Manually
SET LOGFiLE=%LOGDiR%\%LOGNAME%
COPY /Y "%WiNDiR%\Logs\DiSM\dism.log" "%LOGFiLE%.dism.log"

REM Delete Windows 7 Ultimate SP1 WinRE.wim File (OPTiONAL), please wait ...
REM FileSize 138 MB (145,287,084 bytes) ...
ATTRiB -R -A -S -H "%MOUNTDiR%\Windows\System32\Recovery\winRE.wim"
DEL /F /Q "%MOUNTDiR%\Windows\System32\Recovery\winRE.wim"

TiTLE Generated iMPORTANT Information From a WiM or VHD File (OPTiONAL) !
SET LOGSNAME=en_windows_7_ultimate_with_sp1_x86_updates_201310
SET LOGSDiR=%WORKDiR%\[LogFiles]\[Updates]\%LOGSNAME%

MD "%LOGSDiR%"

REM Generating information CODE SAME AS PREViOUS ...

 ...
 ===> MOUNT <===
 1:59 PM 9/11/2014 ---> 2:00 PM 9/11/2014 [± 1 MiN]
 1:32 PM 9/11/2014 ---> 1:34 PM 9/11/2014 [± 2 MiN]
 ... 

@echo off
cls

REM Deleting "Current DiSM log file" !
DEL /F /Q "%WiNDiR%\Logs\DiSM\dism.log" > NUL

TiTLE Mount and Modify Windows 7 Ultimate SP1 Image Using DiSM Manually !
SET WORKDiR=D:\Projects\DEVELOPiNG.DiR\WiNDOWS\WiN7LiTE
SET WR7DiR=%WORKDiR%\ExtractedByWinReducer
SET FiLENAME=install.wim
SET iNDEX=1
SET WiMFiLE=%WR7DiR%\sources\%FiLENAME%
SET MOUNTDiR=D:\Temp\MOUNTDiR\DiSM\iNSTALL.WiM

REM Mount and Modify Windows 7 Ultimate SP1 Image, please wait ...
DiSM /Mount-Image /ImageFile:"%WiMFiLE%" /Index:%iNDEX% /MountDir:"%MOUNTDiR%"

TiTLE Generated iMPORTANT Information From a WiM or VHD File (OPTiONAL) !
SET LOGSNAME=en_windows_7_ultimate_with_sp1_x86_dvd_619077
SET LOGSDiR=%WORKDiR%\[LogFiles]\[Updates]\%LOGSNAME%

MD "%LOGSDiR%"

REM Generating information about mounted WiM and VHD !
DiSM /Get-Mountedimageinfo > "%LOGSDiR%\#_Mounted_image_Lists.txt"

REM Generating information about drivers found in the offline image !
DiSM /image:"%MOUNTDiR%" /Get-Drivers /all > "%LOGSDiR%\#_Drivers_Lists.txt"
DiSM /image:"%MOUNTDiR%" /Get-Drivers /all /Format:Table > "%LOGSDiR%\#_Drivers_Table.txt"

REM Generating information about all features found in the offline image !
DiSM /image:"%MOUNTDiR%" /Get-Features > "%LOGSDiR%\#_Features_Lists.txt"
DiSM /image:"%MOUNTDiR%" /Get-Features /Format:Table > "%LOGSDiR%\#_Features_Table .txt"
DiSM /image:"%MOUNTDiR%" /Get-Features /Format:List > "%LOGSDiR%\#_Features_List.txt"

REM Generating information about all packages found in the offline image !
DiSM /image:"%MOUNTDiR%" /Get-Packages > "%LOGSDiR%\#_Packages_Lists.txt"

REM Generating information about all MSI applications in the offline image !
DiSM /image:"%MOUNTDiR%" /Get-Apps > "%LOGSDiR%\#_Apps_Lists.txt"

REM Generating information about all applied MSP patches for all applications installed on the offline image !
DiSM /image:"%MOUNTDiR%" /Get-AppPatches > "%LOGSDiR%\#_AppPatches_Lists.txt"

 ...
 ===> PREPARATiON [COPYiNG FROM BACKUP] <===
 1:53 PM 9/11/2014 ---> 1:55 PM 9/11/2014 [± 2 MiN]
 1:28 PM 9/11/2014 ---> 1:30 PM 9/11/2014 [± 2 MiN]
 [Modified (export) en_windows_7_ultimate_with_sp1_x86_dvd_619077 install.wim]
 ... 

@echo off
cls

TiTLE Preparation for SlimmingDown Windows 7 Ultimate SP1 Manually !
SET WORKDiR=D:\Projects\DEVELOPiNG.DiR\WiNDOWS\WiN7LiTE
SET WR7DiR=%WORKDiR%\ExtractedByWinReducer
SET BAKCUPDiR=%WORKDiR%\WiMs\[UNTOUCH]
SET BOOTWiM=Microsoft Windows Setup (x86)_boot.wim
SET iNSTALLWiM=Windows 7 ULTIMATE_install.wim

REM Copying "boot.wim" and "install.wim" file from Backup !
COPY /Y "%BAKCUPDiR%\%BOOTWiM%" "%WR7DiR%\sources\boot.wim"
COPY /Y "%BAKCUPDiR%\%iNSTALLWiM%" "%WR7DiR%\sources\install.wim"

 ... SKiPPED ...
TiTLE Preparation for SlimmingDown Windows 7 Ultimate SP1 Manually !
SET WORKDiR=D:\Projects\DEVELOPiNG.DiR\WiNDOWS\WiN7LiTE
SET WR7DiR=%WORKDiR%\ExtractedByWinReducer
SET iSODiR=E:\Backup\iSO\OS\WiNDOWS\WiN_7-2008R2\With SP1 Final
SET FiLENAME=en_windows_7_ultimate_with_sp1_x86_dvd_619077.iso
SET CMDDiR=D:\Projects\DEVELOPiNG.DiR\CMDTOOLS
SET SRCDiR=%iSODiR%\GRMCULFRER_EN_SP1-DVD\%FiLENAME%
REM SET LOGDiR=%WORKDiR%\[LogFiles]\[Updates]

REM Generating List contents of "%FiLENAME%" !
REM SET LOGFiLE=%LOGDiR%\%FiLENAME%.filelist.txt
REM "%CMDDiR%\WinUniX\7z.exe" l "%SRCDiR%" > "%LOGFiLE%"

REM Extracts Windows 7 setup files except "boot.wim" and "install.wim" !
REM SET LOGFiLE=%LOGDiR%\%FiLENAME%.extract.log.txt
"%CMDDiR%\WinUniX\7z.exe" x -xr!*.wim -o"%WR7DiR%" -y "%SRCDiR%" > NUL

REM Mount (.iso with eg, iSOToolkit) or insert Windows 7 Setup DVD
SET WiMDiR=J:\sources

REM Export "Microsoft Windows Setup (x86)" in "boot.wim" Image Using DiSM !
DiSM /Export-Image /SourceImageFile:"%WiMDiR%\boot.wim" /SourceIndex:2 /DestinationImageFile:"%WR7DiR%\sources\boot.wim" /Compress:max /CheckIntegrity

REM Export "Windows 7 ULTIMATE" in "install.wim" Image Using DiSM !
DiSM /Export-Image /SourceImageFile:"%WiMDiR%\install.wim" /SourceIndex:5 /DestinationImageFile:"%WR7DiR%\sources\install.wim" /Compress:max /CheckIntegrity

REM Copying "boot.wim" and "install.wim" file for Backup (OPTiONAL) !
SET BAKCUPDiR=%WORKDiR%\WiMs\[UNTOUCH]
COPY /Y "%WR7DiR%\sources\boot.wim" "%BAKCUPDiR%\Microsoft Windows Setup (x86)_boot.wim"
COPY /Y "%WR7DiR%\sources\install.wim" "%BAKCUPDiR%\Windows 7 ULTIMATE_install.wim"

 ...
 oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
 oo OPTiON #1 ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
 oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
 ...
 ##: RESULT:
 ##: "Unmount ERROR: 0xc1420117"
 ##: Updates completed with Error: 0x800f082e
 ##: Windows6.1-KB2533552-x86.msu may have failed due pending updates to servicing components in the image.
 ...
 #2: 2.44 GB (2,628,319,935 bytes), 877 Files, 200 Folders [#]
 #2:  138 MB (  144,734,333 bytes) [#_boot.wim]
 #2: 2.13 GB (2,295,747,365 bytes) [#_after_DiSM_exported_install.wim] * Unmount ERROR: 0xc1420117
 #2: 2.42 GB (2,602,069,824 bytes) [#_before_DiSM_exported_install.wim] * Unmount ERROR: 0xc1420117
 ...
 #1: 2.13 GB (2,294,953,849 bytes) [#_after_DiSM_exported_install.wim]
 #1: 2.42 GB (2,601,276,308 bytes) [#_before_DiSM_exported_install.wim]
 ...
 Elapsed Time: 2+2+23+5+4 ---> ± 36 MiN [#h #mn]
 ... 
 oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
 ...
 ===> OPTiMiZE [EXPORT] <===
 4:56 PM 9/10/2014 ---> 5:00 PM 9/10/2014 [± 4 MiN] [VERiFiCATiON]
 3:06 PM 9/10/2014 ---> 3:10 PM 9/10/2014 [± 4 MiN]
 ... 

@echo off
cls
TiTLE Optimize Modified Windows 7 Ultimate SP1 Image Using DiSM Manually !
SET WORKDiR=D:\Projects\DEVELOPiNG.DiR\WiNDOWS\WiN7LiTE
SET WR7DiR=%WORKDiR%\ExtractedByWinReducer\sources
SET FiLENAME=install.wim
SET NEWNAME=DiSM_exported_%FiLENAME%
SET iNDEX=5

REM Optimize Modified Windows Image by Exporting to NEW Image, please wait ...
DiSM /Export-Image /SourceImageFile:"%WR7DiR%\%FiLENAME%" /SourceIndex:%iNDEX% /DestinationImageFile:"%WR7DiR%\%NEWNAME%" /Compress:max /CheckIntegrity

REM Deleting OLD WiMFiLE and Renaming Optimize NEW WiMFiLE !
DEL /F /Q "%WR7DiR%\%FiLENAME%"
REN "%WR7DiR%\%NEWNAME%" "%FiLENAME%"

REM Cleaningup "DiSM.log" file !
DEL /F /Q "%WiNDiR%\Logs\DiSM\dism.log" > NUL

 ...
 ===> UNMOUNT & SAVE [COMMiT] <===
 2:44 PM 9/10/2014 ---> 2:49 PM 9/10/2014 [± 5 MiN]
 ... 

Error: 0xc1420117. The directory could not be completely unmounted.
This is usually due to applications that still have files opened within the mount directory.
Close these files and unmount again to complete the unmount process.

@echo off
cls

TiTLE Unmount and Commit Windows 7 Ultimate SP1 Image Using DiSM Manually !
DiSM  /Unmount-Image /MountDir:"%MOUNTDiR%" /Commit /CheckIntegrity

TiTLE Cleaning up all Mounted WiM image !
DiSM /Cleanup-Mountpoints

 ...
 ===> APPLY [Implement Windows Updates Downloader (WUD) 2014.10.10] <===
 3:45 PM 9/10/2014 ---> 4:08 PM 9/10/2014 [± 23 MiN] [VERiFiCATiON]
 2:10 PM 9/10/2014 ---> # [± # MiN] [*with error] leave the screen 2:12 PM 9/10/2014]
 ... 

@echo off
cls

TiTLE Implement Windows 7 Ultimate SP1 Updates Using DiSM Manually !
SET MOUNTDiR=D:\Temp\MOUNTDiR\DiSM\iNSTALL.WiM
SET WUDDiR=D:\Projects\DEVELOPiNG.DiR\WiNDOWS\[WUD]\[windows-7-sp1-x86]\[2013-10-10]

REM Adds packages to the Windows 7 Ultimate SP1 Image, please wait ...
DiSM  /image:"%MOUNTDiR%" /Add-Package /PackagePath:"%WUDDiR%"

REM Delete Windows 7 Ultimate SP1 WinRE.wim File (OPTiONAL), please wait ...
REM FileSize 138 MB (145,287,084 bytes) ...
ATTRiB -R -A -S -H "%MOUNTDiR%\Windows\System32\Recovery\winRE.wim"
DEL /F /Q "%MOUNTDiR%\Windows\System32\Recovery\winRE.wim"

REM Copying "Current DiSM log file" for further analyzed (OPTiONAL) !
SET LOGDiR=%WORKDiR%\[LogFiles]\[Updates]
SET LOGNAME=Implement Windows 7 Ultimate SP1 x86 Updates [2013.10] Manually
SET LOGFiLE=%LOGDiR%\%LOGNAME%
COPY /Y "%WiNDiR%\Logs\DiSM\dism.log" "%LOGFiLE%.dism.log"

 ...
 ===> MOUNT <===
 3:40 PM 9/10/2014 ---> 3:42 PM 9/10/2014 [± 2 MiN] [VERiFiCATiON]
 2:03 PM 9/10/2014 ---> 2:04 PM 9/10/2014 [± 1 MiN]
 ... 

@echo off
cls

REM Deleting "Current DiSM log file" !
DEL /F /Q "%WiNDiR%\Logs\DiSM\dism.log" > NUL

TiTLE Mount and Modify Windows 7 Ultimate SP1 Image Using DiSM Manually !
SET WORKDiR=D:\Projects\DEVELOPiNG.DiR\WiNDOWS\WiN7LiTE
SET WR7DiR=%WORKDiR%\ExtractedByWinReducer\sources
SET FiLENAME=install.wim
SET iNDEX=5
SET WiMFiLE=%WR7DiR%\%FiLENAME%
SET MOUNTDiR=D:\Temp\MOUNTDiR\DiSM\iNSTALL.WiM

REM Mount and Modify Windows 7 Ultimate SP1 Image, please wait ...
DiSM /Mount-Image /ImageFile:"%WiMFiLE%" /Index:%iNDEX% /MountDir:"%MOUNTDiR%"

 ...
 ===> PREPARATiON [EXTRACT ORiGiNAL iSO] <===
 3:32 PM 9/10/2014 ---> 3:34 PM 9/10/2014 [± 2 MiN] [VERiFiCATiON]
 1:40 PM 9/10/2014 ---> 1:42 PM 9/10/2014 [± 2 MiN]
 [en_windows_7_ultimate_with_sp1_x86_dvd_619077.iso]
 ... 

@echo off
cls

TiTLE Preparation for SlimmingDown Windows 7 Ultimate SP1 Manually !
SET WORKDiR=D:\Projects\DEVELOPiNG.DiR\WiNDOWS\WiN7LiTE
SET iSODiR=E:\Backup\iSO\OS\WiNDOWS\WiN_7-2008R2\With SP1 Final
SET FiLENAME=en_windows_7_ultimate_with_sp1_x86_dvd_619077.iso
SET WR7DiR=%WORKDiR%\ExtractedByWinReducer
SET CMDDiR=D:\Projects\DEVELOPiNG.DiR\CMDTOOLS
SET SRCDiR=%iSODiR%\GRMCULFRER_EN_SP1-DVD\%FiLENAME%

"%CMDDiR%\WinUniX\7z.exe" x -o"%WR7DiR%" -y "%SRCDiR%" > NUL

 ...
 ==============================================================================
 ==============================================================================

Pasted: Sep 15, 2014, 5:27:02 pm
Views: 5