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

    Tyson1 MDL Novice

    Jul 25, 2010
    7
    4
    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. spanishfly

    spanishfly MDL Senior Member

    Dec 5, 2018
    352
    527
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    2,908
    12,465
    90
    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
     
  4. spanishfly

    spanishfly MDL Senior Member

    Dec 5, 2018
    352
    527
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,351
    2,307
    60
    ... 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"=-
    
    
     
  6. GodHand

    GodHand MDL Addicted

    Jul 15, 2016
    534
    926
    30
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. GodHand

    GodHand MDL Addicted

    Jul 15, 2016
    534
    926
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. 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?
     
  9. 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.
     
  10. spanishfly

    spanishfly MDL Senior Member

    Dec 5, 2018
    352
    527
    10
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. spanishfly

    spanishfly MDL Senior Member

    Dec 5, 2018
    352
    527
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. 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).
     
  13. 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
     
  14. 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.
     
  15. GodHand

    GodHand MDL Addicted

    Jul 15, 2016
    534
    926
    30
    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).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Tyson1

    Tyson1 MDL Novice

    Jul 25, 2010
    7
    4
    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.
     
  17. 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.
     
  18. 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?
     
  19. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,351
    2,307
    60