1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,412
    15,485
    210
    #16761 MSMG, Oct 15, 2020
    Last edited: Oct 15, 2020
    (OP)
  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,412
    15,485
    210
    Yes it's due to the left over of Windows Defender resource entries that's giving error, making changes to the removal program and will see how it works.

    For an experiment did checked with the DISM /Remove-Package for Defender removal on 64-bit Live system and tried to install the CU it failed.

    Will update the results with the ToolKitHelper program.

     
  3. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,412
    15,485
    210
    The Toolkit uses the same DISM to integrate updates without any changes and while applying the changes only the WinSXS temporary files which are safe are cleaned.

    DISM /Cleanup-Image with /ResetBase was having issues with W10 v1809 but with later versions it was working, though the MS disables it by default, The Toolkit also by default doesn't use the /ResetBase switch unless it's enabled in the Tweaks section.

    Starting from v1909 WinSxS files needs to be retained for installing updates due to new update format.

     
  4. rorewe4314

    rorewe4314 MDL Member

    Jun 18, 2020
    107
    22
    10
    #16764 rorewe4314, Oct 15, 2020
    Last edited: Oct 15, 2020
    MSMG,

    Code:
    Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config" /v "DODownloadMode" /t REG_DWORD /d "0" /f >nul 2>&1
    Reg add "HKLM\TK_SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DODownloadMode" /t REG_DWORD /d "0" /f >nul 2>&1
    
    These settings are added by O&O ShutUp10


    Code:
    Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization" /v "OptInOOBE" /t REG_DWORD /d "0" /f >nul 2>&1
    Reg add "HKLM\TK_SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DODownloadMode" /t REG_DWORD /d "0" /f >nul 2>&1
    Reg add "HKLM\TK_SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DODownloadMode" /t REG_DWORD /d "63" /f >nul 2>&1

    What settings do I need to completely block Delivery Optimization, but for Windows updates to work?

    p.s
    I am using LTSC version!
     
  5. zero cool root

    zero cool root MDL Senior Member

    Jun 17, 2011
    374
    161
    10
    Code:
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization]
    "DODownloadMode"=dword:00000000
    
     
  6. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    345
    362
    10
    @MSMG

    If I understood your answer correctly and how things are connected, then I can imagine smth. like this after user selection:

    • Enable DISM Image Cleanup with Full ResetBase
    Code:
    Set how "Cleanup Source Images" works: whether /ResetBase switch will be used for WinSxS cleanup or not.
    
    Do you really want to switch DISM Image Cleanup to use Full ResetBase? | [Y]:Yes / [N]:No (recommended)
    
    WARNING:
    -----------------
    Starting from v1909 WinSxS files needs to be retained for installing updates in the future due to new update format.
    The Toolkit doesn't use the /ResetBase switch by default.
    (My English is not perfect, sorry)
     
  7. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,019
    93,839
    450
  8. mhussain

    mhussain MDL Senior Member

    Oct 1, 2012
    348
    138
    10
    @MSMG hi,
    would it be possible for you to add support to remove the Delivery Optimization component and sub components?
    the components that allow you to download windows updates via peer to peer file shareing?
    thanks,
    Majid
     
  9. Yanta

    Yanta MDL Senior Member

    May 21, 2017
    458
    258
    10
    With the reinstall of Defender, there are two lists offered. Would just like to confirm which I should be using.

    @Ace2 do single entries on your list actually include multiple entries from the @MSMG list?

     
  10. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,374
    1,159
    60
  11. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,897
    10,733
    240
    yay, Dism really is a fundamental tool for all of us, although in my view a little slow i think ;):)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. rorewe4314

    rorewe4314 MDL Member

    Jun 18, 2020
    107
    22
    10
    MSMG,
    I still don’t understand if the components will recover after the update or not?
    Will you make any attempts to solve this problem?

    p.s
    I cannot have any guarantees that any other application will block more effectively than you!
     
  13. #16774 Deleted member 1385001, Oct 16, 2020
    Last edited by a moderator: Oct 20, 2020
    @admin : Please delete all my comments from MSMG thread.
     
  14. doubtfire

    doubtfire MDL Junior Member

    May 26, 2015
    91
    8
    0
    I didn't see anything in the first post, so I'll ask:

    Does anyone have a list of all the safe-to-remove bloat that I can use to remove everything in batch? Right now I'm having to individually go from the main menu -> remove > windows components,etc > again and again

    But the software is able to read a text-file list (from somewhere...) and use that.
     
  15. coleoptere2007

    coleoptere2007 MDL Guru

    Apr 8, 2008
    3,313
    1,938
    120
    @doubtfire try in a VM and you'll see by yourself :)
     
  16. Great_Gwyn

    Great_Gwyn MDL Novice

    Jun 4, 2020
    13
    6
    0
    Sorry for being this ignorant, but...

    Why bother on removing things that will come back whenever you upgrade from WU?

    I'm still on v1809 for this matter.

    Thanks.
     
  17. kibkalo

    kibkalo MDL Addicted

    Sep 8, 2009
    549
    219
    30
    I have mounted source from DVD folder
    Integrated Language Pack to both images in boot.wim and 7 images in install.wim
    What is a correct procedure to remove original language pack?
    1) Ideally script to remove packages
    2) Commands to set default new one - /Set-UILangFallback, /Set-UILang/Gen-LangINI /Set-InputLocale in boot.wim and install.wim?

    Anyone done the task?
    MSMG 10.7beta, 19041 image
     
  18. Yanta

    Yanta MDL Senior Member

    May 21, 2017
    458
    258
    10