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

    zalim581 MDL Novice

    Aug 12, 2019
    16
    2
    0
  2. drew84

    drew84 MDL Addicted

    Mar 13, 2014
    734
    1,198
    30
    @zalim581

    Noticed your ISO is tr-TR, as a result it is unlikely you would be able to use this script without some changes.

    Without some info regarding said changes (along with the content of your Configuration.json), I doubt that anyone here
    would be able to point you in the right direction.
     
  3. zalim581

    zalim581 MDL Novice

    Aug 12, 2019
    16
    2
    0
    So what you are saying is that the reason why I'm getting this errors which look like permission errors to me is my Windows media's language? weird..
     
  4. drew84

    drew84 MDL Addicted

    Mar 13, 2014
    734
    1,198
    30
    #464 drew84, May 29, 2020
    Last edited: May 29, 2020
    There is nothing weird about it..... and it is not a permissions issue.
    If you had paid attention (read the thread), you would have known that the script is designed for the en-US culture ..
    any other language requires modification/s (method is covered extensively by myself , KedarWolf etc.. in the thread), and some considerable effort on your part...

    GodHand (himself) has stated if people are prepared to provide translations (to certain parts of the script) he is more than willing to add those cultures to the environment.

    So far, nothing has been forthcoming.
     
  5. zalim581

    zalim581 MDL Novice

    Aug 12, 2019
    16
    2
    0
    #465 zalim581, May 29, 2020
    Last edited: May 29, 2020
    I might be wrong but i think you misunderstand this regional culture requiremnent. The script only shows that warning beacuse the system is in a language other than en-US. This has nothing to with the ISO you are modifying.

    Edit: I made the system language en-US, used with same ISO and errors disappeared.
     
  6. qommonsense

    qommonsense MDL Novice

    Mar 2, 2010
    20
    7
    0
    #466 qommonsense, May 30, 2020
    Last edited: May 30, 2020
    Anybody experienced Start Menu shutting and reopening when trying to access any items in the menu? And remedy? I took out a bunch of stuff.
     
  7. drew84

    drew84 MDL Addicted

    Mar 13, 2014
    734
    1,198
    30
    Would need to know what stuff was removed... but I would start at start menu experience
     
  8. YouAreCrazy

    YouAreCrazy MDL Novice

    Dec 14, 2019
    7
    1
    0
    I guess it's because you removed "Microsoft.Windows.Search"...
     
  9. gemizavo

    gemizavo MDL Novice

    Nov 2, 2018
    3
    1
    0
    Do someone know how to make the ISO bootable in Legacy Bios mode? I used the search, but didn't find a solution for it. In UEFI it works properly.
     
  10. drew84

    drew84 MDL Addicted

    Mar 13, 2014
    734
    1,198
    30
  11. zbigniew59

    zbigniew59 MDL Member

    May 14, 2016
    109
    20
    10
    Where to download it? Any link? I can't see on github?
     
  12. Zeuskk

    Zeuskk MDL Novice

    Aug 27, 2013
    5
    0
    0
    Can I use it with 19042 build?
     
  13. drew84

    drew84 MDL Addicted

    Mar 13, 2014
    734
    1,198
    30
    #474 drew84, Jun 21, 2020
    Last edited: Jun 21, 2020
    Essentially there is no real difference (currently) between 19041 & 19042.. so in theory, yes

    However, you may have to ammend the O-O.psm1 starting from line 1154
    Code:
               $CodeName = Switch ($InstallInfo.Build)
               {
                   17134 { 'RS4'; Break }
                   17763 { 'RS5'; Break }
                   18362 { '19H2'; Break }
                   19041 { '20H1'; Break }
                   19042 { '20H2'; Break }  <--- this may be have to be added
    
     
  14. Mavericks Choice

    Mavericks Choice MDL Expert

    Aug 5, 2015
    1,610
    5,930
    60
    Guys having some trouble getting my head around available passes for the new Dart section in Configuration.json.
    What are the available passes? beside "all". I don't usually enable Dart in my images.
     
  15. KedarWolf

    KedarWolf MDL Senior Member

    Mar 17, 2016
    475
    359
    10
    This worked for me, no Dart.

    Code:
    {
      "_Info": [
        "This is a JSON based Configuration file for Optimize-Offline.",
        "Ensure proper formatting is used when editing the JSON parameter values.",
        "Boolean parameter values use true and false. String parameter values must be enclosed in double-quotes."
      ],
      "SourcePath": "C:\\1\\Win10_19042.331_x64_2020-07-02.iso",
      "WindowsApps": "Select",
      "SystemApps": true,
      "Capabilities": true,
      "Packages": true,
      "Features": true,
      "DeveloperMode": false,
      "WindowsStore": false,
      "MicrosoftEdge": false,
      "Win32Calc": true,
      "Dedup": false,
      "DaRT": [
      ],
      "Registry": true,
      "Additional": {
        "Setup": true,
        "Wallpaper": false,
        "SystemLogo": false,
        "LockScreen": false,
        "RegistryTemplates": true,
        "LayoutModification": false,
        "Unattend": true,
        "Drivers": true,
        "NetFx3": true
      },
      "ISO": "No-Prompt"
    }
    
     
  16. Mavericks Choice

    Mavericks Choice MDL Expert

    Aug 5, 2015
    1,610
    5,930
    60
    #478 Mavericks Choice, Jul 5, 2020
    Last edited: Jul 5, 2020
    Thanks for the quick reply, will do now.

    EDIT: Yes, this sorted the Dart! Wasn't too sure as the changelog doesn't go into much detail.
     
  17. zalim581

    zalim581 MDL Novice

    Aug 12, 2019
    16
    2
    0
    4.0.1.2 has problems regarding iso analyzing. it says unsupported image architechture while 4.0.1.0 doesnt for the exact same iso.
     
  18. strotee

    strotee MDL Junior Member

    Jan 30, 2011
    97
    113
    0
    I've seen that error and it has to do with a misconfigured Configuration.json file. Try using the stock Configuration.json (obviously update SourcePath). You can try clearing out the Dart options but don't try deleting the parameter. This is my entire Configuration.json and it works.

    Code:
    {
      "_Info": [
        "This is a JSON based Configuration file for Optimize-Offline.",
        "Ensure proper formatting is used when editing the JSON parameter values.",
        "Boolean parameter values use true and false. String parameter values must be enclosed in double-quotes."
      ],
      "SourcePath": "Z:\\Projects\\OS\\Windows\\Client\\10\\Win10_17763.1294_x64_2020-07-03.iso",
      "WindowsApps": "Select",
      "SystemApps": true,
      "Capabilities": true,
      "Packages": true,
      "Features": true,
      "DaRT": [
      ],
      "Registry": true,
      "Additional": {
        "RegistryTemplates": true
      }
    }