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

    phazer11 MDL Novice

    Jan 20, 2017
    35
    6
    0
    Bumping these. Might have to switch to base *barf* install of Windowes for a bit Linux isn't able to fully utilize all of my laptops powerful parts due to the way everything is integrated.
     
  2. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    363
    410
    10
  3. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    363
    410
    10
    Should be fixed now with latest master branch :)
     
  4. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    870
    30
    Still doing the same thing, deleting ALL the apps, whitelist not working. I don't think your push worked. :(
     
  5. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    363
    410
    10
    Nope that was not for your issue, but for the executionpolicy issue, your issue is different, as i mentioned in my post earlier to you, your list naming convention is outdated. Check the master and copy all the /Content/Lists folder and overwrite anything. The whitelist for windows apps is in: /Content/Lists/WindowsAppsList.json
     
  6. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    870
    30
    I did all the lists using WhiteAppList and all the other lists. GUI won't even open with configuration.json as below.

    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.",
                      "WindowsApps, SystemApps, Capabilities, Packages : All | None | Select | Whitelist | Blacklist",
                      "FeaturesToEnable, FeaturesToDisable : All | None | Select | List",
                      "Services : None | Select | List | Advanced",
                      "OutputPath : default | path[{filename}?] | select",
                      "FlashToUSB: Off | UEFI | Legacy"
                  ],
        "SourcePath":  "C:\\1\\22000.1281.221108-1705.CO_RELEASE_SVC_PROD3_CLIENT_X64FRE_EN-US.iso",
        "SystemApps":  "Whitelist",
        "WindowsApps":  "Whitelist",
        "Capabilities":  "Whitelist",
        "Packages":  "Whitelist",
        "FeaturesToEnable":  "List",
        "FeaturesToDisable":  "List",
        "Services":  "Advanced",
        "DeveloperMode":  false,
        "WindowsStore":  false,
        "MicrosoftEdge":  false,
        "Win32Calc":  true,
        "DormantDefender":  true,
        "Dedup":  false,
        "DaRT":  [
    
                 ],
        "Registry":  true,
        "OutputPath":  "default",
        "Additional":  {
                           "Setup":  true,
                           "Wallpaper":  false,
                           "SystemLogo":  false,
                           "LockScreen":  false,
                           "RegistryTemplates":  true,
                           "LayoutModification":  true,
                           "Unattend":  true,
                           "Drivers":  true,
                           "NetFx3":  true
                       },
        "ComponentCleanup":  false,
        "ISO":  "No-Prompt",
        "CompressionType":  "Solid",
        "SelectiveRegistry":  {
                                  "DisableWindowsUpgrade":  false,
                                  "DisableWindowsUpdateMicrosoft":  false,
                                  "DisableDriverUpdate":  true,
                                  "DormantOneDrive":  true,
                                  "Disable3rdPartyApps":  true,
                                  "W11ClassicContextMenu":  false,
                                  "ExplorerUIRibbon":  true,
                                  "ClassicSearchExplorer":  true,
                                  "RemoveTaskbarPinnedIcons":  true,
                                  "DisableTeamsApp":  true,
                                  "DisableVirtualizationSecurity":  false,
                                  "RunAsTiContextMenu":  true,
                                  "AmoledBlackTheme":  false
                              },
        "ShutDownOnComplete":  false,
        "FlashToUSB":  "UEFI"
    }
    
     
  7. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    363
    410
    10
    Man sorry, but i cannot reproduce your errors, i think you should start with a new folder, and copy there the entire master branch and copy and paste the list items into their proper json lists by hand manually.
     
  8. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    363
    410
    10
    Would like to ask anyone here: Wouldn't it be better the Legacy USB flashing to initialize the USB in MBR rather than GPT scheme? I had last week a notebook from 2010, and even the legacy option failed to boot in that bios. But when i did the usb with Rufus with MBR it booted perfectly. So i think legacy should have MBR rather than GPT.
     
  9. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    870
    30
    Yes, Legacy should be MBR.
     
  10. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    2,885
    12,377
    90
    Yes all working good now thank you.
     
  11. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    870
    30
    Working now, the GUI never liked spaces in my main folder name.
     
  12. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    363
    410
    10
    Is there any error popping out in the console? You can run the gui with this command from powershell when you are in the root folder of OO tool:

    Code:
    .\Src\GUI\Start.ps1
    Like this you will see the errors.
     
  13. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    363
    410
    10
    Execution Policy is done for good this time, in all bat launchers & GUI. No more manually setting globally execution policy, as it can be a threat to the whole system. Bypass mode is being used only for the OO tool, anything else apart that has the global execution policy setting.

    Am looking forward for feedback regarding USB booting on old bios-es. I thought it would fix making legacy to MBR, but we already have that like that, so there must be something else, which i will try to identify.

    @KedarWolf Will try with spaces in the directory name and let you know my findings. Thanks
    @RisenRayzen Have fixed the BootWim image index when no recovery image is present in boot.wim. Whenever you can give it a try in latest master. Thanks
     
  14. my dear friend gdeliana

    19 september 2022 is the latest release . why commits are not staged into a release of git repo.
     
  15. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    363
    410
    10
    Hello mate :)

    Yes you right, long time no release, i will finish with the bug of spaces in the OO directory name, and today/tomorrow comes the release. Just trying to make as much as possible a bugless release :)

    Despite that, you can download the master branch as a zip file in github. Releases are just tags after all of the branch.
     
  16. ok my dear friend . you are doing a flawless job :) thanks a lot for all your support.
     
  17. phazer11

    phazer11 MDL Novice

    Jan 20, 2017
    35
    6
    0
    So trying to use your latest master branch and it will (unlike latest release) get to the end where it's saving the image but then it freezes and shows as "suspended" in task manager with no disk activity or CPU. I've seen this with system apps and services but never with a foreground program. Ideas?