Optimize-Offline Guide - Windows Debloating Tool, Windows 1803, 1903, 19H2, 1909, 20H1 and LTSC 2019

Discussion in 'Windows 10' started by KedarWolf, Jul 30, 2019.

  1. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    870
    30
    @gdeliana I thought removing "Microsoft.SecHealthUI" was fixed when you're running Windows 11?

    It errors out on me, and the script exits. :(
     
  2. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    365
    420
    10
    Nope it's not fixed yet :rolleyes:

    I haven't been able to find out how to solve that, the db fix mentioned here earlier didn't work out for me. Am thinking to hook another dism.exe from earlier win versions and use that.
     
  3. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    870
    30
    I just did my Optimize Offline Windows 11 ISO in a Windows 10 virtual machine to remove Defender.

    Unlike a Windows 10 ISO, if I try to remove Wordpad from Packages from a Windows 11 ISO, it errors out as well, even if I run the script from Windows 10. :(
     
  4. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    870
    30
    Bit off-topic, but I'm pretty sure my BSOD issues with Windows 11 I never got with Window 10 were from a slightly unstable overclock


    Once I got my 5950x and memory Core Cycler, TM5, stressapptest, Linpack Xtreme AND Y-Cruncher stable, no BSODs in 11. stressapptest and Y-Cruncher were the most important ones.


    I need to game some to be sure, but it's been a day so far and I couldn't even go more than 5-6 hours without a BSOD.
     
  5. AeonX

    AeonX MDL Addicted

    May 24, 2013
    793
    719
    30
    @KedarWolf do you get these problems with the latest CU? Try to go back to the previous patch tuesday if possible, in the last CU preview of november Microsoft made a lot of changes see the changelog and one of them related to SSD is causing issues, so other hardware related issues may exist as well.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. zbigniew59

    zbigniew59 MDL Senior Member

    May 14, 2016
    374
    171
    10
    #1566 zbigniew59, Dec 26, 2021
    Last edited: Dec 26, 2021
    Czy ktoś - mniej znany i ceniony - na tym forum i na dziesięć temat liczyć - szybko szybko może - odpowiedzi na pytania?
    Jeszcze jedna strona na temat postów Kedarolf - KTÓRYCH BARDZO DOCENIAM ZA WSZYSTKI WKŁAD W TEN TEMAT - ORAZ PODSTAWĘ I UTRZYMANIE TEGO TEMATU! :godny:- i nikt nie cofnie się o dwie lub trzy strony - żeby drugie moje pytanie.:(
     
  7. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    870
    30
    I tried to find your question going back three pages, nada.

    Why not just ask again?
     
  8. zbigniew59

    zbigniew59 MDL Senior Member

    May 14, 2016
    374
    171
    10
    #1568 zbigniew59, Dec 26, 2021
    Last edited: Dec 26, 2021
    # 1560 ;)

    • [W11] enable classic search in explorer
    • [W11] UI ribbon W10 style in explorer
    • [W11] enabled classic context menus

    Is it automatic?

    What if I don't want it?
    Because I like the style of the W11?

    It's about the last changes to the script - gdeliana.

    I didn't want to be impatient and insistent.
     
  9. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    870
    30
    Better to @gdeliana

    Then they'll see it for sure.
     
  10. zbigniew59

    zbigniew59 MDL Senior Member

    May 14, 2016
    374
    171
    10
    @gdeliana

    • [W11] enable classic search in explorer
    • [W11] UI ribbon W10 style in explorer
    • [W11] enabled classic context menus
    Is it automatic?
    What if I don't want it?
    Because I like the style of the W11?
    It's about the last changes to the script - gdeliana.
     
  11. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    870
    30
    @gdeliana The Classic Search Box registry tweak broke Windows 11 Search Icon in the taskbar for me. it was so busted I had to make a new ISO and reinstall Windows 11. :(
     
  12. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    870
    30
    Attached is an edited Set-RegistryProperties.ps1 that has those three tweaks removed. It still removes things like the News Feed, Task View button, Widgets button, Chat Icon and MeetNow Icon.

    If you want those left in, let me know.

    Overnight the existing file in the \Src\Public folder.
     

    Attached Files:

  13. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    870
    30
    @gdeliana The Search Icon is broken in Windows 11 with the newest OO build. It's works fine from a Macrium image I saved from an ISO made in an older OO. I tried everything I could to fix it, deleing registry tweaks, nada. :(
     
  14. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    365
    420
    10
    Hello there,

    I may put it as a switch in the future, but for now just delete the lines in the script and that should do it.
     
  15. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    365
    420
    10
    Will have a look on this one.
     
  16. Add Extra Language Files Removal too from offline image system32 as well as syswow64 directories .
     
  17. zbigniew59

    zbigniew59 MDL Senior Member

    May 14, 2016
    374
    171
    10
    Sorry for the attention of noob - in my folders - System 32 and SysWoW64 - these folders - Extra Language Files - occupy 10 MB.
    What do I gain by deleting these folders?
    Besides these - 10 MB? :)
     
  18. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,354
    2,308
    60
    and still the amazing effort continues...
    Code:
    ## Build 4.0.1.9-gdeliana-? (12-27-2021)
       - Added workaround for disabling Defender from W11 host ( Optimize-Offline.psm1 ) (12-27-2021)
       - Migrated some tweaks to SelectiveRegistry.ps1  (12-27-2021)
       - Added additional code for tweaks ( Configuration.json ) (12-27-2021)
       - Added switches for several reg tweaks ( Optimize-Offline.psm1 ) (12-27-2021)
    
    Kudos @gdeliana