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,396
    2,376
    60
    #401 drew84, Apr 14, 2020
    Last edited: Apr 15, 2020
  2. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,396
    2,376
    60
    Update to Previous Post: Developer Mode

    Running O-O-4.0.0.7 and O-O-4.0.0.8 with the same configuration

    Code:
    WARNING: Optimize-Offline is designed for the "en-GB" regional culture. Not all optimizations will be available for the "en-US" regional culture.
    Supported Image Build: [19041]
    Mounting Windows 10 Enterprise
    Pre-Optimization Image State [Healthy]
    
    Optimize-Offline-4.0.0.7
    Code:
    2020-04-15T07:57:44 [INFO]: Enabling Optional Feature: Microsoft-Windows-Subsystem-Linux
    2020-04-15T07:57:58 [INFO]: Integrating the Developer Mode Feature Package.  .......................... <<<-- DM Integrated
    2020-04-15T07:58:06 [INFO]: Integrating the Win32 Calculator.
    2020-04-15T07:58:09 [INFO]: Applying Optimized Registry Settings.
    2020-04-15T07:58:22 [INFO]: Importing Registry Template: Additional Tweaks.reg
    

    Optimize-Offline-4.0.0.8
    Code:
    2020-04-15T07:36:51 [INFO]: Enabling Optional Feature: Microsoft-Windows-Subsystem-Linux
    ....................................................................................................... <<<-- DM Skipped ???
    2020-04-15T07:37:02 [INFO]: Integrating the Win32 Calculator.
    2020-04-15T07:37:05 [INFO]: Applying Optimized Registry Settings.
    2020-04-15T07:37:18 [INFO]: Importing Registry Template: Additional Tweaks.reg
    
     
  3. GodHand

    GodHand MDL Addicted

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

    drew84 MDL Expert

    Mar 13, 2014
    1,396
    2,376
    60
    ... I first mentioned how to integrate DM on 28th March Post #363 using O-O-4.0.0.7, yet somehow latest version (4.0.0.8) won't accomodate this... See post before yours
    The 10941 DM package resides (has been placed) in O-O packages folder.

    Just to let you know, really appreciate your sustained effort with O-O, and all your other contributions, here at MDL.. Cheers
     
  5. GodHand

    GodHand MDL Addicted

    Jul 15, 2016
    534
    926
    30
    I pushed build 4.0.0.9 to GitHub that includes the 19041 developer mode package and the telemetry change addressed by user @fLOW.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,320
    13,904
    120
    Ran the latest build on 19041 only error encountered was:
    Ran in a VM cannot see any noticeable problems caused by this?
     
  7. exadeci

    exadeci MDL Novice

    Feb 15, 2011
    5
    0
    0
    Hello,

    I didn't check to disable Cortana but now the immersive search isn't working. Any recommended way of getting it back?
     
  8. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,396
    2,376
    60
    Enable floating immersive search bar
    Code:
    
    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search]
    "ImmersiveSearch"=dword:00000001
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search\Flighting\Override]
    "CenterScreenRoundedCornerRadius"=dword:00000000
    "ImmersiveSearchFull"=dword:00000000
    
    

    Enable floating immersive search bar with round corners
    Code:
    
    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search]
    "ImmersiveSearch"=dword:00000001
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search\Flighting\Override]
    "CenterScreenRoundedCornerRadius"=dword:00000009
    "ImmersiveSearchFull"=dword:00000000
    
    

    Enable floating immersive FULL search bar
    Code:
    
    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search]
    "ImmersiveSearch"=dword:00000001
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search\Flighting\Override]
    "CenterScreenRoundedCornerRadius"=dword:00000000
    "ImmersiveSearchFull"=dword:00000001
    
    

    Enable floating immersive FULL search bar with round corners
    Code:
    
    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search]
    "ImmersiveSearch"=dword:00000001
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search\Flighting\Override]
    "CenterScreenRoundedCornerRadius"=dword:00000009
    "ImmersiveSearchFull"=dword:00000001
    
    

    Disable floating immersive search bar (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"=-
    
    
     
  9. exadeci

    exadeci MDL Novice

    Feb 15, 2011
    5
    0
    0

    Thank you but I do have this already and it didn't seems to change anything, I think I just messed up the search as it doesn't work in explorer either.
     
  10. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,396
    2,376
    60
    ... methinks you must have removed search, check your logs
     
  11. exadeci

    exadeci MDL Novice

    Feb 15, 2011
    5
    0
    0
    I wipe the machine I build the image on as it's the same. So no way to bring it back then?
     
  12. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,396
    2,376
    60
    Check my Post #398
     
  13. exadeci

    exadeci MDL Novice

    Feb 15, 2011
    5
    0
    0
  14. zbigniew59

    zbigniew59 MDL Senior Member

    May 14, 2016
    373
    171
    10
    #415 zbigniew59, Apr 18, 2020
    Last edited: Apr 18, 2020
    Is there a way to optimize - offline the newest 19041 system immediately had a 7GB reserved space turned off?
    I found it - DISM.exe / Online / Set-ReservedStorageState / State: Disabled - but where to put it in the script?
     
  15. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,396
    2,376
    60
    ReservedStorage is Disabled by default by O-O

    reference can be found in Set-RegistryProperties.ps1 change to -Value 1 (to Enable)
    Code:
    $RegistryData.DisableReservedStorage | Out-File -FilePath $RegistryLog -Encoding UTF8 -Append -Force
    RegKey -Path "HKLM:\WIM_HKLM_SOFTWARE\Microsoft\Windows\CurrentVersion\ReserveManager" -Name "PassedPolicy" -Value 0 -Type DWord
    RegKey -Path "HKLM:\WIM_HKLM_SOFTWARE\Microsoft\Windows\CurrentVersion\ReserveManager" -Name "ShippedWithReserves" -Value 0 -Type DWord
    
    .. one recommendation is to remove these lines, and it's reference in Set-RegistryProperties.strings.psd1 change to Enable & Enabling (if indeed Enabling RS)
    Code:
    DisableReservedStorage               = Disabling Reserved Storage.
    
    as DISM offers greater control (more flexibility, off, on, size...) over ReservedStorage on live OS
     
  16. spanishfly

    spanishfly MDL Senior Member

    Dec 5, 2018
    365
    540
    10
    #417 spanishfly, Apr 18, 2020
    Last edited: Aug 27, 2020
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Angela Pszbor

    Angela Pszbor MDL Senior Member

    Apr 11, 2014
    297
    85
    10
    #418 Angela Pszbor, Apr 20, 2020
    Last edited: Apr 20, 2020
    I discovered that when I did a clean install windows 10 pro and imediatelly disconect my net and did some modifications on the regedit
    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager
    I put all keys with value 0 and restart
    Later Cortana missed when I enabled my net
     
  18. spanishfly

    spanishfly MDL Senior Member

    Dec 5, 2018
    365
    540
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. Angela Pszbor

    Angela Pszbor MDL Senior Member

    Apr 11, 2014
    297
    85
    10