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. zbigniew59

    zbigniew59 MDL Senior Member

    May 14, 2016
    373
    171
    10
    #841 zbigniew59, Jul 3, 2021
    Last edited: Jul 3, 2021
    And also these -
    "BypassRAMCheck" = dword: 00000001
    "BypassStorageCheck" = dword: 00000001
     
  2. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,320
    13,912
    120
    Possibly not the place to ask, have the win 11 image stripped down pretty well with OO 4.0.1.8, though how to be rid of the pesky widget thing?
     
  3. spanishfly

    spanishfly MDL Senior Member

    Dec 5, 2018
    365
    540
    10
    #843 spanishfly, Jul 3, 2021
    Last edited: Jul 10, 2021
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. zalim581

    zalim581 MDL Novice

    Aug 12, 2019
    30
    6
    0
    These are not necessary tho. The issue isnt about the ISO language but your current windows display language. I used the script for turkish ISO without any changes.
     
  5. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    874
    30
    Yes, you can run the script without changing those but a bunch of things that the script does and applies to the ISO are not done, so really you're not using the script to its full potential.
     
  6. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    365
    428
    10
    I am modifying the script to support W11, but removing Microsoft.SecHealthUI results in an error?? However someone reported that it works.
     
  7. zalim581

    zalim581 MDL Novice

    Aug 12, 2019
    30
    6
    0
    I didnt know that. Do you have a list of what exactly I am missing as I didnt use an en-us iso?

    I never said anything that would sound like that.
     
  8. Somebody must read person suggestions but not suggesting that this must be that or that must be this. Pl read a suggestion properly then ask questions but dont suggest if somebody is not sure of something as its results.
    I Repeat Again Kedarworld has a Vast Experience in this project n he can sort out things at user end or the developer himself.
     
  9. spanishfly

    spanishfly MDL Senior Member

    Dec 5, 2018
    365
    540
    10
    #851 spanishfly, Jul 4, 2021
    Last edited: Jul 6, 2021
    Windows 11 is not officially supported by Optimize-Offline [Build 4.0.1.8 (06-22-2021)]. So anything anyone reports, including myself, is based on a limited level of personal investigation.
    As reported by me in my prior post, for W11, Microsoft.SecHealthUI (Defender) has shifted it's "home." It used to live with other System Apps. The official Optimize-Offline script expects it to still live at this old address. However, Microsoft.SecHealthUI, has packed-up and moved to a new address. It now lives with the Microsoft "metro" Apps.
    Having had a chance to play around with Windows 11, I'm pretty confidant that the guidance I provided in my prior post is correct. I will edit post #807 to clarify my suggested changes and clean-up the code changes needed to help the official Optimize-Offline.psm1 script properly remove Microsoft.SecHealthUI (Defender).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    874
    30
    I got the script to run on Windows 11, but even with your changes in post #807 I get an error message when removing Microsoft.SecHealthUI saying Fail To Remove and script exits.
     
  11. You are absolutely correct because of non removable state set for sechealthui as well as desktop app installer in metro apps.
     
  12. zbigniew59

    zbigniew59 MDL Senior Member

    May 14, 2016
    373
    171
    10
  13. spanishfly

    spanishfly MDL Senior Member

    Dec 5, 2018
    365
    540
    10
    #856 spanishfly, Jul 9, 2021
    Last edited: Jul 9, 2021
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. spanishfly

    spanishfly MDL Senior Member

    Dec 5, 2018
    365
    540
    10
    I see.
    I've done all my optimize script runs on a Windows 10 device.
    Do you have a virtual machine with Windows 10 on it that you can use?
    In any event, thanks for the possible warning about Windows 11.
    I'll run the script on a Windows 11 device and let you know how it goes.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Brother you are again very very correct . Agreed totaly with you. I tested this on the very first day 21996.x is leaked but on 1904x.xxxx it worked like a charm. same happened on 22000.xx.
    Hats off to you for your accurate thesis on this :)
     
  16. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    874
    30
    I've never used VMWare before, I can share my PC D drive but no amount of Googling will allow me to run PowerShell in the share drive in network or copy and paste in a folder on the main C: drive in VMWare, the C drive gives me permission errors and no way to CD to the network drive in PowerShell. :(