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

    drew84 MDL Expert

    Mar 13, 2014
    1,351
    2,307
    60
    Only just noticed this Opimize-Offline 4.0.0.1:

    Module Disclaimer
    • Support will not be given to users who attempt to optimize unsupported builds or previously modified images.
    wonder if that statement is also meant to include alternative localised cultures... somewhat disappointing if that is the case
     
  2. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    870
    30
    I had to go back to 4.0.0.0, 4.0.0.1 wouldn't show the Remove Provisioned Windows Apps window and Whitelist switch never worked, even on an en-US image with no modifications other the W10UI updates installed on it. :(
     
  3. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,351
    2,307
    60
  4. zbigniew59

    zbigniew59 MDL Senior Member

    May 14, 2016
    374
    171
    10
  5. zalim581

    zalim581 MDL Novice

    Aug 12, 2019
    30
    6
    0
    You are aware that the en-US region enforcement is actually for your current Windows's region, right? It has nothing do with the image you are modifying. You can simply change Windows's region option to United States.
     
  6. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,351
    2,307
    60
    Please, klndly explain/expand... as I am actually an idiot/noob/whatever...
     
  7. yatopp

    yatopp MDL Novice

    Jul 17, 2011
    41
    12
    0
    #127 yatopp, Dec 17, 2019
    Last edited: Dec 17, 2019
    I can't seem to get virtualbox to boot the resulting ISO that is created, it just says no boot device/image.
    I followed the OP instructions, fairly conservative selections on stuff to remove and the only real difference in switches is that i leave off the -registry.
    The ISO created by W10UI boots, but not the finalised optimize-offline ISO. Tried with latest and 3.2.7.8. It was working when it was using oscdimg but not the new way.

    Edit: it seems you have to select "Enable EFI (special OSes Only)" to be able to boot it. It never did that before, but seems to be a work-around.
     
  8. zalim581

    zalim581 MDL Novice

    Aug 12, 2019
    30
    6
    0
    Well, its nothing complicated. I just mean that the script checks for your Windows' region setting, not the region of the iso image you are modifying. So all you need to do is changing your Windows region option to US if you dont want to see that warning. You dont need to modify an en-US image.
     
  9. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,351
    2,307
    60
    ... ok all, from what I can glean from @zalim581's previous post (not sure it's what he intended) but..
    it certainly offers up another option, one that I hadn't considered previously, and is worth looking in to.

    The premise is, that the script needs to be run (if you don't want to encounter issues) on an en-US native OS

    .in my case it would have to be on a Virtual Machine, but will check it out.... when I am a little bit more compos mentis :cheers:
     
  10. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,732
    313
    60
    Could you dig up more info on how to UNlink all services from each other? The only tweaks I know for services are:

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp]
    "DependOnService"=hex(7):4e,00,53,00,49,00,00,00,41,00,66,00,64,00,00,00,00,00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WlanSvc]
    "DependOnService"=hex(7):6e,00,61,00,74,00,69,00,76,00,65,00,77,00,69,00,66,00,\
    69,00,70,00,00,00,52,00,70,00,63,00,53,00,73,00,00,00,00,00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Audiosrv]
    "DependOnService"=hex(7):52,00,70,00,63,00,53,00,73,00,00,00,00,00

    sc config tdx start= disabled
    sc config ndisuio start= disabled

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{6bdd1fc6-810f-11d0-bec7-08002be2092f}]
    "UpperFilters"=hex(7):00,00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e96c-e325-11ce-bfc1-08002be10318}]
    "UpperFilters"=hex(7):00,00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{71a27cdd-812a-11d0-bec7-08002be2092f}]
    "LowerFilters"=hex(7):00,00
    "UpperFilters"=hex(7):00,00

    sc config fvevol start= disabled
    sc config rdyboost start= disabled
    sc config iorate start= disabled
    sc config volsnap start= disabled
    sc config ksthunk start= disabled
     
  11. zbigniew59

    zbigniew59 MDL Senior Member

    May 14, 2016
    374
    171
    10
  12. Heimnetz

    Heimnetz MDL Novice

    Jun 5, 2014
    14
    3
    0
  13. fLOW.

    fLOW. MDL Senior Member

    Jul 28, 2009
    475
    571
    10
    check your path, if you are using the default root directory for the script > Optimize-Offline-4.0.0.2 - try changing the folder name to OptimizeOffline and see what happens

    TLDR: Avoid using symbols in the path
     
  14. GodHand

    GodHand MDL Addicted

    Jul 15, 2016
    534
    926
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,732
    313
    60
    This is my new Go-To Tool! Thank you so much for your hard work!