How does DISM /Cleanup-Image with /ResetBase remove "permanent" packages?

Discussion in 'Windows 8' started by A-bit_Tinkerer, Dec 13, 2014.

  1. A-bit_Tinkerer

    A-bit_Tinkerer MDL Junior Member

    Mar 24, 2014
    61
    45
    0
    #1 A-bit_Tinkerer, Dec 13, 2014
    Last edited by a moderator: Apr 20, 2017
    Using DISM to try to remove a superseded package that has been marked as "permanent" results in the following error:

    Code:
    >dism /online /RemovePackage /PackageName:Package_for_KB2939471~31bf3856ad364e35~x86~~6.3.1.0
    
    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17031
    
    Image Version: 6.3.9600.17031
    
    Processing 1 of 1 - An error occurred - Package_for_KB2939471 Error: 0x800f0825
    
    Error: 0x800f0825
    
    DISM failed. No operation was performed.
    
    For more information, review the log file.
    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
    

    Using "dism /online /Cleanup-Image /StartComponentCleanup", the information in the CBS.log is:

    Code:
    Skipping package [Package_for_KB2919355~31bf3856ad364e35~x86~~6.3.1.14] since it is permanent
    Skipping package [Package_for_KB2919442~31bf3856ad364e35~x86~~6.3.1.8] since it is permanent
    Skipping package [Package_for_KB2932046~31bf3856ad364e35~x86~~6.3.1.5] since it is permanent
    Skipping package [Package_for_KB2937220~31bf3856ad364e35~x86~~6.3.1.0] since it is permanent
    Skipping package [Package_for_KB2937592~31bf3856ad364e35~x86~~6.3.1.0] since it is permanent
    Skipping package [Package_for_KB2938439~31bf3856ad364e35~x86~~6.3.1.0] since it is permanent
    Skipping package [Package_for_KB2938772~31bf3856ad364e35~x86~~6.3.1.0] since it is permanent
    Skipping package [Package_for_KB2939471~31bf3856ad364e35~x86~~6.3.1.0] since it is permanent
    Skipping package [Package_for_KB2949621~31bf3856ad364e35~x86~~6.3.2.0] since it has a release-type [Hotfix] that makes it not superseded
    

    Using "dism /online /Cleanup-Image /StartComponentCleanup /ResetBase", the information in the CBS.log is:

    Code:
    Appl: Evaluating package applicability for package Package_for_KB2939471~31bf3856ad364e35~x86~~6.3.1.0, applicable state: Installed
    Appl: Evaluating package applicability for package Package_for_KB2939471_RTM~31bf3856ad364e35~x86~~6.3.1.0, applicable state: Installed
    Appl: Evaluating package applicability for package Package_for_KB2939471_RTM_GM~31bf3856ad364e35~x86~~6.3.1.0, applicable state: Installed
    Appl: Evaluating package applicability for package Package_1_for_KB2939471~31bf3856ad364e35~x86~~6.3.1.0, applicable state: Absent
    Appl: Evaluating package applicability for package Package_2_for_KB2939471~31bf3856ad364e35~x86~~6.3.1.0, applicable state: Installed
    
    External EvaluateApplicability, package: Package_for_KB2939471~31bf3856ad364e35~x86~~6.3.1.0, package applicable State: Installed, highest update applicable state: Superseded, resulting applicable state:Superseded
    External EvaluateApplicability, package: Package_for_KB2939471_RTM~31bf3856ad364e35~x86~~6.3.1.0, package applicable State: Installed, highest update applicable state: Superseded, resulting applicable state:Superseded
    External EvaluateApplicability, package: Package_for_KB2939471_RTM_GM~31bf3856ad364e35~x86~~6.3.1.0, package applicable State: Installed, highest update applicable state: Superseded, resulting applicable state:Superseded
    External EvaluateApplicability, package: Package_1_for_KB2939471~31bf3856ad364e35~x86~~6.3.1.0, Package applicability: Absent.
    External EvaluateApplicability, package: Package_2_for_KB2939471~31bf3856ad364e35~x86~~6.3.1.0, package applicable State: Installed, highest update applicable state: Superseded, resulting applicable state:Superseded
    
    Maint: Deepclean: Trying to uninstall package 
    Package_for_KB2939471~31bf3856ad364e35~x86~~6.3.1.0
    
    Exec: Uninstall package: Package_for_KB2939471~31bf3856ad364e35~x86~~6.3.1.0
    Exec: Uninstall package: Package_for_KB2939471_RTM~31bf3856ad364e35~x86~~6.3.1.0
    Exec: Uninstall package: Package_for_KB2939471_RTM_GM~31bf3856ad364e35~x86~~6.3.1.0
    Exec: Uninstall package: Package_2_for_KB2939471~31bf3856ad364e35~x86~~6.3.1.0
    
    Maint: Deepclean: packages removed: 1
    
    So, how is the package being removed if it marked as permanent?
     
  2. LiteOS

    LiteOS MDL Expert

    Mar 7, 2014
    1,547
    657
    60
    #2 LiteOS, Dec 13, 2014
    Last edited: Dec 13, 2014
    its remove old files after updates
    its only save the last update, the old files with old version will be removed

    if u want to remove package use WinToolKit on non-StartComponentCleanup wim
     
  3. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    6,686
    10,145
    210
    It will only remove permanent packages that have been superseded by newer components. If one of the components of the package is still not superseded, it won't remove it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Boops

    Boops MDL Addicted

    Jan 5, 2008
    692
    627
    30
    Hi, murphy78


    To integrate the update of November in the ISO (update), is it enough?

    Windows8.1-KB3000850-x64.msu
    Windows8.1-KB3003057-x64.msu
    Windows8.1-KB3014442-x64.msu
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    6,686
    10,145
    210
    #5 murphy78, Dec 14, 2014
    Last edited by a moderator: Apr 20, 2017
    Here's my msu directory listings for a full integration:
    Code:
    x86\Windows8.1-KB2894852-v2-x86.msu
    x86\Windows8.1-KB2894856-v2-x86.msu
    x86\Windows8.1-KB2899189-x86.msu
    x86\Windows8.1-KB2920189-x86.msu
    x86\Windows8.1-KB2954879-v2-x86.msu
    x86\Windows8.1-KB2958262-x86.msu
    x86\Windows8.1-KB2961072-x86.msu
    x86\Windows8.1-KB2962140-x86.msu
    x86\Windows8.1-KB2965142-x86.msu
    x86\Windows8.1-KB2966826-x86.msu
    x86\Windows8.1-KB2966828-x86.msu
    x86\Windows8.1-KB2967917-x86.msu
    x86\Windows8.1-KB2968296-x86.msu
    x86\Windows8.1-KB2971203-x86.msu
    x86\Windows8.1-KB2972103-v2-x86.msu
    x86\Windows8.1-KB2972213-x86.msu
    x86\Windows8.1-KB2973114-x86.msu
    x86\Windows8.1-KB2973201-x86.msu
    x86\Windows8.1-KB2973351-x86.msu
    x86\Windows8.1-KB2976536-x86.msu
    x86\Windows8.1-KB2976627-x86.msu
    x86\Windows8.1-KB2977765-x86.msu
    x86\Windows8.1-KB2978041-x86.msu
    x86\Windows8.1-KB2978122-x86.msu
    x86\Windows8.1-KB2978126-x86.msu
    x86\Windows8.1-KB2978742-x86.msu
    x86\Windows8.1-KB2979573-x86.msu
    x86\Windows8.1-KB2979576-x86.msu
    x86\Windows8.1-KB2989930-x86.msu
    x86\Windows8.1-KB2990967-x86.msu
    x86\Windows8.1-KB2994290-x86.msu
    x86\Windows8.1-KB2998174-x86.msu
    x86\Windows8.1-KB3002885-x86.msu
    x86\Windows8.1-KB3003057-x86.msu
    x86\Windows8.1-KB3004394-x86.msu
    x86\Windows8.1-KB3008242-x86.msu
    x86\Windows8.1-KB3008923-x86.msu
    x86\Windows8.1-KB3008925-x86.msu
    x86\Windows8.1-KB3011780-x86.msu
    x86\Windows8.1-KB3013126-x86.msu
    x86\Windows8.1-KB3013410-x86.msu
    x86\Windows8.1-KB3013769-x86.msu
    x86\Windows8.1-KB3013816-x86.msu
    x86\Windows8.1-KB3018943-x86.msu
    x86\EMBEDDED\Windows8.1-KB2932074-x86.msu
    x86\KB2919355\Windows8.1-KB2934018-x86.msu
    x86\KB2919355\Windows8.1-KB2959977-x86.msu
    x86\KB2934520\Windows8.1-KB2934520-x86.msu
    x86\KB2955164\Windows8.1-KB2955164-x86.msu
    x86\KB2955164\Windows8.1-KB2965500-x86.msu
    x86\KB2962409\Windows8.1-KB2962409-x86.msu
    x86\KB2962409\Windows8.1-KB2980654-x86.msu
    x86\KB2975719\Windows8.1-KB2975719-x86.msu
    x86\KB2975719\Windows8.1-KB2979582-x86.msu
    x86\KB2975719\Windows8.1-KB2990532-x86.msu
    x86\KB2975719\Windows8.1-KB2993100-x86.msu
    x86\KB2975719\Windows8.1-KB2993651-x86.msu
    x86\KB2984006\Windows8.1-KB2977174-x86.msu
    x86\KB2984006\Windows8.1-KB2984006-x86.msu
    x86\KB2984006\Windows8.1-KB2994897-x86.msu
    x86\KB2984006\Windows8.1-KB2995004-x86.msu
    x86\KB2984006\Windows8.1-KB2995518-x86.msu
    x86\KB2995388\Windows8.1-KB2995388-x86.msu
    x86\KB2995388\Windows8.1-KB2996799-v2-x86.msu
    x86\KB3000850\Windows8.1-KB3000850-x86.msu
    x86\KB3000850\Windows8.1-KB3003057-x86.msu
    x86\KB3000850\Windows8.1-KB3014442-x86.msu
    x86\LAST-PASS\Windows8.1-KB3003667-x86.msu
    x86\SERVICING\Windows8.1-KB3012199-x86.msu
    
    x64\Windows8.1-KB2894852-v2-x64.msu
    x64\Windows8.1-KB2894856-v2-x64.msu
    x64\Windows8.1-KB2899189-x64.msu
    x64\Windows8.1-KB2920189-x64.msu
    x64\Windows8.1-KB2954879-v2-x64.msu
    x64\Windows8.1-KB2958262-x64.msu
    x64\Windows8.1-KB2961072-x64.msu
    x64\Windows8.1-KB2962140-x64.msu
    x64\Windows8.1-KB2965142-x64.msu
    x64\Windows8.1-KB2966826-x64.msu
    x64\Windows8.1-KB2966828-x64.msu
    x64\Windows8.1-KB2967917-x64.msu
    x64\Windows8.1-KB2968296-x64.msu
    x64\Windows8.1-KB2971203-x64.msu
    x64\Windows8.1-KB2972103-v2-x64.msu
    x64\Windows8.1-KB2972213-x64.msu
    x64\Windows8.1-KB2973114-x64.msu
    x64\Windows8.1-KB2973351-x64.msu
    x64\Windows8.1-KB2976536-x64.msu
    x64\Windows8.1-KB2976627-x64.msu
    x64\Windows8.1-KB2977765-x64.msu
    x64\Windows8.1-KB2978041-x64.msu
    x64\Windows8.1-KB2978122-x64.msu
    x64\Windows8.1-KB2978126-x64.msu
    x64\Windows8.1-KB2978742-x64.msu
    x64\Windows8.1-KB2979573-x64.msu
    x64\Windows8.1-KB2979576-x64.msu
    x64\Windows8.1-KB2989930-x64.msu
    x64\Windows8.1-KB2990967-x64.msu
    x64\Windows8.1-KB2994290-x64.msu
    x64\Windows8.1-KB2998174-x64.msu
    x64\Windows8.1-KB3002885-x64.msu
    x64\Windows8.1-KB3003057-x64.msu
    x64\Windows8.1-KB3004394-x64.msu
    x64\Windows8.1-KB3008242-x64.msu
    x64\Windows8.1-KB3008923-x64.msu
    x64\Windows8.1-KB3008925-x64.msu
    x64\Windows8.1-KB3011780-x64.msu
    x64\Windows8.1-KB3013126-x64.msu
    x64\Windows8.1-KB3013410-x64.msu
    x64\Windows8.1-KB3013769-x64.msu
    x64\Windows8.1-KB3013816-x64.msu
    x64\Windows8.1-KB3018943-x64.msu
    x64\EMBEDDED\Windows8.1-KB2932074-x64.msu
    x64\KB2919355\Windows8.1-KB2934018-x64.msu
    x64\KB2919355\Windows8.1-KB2959977-x64.msu
    x64\KB2934520\Windows8.1-KB2934520-x64.msu
    x64\KB2955164\Windows8.1-KB2955164-x64.msu
    x64\KB2955164\Windows8.1-KB2965500-x64.msu
    x64\KB2962409\Windows8.1-KB2962409-x64.msu
    x64\KB2962409\Windows8.1-KB2980654-x64.msu
    x64\KB2975719\Windows8.1-KB2975719-x64.msu
    x64\KB2975719\Windows8.1-KB2979582-x64.msu
    x64\KB2975719\Windows8.1-KB2990532-x64.msu
    x64\KB2975719\Windows8.1-KB2993100-x64.msu
    x64\KB2975719\Windows8.1-KB2993651-x64.msu
    x64\KB2984006\Windows8.1-KB2977174-x64.msu
    x64\KB2984006\Windows8.1-KB2984006-x64.msu
    x64\KB2984006\Windows8.1-KB2994897-x64.msu
    x64\KB2984006\Windows8.1-KB2995004-x64.msu
    x64\KB2984006\Windows8.1-KB2995518-x64.msu
    x64\KB2995388\Windows8.1-KB2995388-x64.msu
    x64\KB2995388\Windows8.1-KB2996799-v2-x64.msu
    x64\KB3000850\Windows8.1-KB3000850-x64.msu
    x64\KB3000850\Windows8.1-KB3003057-x64.msu
    x64\KB3000850\Windows8.1-KB3014442-x64.msu
    x64\LAST-PASS\Windows8.1-KB3003667-x64.msu
    x64\SERVICING\Windows8.1-KB3012199-x64.msu

    That includes NetFx3 updates.
    Integration order is:
    1-Servicing stack
    2-Add Features (netfx3)
    3-Add language if desired
    4-Integrate 2934018 and 2959977 from the (2919355 pack)
    5-Integrate the bulk of the updates
    6-Integrate the LAST-PASS update
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    15,690
    22,568
    340
    @ murphy78

    I already asked abbodi for this ... i'm looking for an update list for updates needed to integrate into Win 8.1 ISO (latest versions and/or ESD). Additionally download links would be cool. Then the WU TOOL could provide the option to integrate them in needed order automatically to all indices (if updates are locally available).

    What do you think ... is the task manageable in any way :hmm:?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    6,686
    10,145
    210
    Yah of course it is. It would take work to maintain it though. Someone would need to go through and remove all the superseded versions and add all the direct download links to a list.
    That list would be hosted on a server somewhere like that win7updates thing did. Program or script downloads the list, checks edition, downloads required updates, integrates them in certain priority order.

    It's all technically possible, but it is not automatic. Someone would have to do the work.

    I'm not a pro on the existing tools we have here on MDL but I was under the impression that someone already worked out a few things like that.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    15,690
    22,568
    340
    OK ... so i only need to find anybody to help with that list. Not sure about other solutions ... didn't see any the last time :g:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    6,686
    10,145
    210
    Eh, abbodi probably is the better person to ask. He seems to maintain some stuff and know a lot more about superseded updates than I do.
    I just check each month and skip the ones that aren't listed and move them to an "old" folder.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    15,690
    22,568
    340
    Yeah, will wait for him, no haste :cool2:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. A-bit_Tinkerer

    A-bit_Tinkerer MDL Junior Member

    Mar 24, 2014
    61
    45
    0
    #11 A-bit_Tinkerer, Dec 14, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Here is my list of updates for Windows 8.1 Pro with Update (2014, December 12):

    Baseline Source: IR3_CCSA_{X86|X64}FRE_EN-US_DV9 install.wim (index:1)

    x86 ISO File Name: en_windows_8.1_with_update_x86_dvd_4065105.iso
    SHA-1: 54B8572556B316A6BECE54C5033564E3296F5951

    x64 ISO File Name: en_windows_8.1_with_update_x64_dvd_4065090.iso
    SHA-1: 4652DC6EBFEBE02C6A63E167C36E3FAEDFB93999


    9(x86)/9(x64) baseline updates included in source install.wim:
    Code:
    KB2919442     Servicing Stack Update, prerequisite for KB2919355
    KB2919335     Windows 8.1 Update
    KB2932046{d}  Feature Pack for Windows 8.1 Update
    KB2937592{d}  Feature Pack for Windows 8.1 Update
    KB2938439{d}  Feature Pack for Windows 8.1 Update
    KB2949621-v2  Hotfix for Windows 8.1 Update
    KB2937220
    KB2938772
    KB2939471     Refer to comments below.
    

    There is no information on KB2937220 and KB2938772, and neither .msu nor .cab files are available. So, the Windows 8.1 RTM install.wim cannot be used as a "baseline" install.wim.

    KB2949621-v2 and KB2939471 are superseded by KB2934018, but are not removed using "dism /online /Cleanup-Image /StartComponentCleanup". KB2939471 is removed using "dism /online /Cleanup-Image /StartComponentCleanup /ResetBase" as mentioned in the 1st post. So, DISM does not always remove "permanent" superseded updates (packages). Hotfixes are specifically skipped. By removing the <permanence="permanent"> setting from the <package identifier=KBnumber> line in the %windir%\servicing\Packages\*KBnumber*.mum files, sometimes a "permanent" update can be uninstalled, but not always.

    So, the question is, what is DISM doing differently with the /ResetBase option to remove "permanent" packages. I would like to remove KB2949621-v2 and KB2939471 to have a "clean" Windows 8.1 Update install.wim before integrating the following updates, which are post-Windows 8.1 Update. The IR4 install.wim(esd) has updates included that have already been replaced and superseded.


    7(x86)/7(x64) baseline updates that are integrated in order listed:
    Code:
    Update 14-04:    Update 14-11:
    -------------    -------------
    KB3012199{a}!    KB3000850
    KB2920189{b}!    KB3003057#
    KB3013769{c}^    KB3014442
    KB2934018{d}
    


    32(x86)/32(x64) additional updates that are integrated:
    Code:
    KB2894852-v2*    KB2967917^          KB2978122*       KB3008923{g}#
    KB2898847*       KB2968296*          KB2979573*       KB3008925@
    KB2898850+       KB2972103-v2*       KB2979576+       KB3011110-v2{h}%
    KB2899189&       KB2972213*          KB2989930        KB3011780
    KB2954879-v2     KB2973114*          KB2994290=       KB3013126
    KB2962409^       KB2976536?          KB2995518{f}     KB3013375{i}*
    KB2966826*       KB2976978-v5{e}~    KB3003667{e}&    KB3013410{j}:
    KB2966828*       KB2977765+          KB3004394        KB3013816
    


    18(x86)/18(x64) replaced updates that are integrated to satisfy WU:
    Code:
    KB2955164^       KB2965142           KB2976627{m}#    KB2995388^
    KB2958262        KB2965500{l}        KB2980654{n}$    KB2998174
    KB2959977{k}     KB2971203           KB2984006^       KB3002885{q}
    KB2961072        KB2973351           KB2993100{o}
    KB2962140        KB2975719^          KB2995004{p}
    


    5 updates that cannot be integrated; install using SETUPCOMPLETE.CMD:
    Code:
    KB2267602     Definition Update for Windows Defender
    KB2881553{r}  English Input Personalization Dictionary (16.1.1261.1)
    KB2990967{s}  OneDrive serviceability fix (2014/09/23)
    KB3011970{t}  Microsoft Silverlight 5.1.31211.0 (2014/12/12)
    KB890830      Malicious Software Removal Tool - December 2014
    


    Symbols key; also refer to NOTES section:
    Code:
    ^  (7x) Monthly update rollup for Windows 8.1
    !  (2x) Update that cannot be uninstalled
    &  (2x) Update for Microsoft Camera Codec Pack
    ~  (1x) Compatibility update for systems participating in the WinCEIP
    $  (1x) OneDrive reliability update rollup - July 2014
    ?  (1x) Platform update for Windows Defender - November 2014
    =  (1x) Language Interface Pack - November 2014
    :  (1x) Cumulative time zone update - December 2014
    #  (3x) Cumulative Security Update for Internet Explorer 11
    @  (1x) Security Update for Internet Explorer Flash Player
    * (11x) Security Update for Microsoft .Net Framework 3.5
    +  (3x) Security Update for Microsoft .Net Framework 4.5.1 and 4.5.2
    %  (1x) Microsoft .NET Framework 4.5.2 for Windows 8.1 (2014/11/25);
            the .msu file is extracted from Offline Installer (KB3009678)
    


    NOTES:
    Code:
    Update 14-04: April 2014 Windows 8.1 Update (KB2919355); revised
                  with prerequisite updates KB3012199 (2014/12/09) and
                  KB2920189 (2014/11/11) replacing KB2989647.  Also,
                  with the December update rollup KB3013769 (2014/12/09)
                  replacing KB2959977.  However, KB2959977 still needs
                  to be installed to satisfy Windows Update (WU).
    
    Update 14-11: November 2014 Cumulative Update Rollup (KB3000850);
                  including the replaced update KB3003057, which is the
                  Cumulative Security Update for Internet Explorer 11,
                  because it still needs to be installed to satisfy
                  Windows Update (WU).  KB3003057 also can be downloaded
                  separately from the Microsoft Download Center and the
                  Microsoft Update Catalog.
    
    {a} Supersedes KB2989647, KB2975061, KB2969339, and KB2919442.
        KB3012199 does not require KB2919355 as a prerequisite, although
        the Microsoft Support Article ID 3012199 indicates that it does.
    {b} Re-released 2014/11/11 to bundle KB2975061.  However, KB2975061
        is superseded by KB3012199, and does not need to be integrated.
        KB2920189 requires KB2919355 as a prerequsite.
    {c} Supersedes KB3008188, KB2989542, and KB2959977.
    {d} Feature Pack is not listed with the Installed Updates.  Use
        administrator command: dism /online /Get-Packages /Format:Table
        to verify Feature Pack install status and date.
    {e} Cannot be downloaded from the Microsoft Download Center,
        but can be downloaded from the Microsoft Update Catalog.
    {f} Was listed in the Microsoft Support Article ID 2984006, but
        cannot be downloaded from the Microsoft Download Center or
        the Microsoft Update Catalog.  For download links, refer to
        My Digital Life Forums, Thread: Windows 8.1 Hot-Fix Repository,
        Page: 172, Post: #1711, Date: 2014/09/10, Member ID: abbodi1406.
    {g} Replaces KB3003057 bundled with the November 2014 Update Rollup
        (KB3000850).
    {h} Hotfix rollup that replaces KB2934520, KB2978041, and KB2978126.
        For download links, refer to My Digital Life Forums, Thread:
        Windows 8.1 Hot-Fix Repository, Page: 221, Post: #2201,
        Date: 2014/11/25, Member ID: ricktendo64.  Or, request download
        link via e-mail from Microsoft Support using URL: 
        support2.microsoft.com/hotfix/KBHotfix.aspx?kbnum=3009678
        &kbln=en-US.
    {i} Hotfix rollup for Microsoft .Net Framework 3.5.  For download
        links, refer to My Digital Life Forums, Thread: Windows 8.1
        Hot-Fix Repository, Page: 221, Post: #2201, Date: 2014/11/25,
        Member ID: ricktendo64.  Or, request download links via e-mail
        from Microsoft Support using URL: support2.microsoft.com/
        hotfix/KBHotfix.aspx?kbnum=3013375&kbln=en-US.
    {j} Update that supersedes the August 2014 cumulative time zone
        update (KB2981580), the September 2014 time zone update for
        Russia (KB2998527), and the 2014 DST change for Fiji time zone
        hotfix (KB3011843-v2).
    {k} Bundled with the April 2014 Windows 8.1 Update (KB2919355) when
        downloaded from the Microsoft Update Catalog; and also can be
        downloaded separately from the Microsoft Download Center.  If
        KB2959977 is not installed, when a  Windows Update check is
        performed, it will not be listed separately.  Instead it will
        be bundled with "Windows 8.1 Update (KB2919355)".
    {l} Bundled with the May 2014 update rollup (KB2955164) when
        downloaded from the Microsoft Update Catalog.  KB2965500
        cannot be downloaded from the Microsoft Download Center.  If
        KB2965500 is not installed, when a  Windows Update check is
        performed, it will not be listed separately.  Instead it will
        be bundled with "Update for Windows 8.1 (KB2955164)".
    {m} Superseded by KB3008923; was indicated by Microsoft as replaced
        by KB3003057.  However, this update also was needed because it
        contains the inetres.adml file needed to prevent an error when
        GPEDIT.MSC is run.
    {n} Bundled with the June 2014 update rollup (KB2962409) when
        downloaded from the Microsoft Update Catalog.  KB2980654
        is not bundled with the June 2014 update rollup (KB2962409)
        when downloaded from the Microsoft Download Center, but must
        be downloaded separately from the Microsoft Download Center.
        If KB2980654 is not installed, when a  Windows Update check is
        performed, it will not be listed separately.  Instead it will
        be bundled with "Update for Windows 8.1 (KB2962409)".
    {o} Bundled with the August 2014 update rollup (KB2975719).
        If KB2993100 is not installed, when a  Windows Update check is
        performed, it will not be listed separately.  Instead it will
        be bundled with "Update for Windows 8.1 (KB2975719)".
    {p} Bundled with the September 2014 update rollup (KB2984006) and
        also bundled with the August 2014 update rollup (KB2975719);
        KB2995004 was added on 2014/09/09 and replaces KB2990532.
        If KB2995004 is not installed, when a Windows Update check is
        performed, it will not be listed separately.  Instead it will
        be bundled with both "Update for Windows 8.1 (KB2984006)" and
        "Update for Windows 8.1 (KB2975719)".
    {q} Supersedes KB2994897 that is bundled with the September 2014
        update rollup (KB2984006).
    {r} This update is applied only to devices that have the English
        language pack installed as an input language and that have the
        touch keyboard enabled.  This update is delivered by Windows
        Update only if you use the touch keyboard to type at least 50
        words per day.  The update can be downloaded from the Microsoft
        Update Catalog, however, it cannot be downloaded from the
        Microsoft Download Center.  Install by using .msi file extracted
        from the .cab file downloaded from the Microsoft Update Catalog.
    {s} The .msu file contains a .exe file in addition to a .cab file;
        and the .exe file must be installed before the .cab file.  So,
        KB2990967 cannot be properly integrated into an offline image.
    {t} Supersedes Security Update for Microsoft Silverlight (KB2932677)
        and Update to Microsoft Silverlight (KB2977218).  Do not install
        Microsoft Silverlight 5.1.31010.0 (KB3011970), which was released
        2014/12/09, becaused it is defective.  If KB3011970 is not
        installed, when a Windows Update check is performed, KB2977218
        will be listed instead of KB3011970.
    

    By carefully choosing the order that the updates are integrated, no updates are removed by using the command "dism /online /Cleanup-Image /StartComponentCleanup" and only KB2939471 is removed by adding the "/ResetBase" option to the DISM command. Additionally, Windows Update is satisfied, meaning no updates are listed, except for those updates not installed by the running the SETUPCOMPLETE.CMD command.

    So, the question remains: What is DISM doing differently with the /ResetBase option to remove "permanent" packages?
     
  12. A-bit_Tinkerer

    A-bit_Tinkerer MDL Junior Member

    Mar 24, 2014
    61
    45
    0
    #13 A-bit_Tinkerer, Dec 14, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
  13. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    15,690
    22,568
    340
    Thanks :good3:. Good point to start with :D.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    8,363
    28,681
    270
  15. A-bit_Tinkerer

    A-bit_Tinkerer MDL Junior Member

    Mar 24, 2014
    61
    45
    0
    #16 A-bit_Tinkerer, Dec 15, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Thanks for explaining why the .msu file sizes are different between the direct .msu download and extracting the .msu from the Hotfix. I had downloaded the .msu files from the direct link before I downloaded the Hotfix and wondered why there was such a significant size difference.

    For comparison here are the differences in the .msu file sizes:
    Code:
    Direct .msu Download:        extract .msu from Hotfix:
    x86  60,850,198 bytes        x86  431,018,218 bytes
    x64  99,501,260 bytes        x64  785,119,399 bytes
    
    For integration purposes, there is no difference in expanding the .cab file extracted from the .msu file.

    The resulting HDD space requirements are:
    Code:
    x86  5,039 files  1,586 folders  426,064,322 bytes
    x64  8,883 files  2,889 folders  778,128,883 bytes
    
     
  16. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    8,363
    28,681
    270
    The files in exe package are not compressed (Win8/8.1 MSUs and Win7/Vista netfx_Full_LDR.mzz) is to reduce the overall size by compressing them all at once and take advantage of the shared/similar files in each
     
  17. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    8,363
    28,681
    270
    #18 abbodi1406, Dec 15, 2014
    Last edited by a moderator: Apr 20, 2017
  18. A-bit_Tinkerer

    A-bit_Tinkerer MDL Junior Member

    Mar 24, 2014
    61
    45
    0
    Thank for finding the Registry key and value to change. I really appreciate the time and effort it took to find a solution.

    I tested the Registry fix on a live system also, so I can understand your solution. I do understand how to edit the registry in the Recovery Environment (load SOFTWARE hive, etc) so I usually edit the registry offline when there are online permission issues. It does require a system restart before and after editing the Registry.

    I will try changing the registry on an offline system to uninstall KB2949621-v2 and KB2939471 before integrating the new updates. Obviously, KB2919442 would not be included since it is the Servicing Stack and is needed before KB3012199 would be installed.

    Thanks again abbodi1406.