Optimize-Offline Guide - Windows Debloating Tool for Windows 1803, 1903, 19H2, 1909 and LTSC 2019

Discussion in 'Windows 10' started by KedarWolf, Jul 30, 2019.

  1. Tyson1

    Tyson1 MDL Novice

    Jul 25, 2010
    6
    3
    0
    Hi there,
    Not related, and a very minor nitpick, can you use the 24-hour specifier (military time), to generate the $SaveDirectory name? (docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings?view=netframework-4.8#HH_Specifier)
     
  2. Mavericks Choice

    Mavericks Choice MDL Expert

    Aug 5, 2015
    1,305
    4,611
    60
    With my testing of 4.0.07 so far there is no improvement I can tell from my last post of #310
    Though very keen on this PS script & sure it will only get better. Thanks @GodHand
     
  3. drew84

    drew84 MDL Addicted

    Mar 13, 2014
    590
    1,037
    30
    ... or simply add the following to additional reg tweaks

    Disable_floating_immersive_Search_bar.reg (Default Setting)

    Code:
    
    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search]
    "ImmersiveSearch"=-
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search\Flighting\Override]
    "CenterScreenRoundedCornerRadius"=-
    "ImmersiveSearchFull"=-
    
    
     
  4. GodHand

    GodHand MDL Senior Member

    Jul 15, 2016
    499
    696
    10
    I could add support for .swm files as a source image as well as the option to split the final optimized image into .swm files. It would not be difficult to integrate that into the current framework nor the next upcoming major build update that uses the WimgApi and DismApi for all imaging and optimization processes.
     
  5. phhhlurrrbpootis

    phhhlurrrbpootis MDL Novice

    Mar 18, 2020
    12
    1
    0
    hi there, I am trying to use this tool on a "Win10_1909_English_x64.iso" and the tool shows a warning :

    WARNING: Optimize-Offline is designed for the "en-US" regional culture. Not all optimizations will be available for the "en-GB" regional culture".

    I have downloaded and tried both "Win10_1909_English_x64.iso" and "Win10_1909_EnglishInternational_x64.iso" but I CANNOT find any en-US versions.
    can i simply ignore this error?
    if thats not possible, then can anyone point me to a en-US version of Win10 1909 64 bit?
     
  6. Disk2019

    Disk2019 MDL Member

    May 15, 2018
    316
    88
    10
    simply ignore & install win10 adk on your host . restart your machine then execute the script using powershell ise as admin . please dont forget to review the results.

    Edit : Win10_1909_English_x64.iso is already en-us . dont worry after adk is installed it wont show anything like that.
     
  7. spanishfly

    spanishfly MDL Novice

    Dec 5, 2018
    27
    23
    0
    You can ignore this error. Is the PC you're using set for the language/regional culture of Great Britain?
    In my experience, I've gotten that warning when working with a definite en-US ISO, but the host PC was set to another language.
     
  8. phhhlurrrbpootis

    phhhlurrrbpootis MDL Novice

    Mar 18, 2020
    12
    1
    0
    yup, the host OS is GB/UK that i downloaded previously.

    update: i have successfully configured and installed the OS without any problem.
    i didnt install ADK (i didnt want to do it either, since last time it took almost 3 hours to download and configure).
     
  9. phhhlurrrbpootis

    phhhlurrrbpootis MDL Novice

    Mar 18, 2020
    12
    1
    0
    this tool is messing up the Sleep feature of windows.

    if i put my laptop to sleep, then it is not able to wake up (cpu fan spins up, hdd spins up but nothing else works, no video, no usb, no keys).

    i tested with installed a clean, unmodified iso and this issue went away. (for this test, i used the base iso without any modifications)

    I am ONLY using the suggested options/toggles in the original post.

    what could be causing this?

    steps to reproduce:
    1. create new ISO with the tool
    2. install OS
    3. install official graphics drivers (i tested with 2 different versions)
    4. test sleep

    Dell Inspiron 15 5575
    AMD Ryzen 5 2500U (Vega 8 iGPU)
    8 GB DDR4
    5400 RPM HDD
     
  10. phhhlurrrbpootis

    phhhlurrrbpootis MDL Novice

    Mar 18, 2020
    12
    1
    0
    i tried the script several times with different configurations and i finally got sleep working with a very minimal config. i THINK enabling HyperV or deactivating language/OCR stuff is the cause, but i cant be certain since i am in absolutely no mood to do any more "testing".

    right now, the laptop is atleast usable and stable. i'll upload my ISO config later.
     
  11. GodHand

    GodHand MDL Senior Member

    Jul 15, 2016
    499
    696
    10
    That will display if the default language for the image is not en-US. It can be ignored and is there simply because there may be some variables or values that are different depending on the default language of the image. For example registry property values.

    Optimize-Offline does not modify or change any default power options. The only change that is made is by the default SetupComplete.cmd script in the 'Content\Additional\Setup' folder that turns off hibernation (POWERCFG -H OFF).
     
  12. Tyson1

    Tyson1 MDL Novice

    Jul 25, 2010
    6
    3
    0
    #337 Tyson1, Mar 25, 2020
    Last edited: Mar 25, 2020
    Hi,
    I'm not sure if stuff was removed too aggressively (Win10 x64 20H1 19041 SLOW), but:
    - missing Windows Ink Workspace (Win+W)
    - completely missing on the sidebar of Settings > Devices: Pen & Windows Ink
    - explorer ms-screenclip: says I need to install a new application. Same when clicking new in Snip & Sketch app (ScreenSketch.exe)

    2020-03-21T17:08:22 [INFO]: Removing Provisioned App Package: Microsoft.DesktopAppInstaller
    2020-03-21T17:08:25 [INFO]: Removing Provisioned App Package: Microsoft.Getstarted
    2020-03-21T17:08:28 [INFO]: Removing Provisioned App Package: Microsoft.Microsoft3DViewer
    2020-03-21T17:08:31 [INFO]: Removing Provisioned App Package: Microsoft.MSPaint
    2020-03-21T17:08:33 [INFO]: Removing Provisioned App Package: Microsoft.SkypeApp
    2020-03-21T17:08:36 [INFO]: Removing Provisioned App Package: Microsoft.Xbox.TCUI
    2020-03-21T17:08:39 [INFO]: Removing Provisioned App Package: Microsoft.XboxApp
    2020-03-21T17:08:42 [INFO]: Removing Provisioned App Package: Microsoft.XboxGameOverlay
    2020-03-21T17:08:45 [INFO]: Removing Provisioned App Package: Microsoft.XboxGamingOverlay
    2020-03-21T17:08:48 [INFO]: Removing Provisioned App Package: Microsoft.XboxIdentityProvider
    2020-03-21T17:08:50 [INFO]: Removing Provisioned App Package: Microsoft.XboxSpeechToTextOverlay
    2020-03-21T17:08:53 [INFO]: Removing Provisioned App Package: Microsoft.YourPhone
    2020-03-21T17:08:56 [INFO]: Removing Provisioned App Package: Microsoft.ZuneMusic
    2020-03-21T17:08:59 [INFO]: Removing Provisioned App Package: Microsoft.ZuneVideo
    2020-03-21T17:13:14 [INFO]: Removing System App: Microsoft.Windows.CallingShellApp
    2020-03-21T17:13:16 [INFO]: Removing System App: Microsoft.Windows.FileExplorer
    2020-03-21T17:13:18 [INFO]: Removing System App: Microsoft.Windows.ParentalControls
    2020-03-21T17:13:20 [INFO]: Removing System App: Microsoft.Windows.XGpuEjectDialog
    2020-03-21T17:13:22 [INFO]: Removing System App: MicrosoftWindows.Client.CBS
    2020-03-21T17:13:24 [INFO]: Removing System App: Microsoft.XboxGameCallableUI
    2020-03-21T17:13:26 [INFO]: Removing System App: Windows.CBSPreview
    2020-03-21T17:13:28 [INFO]: Disabling Services, Drivers and Integration Content for Removed Apps.
    2020-03-21T17:13:29 [INFO]: Importing Custom App Associations.
    2020-03-21T17:14:51 [INFO]: Removing Windows Capability: Hello.Face.18967
    2020-03-21T17:14:55 [INFO]: Removing Windows Capability: Hello.Face.Migration.18967
    2020-03-21T17:14:59 [INFO]: Removing Windows Capability: MathRecognizer
    2020-03-21T17:15:50 [INFO]: Disabling Optional Feature: MicrosoftWindowsPowerShellV2Root
    2020-03-21T17:19:26 [INFO]: Disabling Optional Feature: Printing-XPSServices-Features
    2020-03-21T17:19:30 [INFO]: Disabling Optional Feature: WorkFolders-Client
    2020-03-21T17:19:33 [INFO]: Disabling Optional Feature: Printing-Foundation-InternetPrinting-Client

    EDIT: It should be "MicrosoftWindows.Client.CBS" User experience and stuff. Still present because of in-place upgrade, but older version.
     
  13. Disk2019

    Disk2019 MDL Member

    May 15, 2018
    316
    88
    10
    is there any emoji panel not working fix after installed optimized-offline iso created using win10 1909 18363.592 as source . a friend asked me this whom i suggested to use this tool for a debloated optimised win10 system. i havent got any solution for this anywhere else thatswhy asking it here if somebody could help.
     
  14. coolguy8

    coolguy8 MDL Novice

    Nov 8, 2017
    2
    0
    0
    Any particular reason Internet Explorer is still set as the default browser in CustomAppAssociations.xml?
     
  15. drew84

    drew84 MDL Addicted

    Mar 13, 2014
    590
    1,037
    30