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

    ashish1989 MDL Senior Member

    Sep 20, 2013
    357
    30
    10
    Will share soon
     
  2. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,354
    2,308
    60
    #1122 drew84, Aug 4, 2021
    Last edited: Aug 4, 2021
    @ashish1989, "Packages" relates to Features on Demand (FOD) packages...
    ... they are available (dormant) packages - should you wish to employ them... removing them, saves you (maybe) a few megabytes (on a completed [modified] image) - not worth it

    The disadvantage is (once removed) you have to go through a far more incovenient method to re-integrate/re-install them... Should you (have the need, or) wish to.
    ... best left alone, unless you (actually) know what you are doing (... and I am sorry if you find this offensive.. but you don't) so... set your packages parameter to "None"

    you can take my advice or not, up to you...........................

    Already (including other contributions) posted info on how to deal with this script, but so far, can se no evidence that you are paying attention :(


    ... and seriously if you can't follow this, .... if I make a comment here... I will probably be banned

    S******

     
  3. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    365
    420
    10
  4. zbigniew59

    zbigniew59 MDL Senior Member

    May 14, 2016
    374
    171
    10
  5. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    2,915
    12,499
    90
    Yes just tested same too. MC.jpg
     
  6. strotee

    strotee MDL Member

    Jan 30, 2011
    229
    204
    10
    Negative, I was able to manually delete the folder without needing to unmount anything or reboot, etc.
     
  7. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    365
    420
    10
    Ok, did you use populateLists parameter?
     
  8. strotee

    strotee MDL Member

    Jan 30, 2011
    229
    204
    10
    No = negative
     
  9. strotee

    strotee MDL Member

    Jan 30, 2011
    229
    204
    10
    #1136 strotee, Aug 5, 2021
    Last edited: Aug 5, 2021
    FWIW, I killed all instances of explorer.exe (like I often have to do with W10UI) and it still left the Temp folder. :(

    Edit: The frown was just some added flair. Fortunately, the folder deletes without having to unmount anything, reboot, etc as I previously noted.
     
  10. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    2,915
    12,499
    90
    #1137 Mavericks Choice, Aug 5, 2021
    Last edited: Aug 5, 2021
    Used the latest fork, all working well, finished in 7 mins including injecting drivers. :cool:
     
  11. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    365
    420
    10
    #1138 gdeliana, Aug 5, 2021
    Last edited: Aug 5, 2021
    The Offline_temp bug seems to be happening with ISO sourcefile. Seems like the ISO folder inside the temp directory is not being deleted as powershell.exe process binds itself on the files and locks them. Am trying to find an alternative way how to copy the ISO files into the directory. Maybe this fails even in the original script as i haven't touched that code at all.

    EDIT: Seems like in powershell 7 is not happening, so for now, if you want ISO remastering use powershell 7.
     
  12. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    870
    30
    I'm going to do a Windows 11 guide in OP soon.

    After much testing, I figured out you can't remove any Packages in Windows 11 I don't think. So I just keep it at "None"

    Edit: And I'm going to include .zip files of premade lists with the most common working apps removal as well. What will work for most people.
     
  13. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    2,915
    12,499
    90
    With my testing agree you can easily break both Win10 & 11 with too much "Package" removal, I like you select "None".