Quick Hack: 20H2 Enablement without Edge

Discussion in 'Windows 10' started by sevenacids, Aug 6, 2020.

  1. sevenacids

    sevenacids MDL Addicted

    Aug 17, 2012
    667
    231
    30
    I'm not sure if this has been proposed somewhere else in the forum, I didn't find anything at a glance but thought this could be helpful for others.

    So, this is a simple hack for all of you who like to install the 20H2 enablement package but without the new Chromium-based Edge. This should work on 20H1 build 19041.292 or higher. I tested it on 19041.388.
    1. Download the 20H2 enablement package (KB4562830) for your platform (x86, x64, arm64). You can find the CAB file on UUPDump etc.
    2. Extract the CAB file using your favorite decompression tool.
    3. Optional: You can delete all but the following files:
      Code:
      amd64_microsoft-windows-2..-payload-deployment_31bf3856ad364e35_10.0.19041.292_none_e7f2e99f531d7d3f.manifest
      amd64_microsoft-windows-20h2enablement_31bf3856ad364e35_10.0.19041.292_none_5f60a1f7a5266a48.manifest
      microsoft-windows-20h2enablement-package~31bf3856ad364e35~amd64~~10.0.19041.292.cat
      microsoft-windows-20h2enablement-package~31bf3856ad364e35~amd64~~10.0.19041.292.mum
      microsoft-windows-20h2enablement-payload-package~31bf3856ad364e35~amd64~~10.0.19041.292.cat
      microsoft-windows-20h2enablement-payload-package~31bf3856ad364e35~amd64~~10.0.19041.292.mum
    4. Open PowerShell or a command prompt with admin rights from the folder where you extracted the CAB file and execute the following command:
      Code:
      dism /online /add-package /packagepath:microsoft-windows-20h2enablement-package~31bf3856ad364e35~amd64~~10.0.19041.292.mum /norestart
    5. Reboot your machine and you are done. You can use winver to confirm that it worked.
     
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,141
    84,318
    340
  3. asaltekan

    asaltekan MDL Novice

    May 24, 2016
    38
    22
    0
    How about this, if i integrate this reg tweak :

    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EdgeUpdate]
    "DoNotUpdateToEdgeWithChromium"=dword:00000001

    And then i integrate 20H2 EP update, will it work (i mean edge will not installed) ?
     
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,141
    84,318
    340
    #4 abbodi1406, Aug 6, 2020
    Last edited: Apr 7, 2022

    Attached Files:

  5. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,528
    13,518
    340
    #5 xinso, Aug 6, 2020
    Last edited: Aug 9, 2020
    Yes, it works.
     
  6. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,316
    7,023
    210
  7. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,141
    84,318
    340
    in the new 20H2 EP kb4562830, they added NoRemove registry value to prevent uninstallation
    so run this before the script
    Code:
    reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge" /v NoRemove /f 2>nul
    reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge" /v NoRemove /f 2>nul
     
  8. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,680
    1,924
    60
    I would like to rebuild the cab file without the Edge, which files do I have to change there ?
    or that doesn't work.
     
  9. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,141
    84,318
    340
    extract cab
    keep those files
    Code:
    microsoft-windows-20h2enablement-package~31bf3856ad364e35~amd64~~10.0.19041.479.cat
    microsoft-windows-20h2enablement-package~31bf3856ad364e35~amd64~~10.0.19041.479.mum
    microsoft-windows-20h2enablement-payload-package~31bf3856ad364e35~amd64~~10.0.19041.479.cat
    microsoft-windows-20h2enablement-payload-package~31bf3856ad364e35~amd64~~10.0.19041.479.mum
    amd64_microsoft-windows-2..-payload-deployment_31bf3856ad364e35_10.0.19041.479_none_8bf0f3c59aa97fd6.manifest
    amd64_microsoft-windows-20h2enablement_31bf3856ad364e35_10.0.19041.479_none_035eac1decb26cdf.manifest
    rename the first two to update.mum / update.cat
    create new cab
     
  10. Star

    Star MDL Junior Member

    May 4, 2011
    55
    7
    0
    how to create new cab?
     
  11. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,528
    13,518
    340
    #11 xinso, Aug 28, 2020
    Last edited: Apr 6, 2021
    Package being modified could be installed or integrated OFFLINE only.

    So, for 20H2, if you want it to be applicable ONLINE and OFFLINE, just install microsoft-windows-20h2enablement-package~31bf3856ad364e35~amd64~~10.0.19041.292.mum.
     
  12. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,680
    1,924
    60
    Bro works THX

    Code:
    ============================================================
    Running W10UI v8.6
    ============================================================
    
    ============================================================
    Copying DVD Drive contents to work directory
    ============================================================
    
    ============================================================
    Extracting .cab files from .msu files
    ============================================================
    
    1/3: windows10.0-kb4561600-x64_Adobe.Flash.msu
    2/3: windows10.0-kb4569745-x64-ndp48_KumulativesNet.3.5.4.8.msu
    3/3: windows10.0-kb4570334-x64_SSU.msu
    
    ============================================================
    Extracting files from update cabinets (.cab)
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/7: windows10.0-kb4557964-x64.WinPE.cab [WinPE]
    2/7: Windows10.0-KB4561600-x64.cab [Flash]
    3/7: windows10.0-kb4562830-x64_Feature.Enablement.Package.Edge.Free.19041.479_10.0.1.2.cab [Enablement]
    4/7: Windows10.0-KB4569745-x64-NDP48.cab [NetFx]
    5/7: Windows10.0-KB4570334-x64.cab [SSU]
    6/7: windows10.0-kb4571744-x64_Kumulatives.19041.487.cab [LCU]
    7/7: windows10.0-kb4577588-x64_DU.Sources.cab [Setup DU]
    
    ============================================================
    Mounting sources\install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_KB4570334~31bf3856ad364e35~amd64~~19041.441.1.2
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 3 - Adding package Package_for_KB4561600~31bf3856ad364e35~amd64~~10.0.1.0
    [==========================100.0%==========================]
    Processing 2 of 3 - Adding package Microsoft-Windows-20H2Enablement-Payload-Package~31bf3856ad364e35~amd64~~10.0.19041.479
    [==========================100.0%==========================]
    Processing 3 of 3 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.4210.3
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.487.1.10
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Adding .NET Framework 3.5 feature
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.487
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Reinstalling cumulative update(s)...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.487
    
    Processing 1 of 2 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.4210.3
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.487.1.10
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Updating winre.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_KB4570334~31bf3856ad364e35~amd64~~19041.441.1.2
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_KB4557964~31bf3856ad364e35~amd64~~10.0.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    [===========================99.0%========================= ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image File : C:\W10UI_8.6\winre.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Adding updated winre.wim
    ============================================================
    
            1 Datei(en) kopiert.
    
    ============================================================
    Unmounting sources\install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image File : C:\W10UI_8.6\DVD10UI\sources\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding sources\install.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_KB4570334~31bf3856ad364e35~amd64~~19041.441.1.2
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_KB4557964~31bf3856ad364e35~amd64~~10.0.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.487.1.10
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.487
    
    [===========================99.1%========================= ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.487
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image File : C:\W10UI_8.6\DVD10UI\sources\boot.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mounting sources\boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_KB4570334~31bf3856ad364e35~amd64~~19041.441.1.2
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_KB4557964~31bf3856ad364e35~amd64~~10.0.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.487.1.10
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.487
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.487
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image File : C:\W10UI_8.6\DVD10UI\sources\boot.wim
    Image Index : 2
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding sources\boot.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Adding setup dynamic update(s)...
    ============================================================
    
    windows10.0-kb4577588-x64_DU.Sources.cab
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
    Creating updated ISO file...
    ============================================================
    
    OSCDIMG 2.56 CD-ROM and DVD-ROM Premastering Utility
    Copyright (C) Microsoft, 1993-2012. All rights reserved.
    Licensed only for producing Microsoft authorized content.
    
    
    Scanning source tree (500 files in 41 directories)
    Scanning source tree complete (895 files in 85 directories)
    
    Computing directory information complete
    
    Image file is 5498175488 bytes (before optimization)
    
    Writing 895 files in 85 directories to Win10_19041.487_x64_2020-08-28.iso
    
    100% complete
    
    Storage optimization saved 24 files, 14194688 bytes (1% of image)
    
    After optimization, image file is 5486036992 bytes
    Space saved because of embedding, sparseness or optimization = 14194688
    
    Done.
    
    ============================================================
       Finished
    ============================================================
    
    
    Press 9 to exit.
    
     
  13. Hoppyah

    Hoppyah MDL Senior Member

    Aug 12, 2009
    294
    14
    10
    what about using Edgeblock
     
  14. AveYo

    AveYo MDL Expert

    Feb 10, 2009
    1,836
    5,685
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,680
    1,924
    60
    #16 KleineZiege, Aug 31, 2020
    Last edited: Aug 31, 2020
    Sorry delte fals Thead
     
  16. AveYo

    AveYo MDL Expert

    Feb 10, 2009
    1,836
    5,685
    60
    sure
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,680
    1,924
    60
    whate ist the differnce in coding UTf-8 etc..
     
  18. kaljukass

    kaljukass MDL Guru

    Nov 26, 2012
    3,390
    1,322
    120
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. armond

    armond MDL Addicted

    Jun 16, 2008
    734
    235
    30
    Interesting. So how Credge install then? Via UUP?
    Credge is even not visible when checking for Windows Updates after a clean Windows 10 20H2 install.
    So doing this, or skipping Credge via SkipEdge =0 is not something useful after all?
    Not bad if you could release "UninstallAllEdgeChromium.cmd" as an official script...:)
    Nice job I say!