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
  2. this means i am not only the one with same error as described by zbigniew59 with images.
     
  3. SuperVas220

    SuperVas220 MDL Novice

    May 4, 2018
    8
    2
    0
    The WindowsApps selection is restored for education and enterprise versions of Windows 10, but not for LTSC versions!!!
    The LTSC editions have far less bloat, but some of these apps can be removed, also.
     
  4. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    365
    428
    10
    How can i keep store compatibility with the script? Which apps should i keep in order for store and store games to work?
     
  5. this script worked today flawlessly with some changes .
    Final Lite win10 Pro iso is created of size 2.1gb.

    <<<<<<Awesome work >>>>>>>
     
  6. quakze

    quakze MDL Junior Member

    Dec 15, 2011
    74
    16
    0
     

    Attached Files:

  7. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    365
    428
    10
    Thanks, but i am not using ltsc, I don't want to add store to a storeless windows source, i want to keep store on windows home.
     
  8. zbigniew59

    zbigniew59 MDL Senior Member

    May 14, 2016
    373
    171
    10
  9. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,396
    2,376
    60
  10. absolutely correct steps by Drew84 brother .
     
  11. zbigniew59

    zbigniew59 MDL Senior Member

    May 14, 2016
    373
    171
    10
  12. quakze

    quakze MDL Junior Member

    Dec 15, 2011
    74
    16
    0
    wish you health, get well soon :)
     
  13. Assasin13

    Assasin13 MDL Novice

    Aug 14, 2016
    23
    2
    0
    Any idea why I get this problem?
     
  14. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    874
    30
    Right in OP.

    You may need to enable scripts on your PC by running in the Powershell prompt.

    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

    If you keep getting the 'Run Once' error, just right click on the Optimize-Offline-4.0.0.1.zip and choose 'Unblock' before unzipping it.
     
  15. Assasin13

    Assasin13 MDL Novice

    Aug 14, 2016
    23
    2
    0
    Replying to myself. I needed to unblock the script although now I am getting this:
    I can create the iso from windows 7 machine right?

    @KedarWolf: Yes you are right I needed to unblock the scripts. Still cannot run though
     
  16. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    874
    30
    Don't put the ISO in the Optimize Offline folder. Try making a folder on the D:\ drive like D:\ISO, copy the ISO into it and then use "SourcePath": "D:\\ISO\\Win10_1909_(18363.535)_RETAIL.iso",

    Also, mount your ISO by double-clicking on it, check in the Sources folder and make sure it has an install.wim not an install.esd.
     
  17. Pir8pete

    Pir8pete MDL Member

    Nov 15, 2018
    114
    32
    10
    #160 Pir8pete, Jan 6, 2020
    Last edited: Jan 6, 2020
    I edit with notepad ++
    I"m running this on my win7

    tried "SourcePath": "D:\\_Temp\\Win10_1909_(18363.535)_RETAIL.iso", and still NO go. Not sure how this simple thing can be so hard. theres something wrong with the scripting here!

    it has .wim it's the MSDN untouched virgin


    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": "D:\\_Temp\\Win10_1909_(18363.535)_RETAIL.iso",
      "WindowsApps": "All",
      "SystemApps": true,
      "Capabilities": true,
      "Packages": true,
      "Features": true,
      "DeveloperMode": false,
      "WindowsStore": false,
      "MicrosoftEdge": false,
      "Win32Calc": true,
      "Dedup": true,
      "DaRT": "Setup",
      "Registry": true,
      "Additional": true,
      "ISO": "No-Prompt"
    }
    I tried right in the main dir too same thing just quickly closes and does nothing!