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

    InBloatsDen MDL Novice

    Aug 12, 2023
    8
    3
    0
    A little late reply, but a reminder that you and in general everyone should decide what's being disabled line-by-line and be sure it fits your needs instead of using a giant predetermined list.
    Open the services list and look at the description of WLAN AutoConfig. I have not dug deeper to see if SSID settings can be manually enforced without going through the flyout interface, but even with saved settings (as seen in the adapter properties) I believe I remember the connection dropping as soon as the service was disabled when I last tested, so for now that service is required.
     
  2. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,405
    14,153
    120
    Thanks checked my services advanced list & is set to auto.
    Code:
     {
                             "description":  "WLAN AutoConfig",
                             "name":  "WlanSvc",
                             "start":  2
                         },
     
  3. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    874
    30
    Did you remove the Broadcom WiFi clients?

    Edit: And run it without disabling any services. You can disable or enable any in Windows later with Autoruns.

    Second Edit: Or just enable any already disabled services IN WINDOWS with Autoruns. Save you reinstalling Windows.
     
  4. GodHand

    GodHand MDL Addicted

    Jul 15, 2016
    534
    926
    30
    Yes, I realize there's been another delay. I've had an update to push to Github for a while now but have not been able to test it on my personal workstation because since updating my NIC cards, Hyper-V has been an absolute whiny b*tch with a plethora of intermittent issues. "Well, why not just swap to a Hypervisor 1 program like VMWare?" I will most likely do that, but the convenience of me using the abysmal Hyper-V was it having its own PShell cmdlets. This allowed me to create an optimized image, then create and format the proper partition layouts for a VHDX, applying the image and then automatically starting it and running a post-install debugger...all using a single command. I suppose I could just use my server instead. Eh, either way I'll get it pushed to Github this week.

    Incorporating Windows 11 support into the current Windows 10 framework has created a module package well above the size I like because it makes tracking down issues a pain. I am considering making the Windows 11 optimizations its own module which will be automatically called when detected within the primary framework module.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. zbigniew59

    zbigniew59 MDL Senior Member

    May 14, 2016
    373
    171
    10
  6. KedarWolf2023

    KedarWolf2023 MDL Novice

    Jan 29, 2023
    5
    1
    0
    #2227 KedarWolf2023, Feb 28, 2024
    Last edited: Feb 28, 2024
    @gdeliana Neither the populateTemplates.bat or populateLists.bat are working for me, nothing gets added to any list or template.

    I also noticed opening the ISO with the GUI, it doesn't populate any apps at all if I choose Select as all the options.
     
  7. KedarWolf2023

    KedarWolf2023 MDL Novice

    Jan 29, 2023
    5
    1
    0
    it's me though, my regular login is no longer sending me emails for two-factor authentication.
     
  8. zb9525

    zb9525 MDL Novice

    Apr 24, 2017
    40
    22
    0
    @gdeliana
    26063 WindowsApps can not delete
     
  9. KedarWolf2023

    KedarWolf2023 MDL Novice

    Jan 29, 2023
    5
    1
    0
    It was a problem with my Windows, not the script.
     
  10. KedarWolf2023

    KedarWolf2023 MDL Novice

    Jan 29, 2023
    5
    1
    0
    In latest commit, using List isn't working. In the GUI only options are Blacklist and Whitelist and it doesn't populate anything from any of the lists like CapabilitiesList.json @gdeliana
     
  11. zb9525

    zb9525 MDL Novice

    Apr 24, 2017
    40
    22
    0
    @gdeliana
    26058 The above version, 22631 dism cannot be deleted WindowsApps
    thk
     
  12. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    365
    428
    10
    Hello Everyone,

    After some silence time from my side i have decided to abandon the fork of optimize-offline. Hopefully @GodHand will provide stable updates.

    Anyways, you all can fork it and modify as you need.

    The reason behind my choice is because i don't see Microsoft heading in a right direction with Windows, and frankly speaking i am tired of continuously monitoring changes of Microsoft. For me the operating system feels like an adware and long is gone the good old experience of windows 7.

    Personally i use Windows only for gaming and the rest i do in Manjaro (Arch linux derivative). I feel linux distros have made a huge way forward, and soon they will completely replace, the usage of Windows, even for beginner users.

    Wish you all the best,
    Genci
     
  13. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    I'm making my tool handle the data searches within the image and, autonomously, create the menus for the User, because of exactly what you said.
    But there are always new details to be thought about.

    Now the new telemetry concern is AIs, in Windows it is the copilot.
    Even if it was launched with a mode of choice for the user to activate in features... But it's forced, it seems to me that it's a turbocharged Cortana, so they renamed it to replace it.
     
  14. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    365
    428
    10
    Everything that Microsoft buys/owns it just degrades over time.

    I cannot mention lately, how many technologies and apps they ruined, such as the famous LinkedIn, forget about getting job opportunities unless you pay.
    ChatGPT, since open-AI adapted the model to the AZURE open-AI, the quality of the results fell down.

    Ex-Employees of Microsoft itself have commented over the disgrace of the new W11 taskbar and start menu.

    The start menu feels completely obsolete, it does absolutely nothing, the design is bad and it shows no frequent apps like the previous w7 start menu.

    I just don't want to comment anymore, because it makes me even more pissed and sad that such great company that used to be Microsoft to fall so badly.

    I wouldn't mind paying them 200 bucks license, if they gave me a rigorous and crap free OS
     
  15. SerpentDash

    SerpentDash MDL Novice

    Jul 17, 2019
    8
    7
    0
    Ok, I think I found what was causing:
    Basically script for cleaning root folder of iso was removing too much. For 24H2, the file that must stay is 'setuphost.exe'.

    Under: "Src\Public\Optimize-InstallMedia.ps1"
    Edit line 11 to look like this:
    ... -Exclude @('EI.cfg', 'gatherosstate.exe', 'setup.exe', 'setuphost.exe', 'lang.ini', ...

    After that, you can use old installer (new one for some reason will throw error after ~5%)

    Keep in mind, if you use autounattended with windowsPE pass, you won't be able to select old installer option.
     
  16. zb9525

    zb9525 MDL Novice

    Apr 24, 2017
    40
    22
    0
    modify
    -Exclude @('*.*')
     
  17. Monsta Kody

    Monsta Kody MDL Junior Member

    Jun 15, 2009
    84
    33
    0
    I have been using the Optimize offline script for years to customize my Windows ltsc.
    With the tips above I managed to get 24h2 the way I want it.
    List isn't working so I removed everything manually after populate templates:

    Code:
        "SourcePath": "D:\\Zuig\\en-us_windows_11_iot_enterprise_ltsc_2024_x64_dvd_f6b14814.iso",
        "WindowsApps": "None",
        "SystemApps": "Select",
        "Capabilities": "Select",
        "Packages": "Select",
        "FeaturesToEnable": "List",
        "FeaturesToDisable": "List",
        "Services": "None",
        "DeveloperMode": false,
        "WindowsStore": false,
        "MicrosoftEdge": false,
        "Win32Calc": false,
        "DormantDefender": true,
        "Dedup": false,
        "DaRT": [],
        "Registry": true,
        "OutputPath": "default",
        "Additional": {
            "Setup": false,
            "Wallpaper": true,
            "SystemLogo": false,
            "LockScreen": false,
            "RegistryTemplates": true,
            "LayoutModification": false,
            "Unattend": false,
            "Drivers": false,
            "NetFx3": false
        },
        "ComponentCleanup": true,
        "ISO": "No-Prompt",
        "CompressionType": "Maximum",
        "SelectiveRegistry": {
            "DisableWindowsUpgrade": false,
            "DisableWindowsUpdateMicrosoft": false,
            "DisableDriverUpdate": true,
            "DormantOneDrive": true,
            "Disable3rdPartyApps": false,
            "W11ClassicContextMenu": false,
            "ExplorerUIRibbon": false,
            "ClassicSearchExplorer": false,
            "RemoveTaskbarPinnedIcons": false,
            "DisableTeamsApp": false,
            "DisableVirtualizationSecurity": false,
            "RunAsTiContextMenu": false,
            "AmoledBlackTheme": false
        },
        "ShutDownOnComplete": false,
        "FlashToUSB": "Off"
    Better not remove Capability "Microsoft.Windows.Sense.Client~~~~",
    The installation survived 2 windows updates without any problems :), thanks for your work!