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. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,324
    13,923
    120
    New commit working now as expected thanks.
     
  2. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    874
    30
    New commit for me using Legacy on a 256GB USB.

    Code:
    Index     : 0
    Exception : The parameter is incorrect.
                
    Category  : WriteError: (install.wim:FileInfo) [Copy-Item], IOException
    ErrorID   : CopyDirectoryInfoItemIOError,Microsoft.PowerShell.Commands.CopyItemCommand
    Target    : install.wim
    Command   : Copy-Item @CopyItemParams
    Script    : D:\Optimize-Offline-master (4)\Optimize-Offline-master\Src\Public\Write-USB.ps1
    Line      : 97
    Column    : 3
     
  3. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    365
    428
    10
    I cannot replicate your problem becuase i don't have a 256GB drive as an external flash drive. The error says that there was a write error while copying the install.wim file ;). Could it be that your drive connection the USB port is not constant?
     
  4. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    874
    30
    #2004 KedarWolf, Sep 13, 2022
    Last edited: Sep 13, 2022
    (OP)
    It works as UEFI, just not as Legacy.

    Edit: Tried Legacy on the 256GB Type C USB and a 128GB Type A USB, same problem.
     
  5. MajkelP

    MajkelP MDL Junior Member

    Nov 11, 2015
    59
    26
    0
    I got the same error as @KedarWolf:

    Code:
    Index     : 0
    Exception : The parameter is incorrect.
                
    Category  : WriteError: (install.wim:FileInfo) [Copy-Item], IOException
    ErrorID   : CopyDirectoryInfoItemIOError,Microsoft.PowerShell.Commands.CopyItemCommand
    Target    : install.wim
    Command   : Copy-Item @CopyItemParams
    Script    : D:\Deployment\Optimize-Offline-master\Src\Public\Write-USB.ps1
    Line      : 97
    Column    : 3
    I have got USB 3.0 SanDisk 16GB.

    This is my Configuration.json:

    Code:
    {
      "_Info": [
        "This is a JSON based Configuration file for Optimize-Offline.",
        "Ensure proper formatting is used when editing the JSON parameter values.",
        "Boolean parameter values use true and false. String parameter values must be enclosed in double-quotes.",
        "WindowsApps, SystemApps, Capabilities, Packages : All | None | Select | Whitelist | Blacklist",
        "FeaturesToEnable, FeaturesToDisable : All | None | Select | List",
        "Services : None | Select | List | Advanced",
        "OutputPath : default | path[{filename}?] | select",
        "FlashToUSB: Off | UEFI | Legacy"
      ],
      "SourcePath": "D:\\Deployment\\Optimize-Offline-master\\19045.1949.220822-1642.22H2.ISO",
      "WindowsApps": "Whitelist",
      "SystemApps": "Whitelist",
      "Capabilities": "Whitelist",
      "Packages": "Whitelist",
      "FeaturesToEnable": "List",
      "FeaturesToDisable": "List",
      "Services": "None",
      "DeveloperMode": false,
      "WindowsStore": false,
      "MicrosoftEdge": false,
      "Win32Calc": true,
      "DormantDefender": false,
      "Dedup": true,
      "DaRT": [],
      "Registry": true,
      "OutputPath": "default",
      "Additional": {
        "Setup": false,
        "Wallpaper": false,
        "SystemLogo": false,
        "LockScreen": false,
        "RegistryTemplates": true,
        "LayoutModification": false,
        "Unattend": true,
        "Drivers": false,
        "NetFx3": false
      },
      "ComponentCleanup": false,
      "ISO": "No-Prompt",
      "CompressionType": "Maximum",
      "SelectiveRegistry": {
        "DisableWindowsUpgrade": false,
        "DisableWindowsUpdateMicrosoft": false,
        "DisableDriverUpdate": false,
        "DormantOneDrive": false,
        "Disable3rdPartyApps": true,
        "W11ClassicContextMenu": true,
        "ExplorerUIRibbon": true,
        "ClassicSearchExplorer": true,
        "RemoveTaskbarPinnedIcons": true,
        "DisableTeamsApp": false,
        "DisableVirtualizationSecurity": false,
        "RunAsTiContextMenu": true,
        "AmoledBlackTheme": false
      },
      "ShutDownOnComplete": false,
      "FlashToUSB": "Legacy"
    }
    
    
     
  6. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    365
    428
    10
    Will test
    @KedarWolf No worries am aware now of the problem: Fat32 has 4GB single file limitation. Probably your wim file is > 4GB
     
  7. Space_Janitor_Man

    Space_Janitor_Man MDL Novice

    Jun 20, 2018
    11
    5
    0
    #2007 Space_Janitor_Man, Sep 15, 2022
    Last edited: Sep 16, 2022
    This script is pretty neat! I like how it has error prevention built in and great compression. However, Windows Store not working with this log - can anybody share their advice based on successful installations please?

    I studied the lists provided by KederWolf (and logs provided by others in this thread claiming their installation was successful to boot windows store). Also, I tried a full installation to confirm its not my VM network settings and it worked.

    Code:
    ***************************************************************************************************
    Running Module : Optimize-Offline 4.0.1.9
    Optimize Start : 09/14/2022 05:27:56 PM
    Identity Name  : Test
    Computer Name  : DESKTOP-G743B1E
    ***************************************************************************************************
    
    2022-09-14T17:27:56 [INFO]: Supported Image Build: [22621]
    2022-09-14T17:28:01 [INFO]: Mounting Windows 11 Pro
    2022-09-14T17:29:50 [INFO]: Mounting Microsoft Windows Setup (amd64)
    2022-09-14T17:30:08 [INFO]: Pre-Optimization Image Health State: [Healthy]
    2022-09-14T17:30:13 [INFO]: Removing Provisioned App Package: Clipchamp.Clipchamp
    2022-09-14T17:30:16 [INFO]: Removing Provisioned App Package: Microsoft.BingNews
    2022-09-14T17:30:19 [INFO]: Removing Provisioned App Package: Microsoft.BingWeather
    2022-09-14T17:30:22 [INFO]: Removing Provisioned App Package: Microsoft.GetHelp
    2022-09-14T17:30:24 [INFO]: Removing Provisioned App Package: Microsoft.Getstarted
    2022-09-14T17:30:27 [INFO]: Removing Provisioned App Package: Microsoft.HEVCVideoExtension
    2022-09-14T17:30:29 [INFO]: Removing Provisioned App Package: Microsoft.MicrosoftOfficeHub
    2022-09-14T17:30:32 [INFO]: Removing Provisioned App Package: Microsoft.MicrosoftSolitaireCollection
    2022-09-14T17:30:34 [INFO]: Removing Provisioned App Package: Microsoft.MicrosoftStickyNotes
    2022-09-14T17:30:36 [INFO]: Removing Provisioned App Package: Microsoft.People
    2022-09-14T17:30:39 [INFO]: Removing Provisioned App Package: Microsoft.PowerAutomateDesktop
    2022-09-14T17:30:41 [INFO]: Removing Provisioned App Package: Microsoft.RawImageExtension
    2022-09-14T17:30:43 [INFO]: Removing Provisioned App Package: Microsoft.ScreenSketch
    2022-09-14T17:30:45 [INFO]: Removing Provisioned App Package: Microsoft.SecHealthUI
    2022-09-14T17:30:45 [INFO]: Removing Provisioned App Package: Microsoft.Todos
    2022-09-14T17:30:47 [INFO]: Removing Provisioned App Package: Microsoft.Windows.Photos
    2022-09-14T17:30:49 [INFO]: Removing Provisioned App Package: Microsoft.WindowsAlarms
    2022-09-14T17:30:51 [INFO]: Removing Provisioned App Package: Microsoft.WindowsCalculator
    2022-09-14T17:30:52 [INFO]: Removing Provisioned App Package: Microsoft.WindowsCamera
    2022-09-14T17:30:54 [INFO]: Removing Provisioned App Package: microsoft.windowscommunicationsapps
    2022-09-14T17:30:56 [INFO]: Removing Provisioned App Package: Microsoft.WindowsFeedbackHub
    2022-09-14T17:30:58 [INFO]: Removing Provisioned App Package: Microsoft.WindowsMaps
    2022-09-14T17:30:59 [INFO]: Removing Provisioned App Package: Microsoft.WindowsSoundRecorder
    2022-09-14T17:31:01 [INFO]: Removing Provisioned App Package: Microsoft.YourPhone
    2022-09-14T17:31:02 [INFO]: Removing Provisioned App Package: Microsoft.ZuneMusic
    2022-09-14T17:31:04 [INFO]: Removing Provisioned App Package: Microsoft.ZuneVideo
    2022-09-14T17:31:05 [INFO]: Removing Provisioned App Package: MicrosoftCorporationII.QuickAssist
    2022-09-14T17:31:11 [INFO]: Removing System App: Microsoft.AAD.BrokerPlugin
    2022-09-14T17:31:12 [INFO]: Removing System App: Microsoft.BioEnrollment
    2022-09-14T17:31:13 [INFO]: Removing System App: Microsoft.ECApp
    2022-09-14T17:31:14 [INFO]: Removing System App: Microsoft.LockApp
    2022-09-14T17:31:15 [INFO]: Removing System App: Microsoft.Windows.AddSuggestedFoldersToLibarayDialog
    2022-09-14T17:31:16 [INFO]: Removing System App: Microsoft.Windows.FileExplorer
    2022-09-14T17:31:17 [INFO]: Removing System App: Microsoft.Windows.FilePicker
    2022-09-14T17:31:18 [INFO]: Removing System App: Microsoft.Windows.NarratorQuickStart
    2022-09-14T17:31:19 [INFO]: Removing System App: Microsoft.Windows.ParentalControls
    2022-09-14T17:31:20 [INFO]: Removing System App: Microsoft.Windows.PeopleExperienceHost
    2022-09-14T17:31:21 [INFO]: Removing System App: Microsoft.Windows.XGpuEjectDialog
    2022-09-14T17:31:22 [INFO]: Removing System App: NcsiUwpApp
    2022-09-14T17:31:23 [INFO]: Removing System App: Windows.CBSPreview
    2022-09-14T17:31:25 [INFO]: Disabling Services, Drivers and Integration Content for Removed Apps.
    2022-09-14T17:31:25 [INFO]: Applying Windows Maps removal tweak
    2022-09-14T17:31:26 [INFO]: Applying Microsoft Wallet removal tweak
    2022-09-14T17:31:26 [INFO]: Applying YourPhone removal tweak
    2022-09-14T17:31:27 [INFO]: Applying Microsoft BioEnrollment removal tweak
    2022-09-14T17:31:28 [INFO]: Applying Defender removal tweak
    2022-09-14T17:31:29 [INFO]: Disabling Defender Start-up and Feature Packages.
    2022-09-14T17:31:33 [INFO]: Removing Windows Biometric Capability: Hello.Face.20134~~~~0.0.1.0
    2022-09-14T17:31:40 [INFO]: Disabling Optional Feature: Windows-Defender-Default-Definitions
    2022-09-14T17:31:45 [INFO]: Importing Custom App Associations.
    2022-09-14T17:31:49 [INFO]: Removing Windows Capability: App.StepsRecorder~~~~0.0.1.0
    2022-09-14T17:31:55 [INFO]: Removing Windows Capability: Language.Handwriting~~~en-US~0.0.1.0
    2022-09-14T17:32:01 [INFO]: Removing Windows Capability: Language.OCR~~~en-US~0.0.1.0
    2022-09-14T17:32:07 [INFO]: Removing Windows Capability: Language.Speech~~~en-US~0.0.1.0
    2022-09-14T17:32:14 [INFO]: Removing Windows Capability: MathRecognizer~~~~0.0.1.0
    2022-09-14T17:32:21 [INFO]: Removing Windows Capability: Microsoft.Windows.Ethernet.Client.Intel.E1i68x64~~~~0.0.1.0
    2022-09-14T17:32:30 [INFO]: Removing Windows Capability: Microsoft.Windows.Ethernet.Client.Intel.E2f68~~~~0.0.1.0
    2022-09-14T17:32:38 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Broadcom.Bcmpciedhd63~~~~0.0.1.0
    2022-09-14T17:32:47 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Broadcom.Bcmwl63a~~~~0.0.1.0
    2022-09-14T17:32:56 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Broadcom.Bcmwl63al~~~~0.0.1.0
    2022-09-14T17:33:07 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Intel.Netwbw02~~~~0.0.1.0
    2022-09-14T17:33:20 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Intel.Netwew00~~~~0.0.1.0
    2022-09-14T17:33:30 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Intel.Netwew01~~~~0.0.1.0
    2022-09-14T17:33:42 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Intel.Netwlv64~~~~0.0.1.0
    2022-09-14T17:33:54 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Intel.Netwns64~~~~0.0.1.0
    2022-09-14T17:34:06 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Intel.Netwsw00~~~~0.0.1.0
    2022-09-14T17:34:17 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Intel.Netwtw02~~~~0.0.1.0
    2022-09-14T17:34:34 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Intel.Netwtw04~~~~0.0.1.0
    2022-09-14T17:34:47 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Intel.Netwtw06~~~~0.0.1.0
    2022-09-14T17:34:57 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Intel.Netwtw08~~~~0.0.1.0
    2022-09-14T17:35:07 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Marvel.Mrvlpcie8897~~~~0.0.1.0
    2022-09-14T17:35:15 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Qualcomm.Athw8x~~~~0.0.1.0
    2022-09-14T17:35:23 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Qualcomm.Athwnx~~~~0.0.1.0
    2022-09-14T17:35:31 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Qualcomm.Qcamain10x64~~~~0.0.1.0
    2022-09-14T17:35:38 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Ralink.Netr28x~~~~0.0.1.0
    2022-09-14T17:35:45 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Realtek.Rtl8187se~~~~0.0.1.0
    2022-09-14T17:35:50 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Realtek.Rtl8192se~~~~0.0.1.0
    2022-09-14T17:35:55 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Realtek.Rtl819xp~~~~0.0.1.0
    2022-09-14T17:36:00 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Realtek.Rtl85n64~~~~0.0.1.0
    2022-09-14T17:36:04 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Realtek.Rtwlane~~~~0.0.1.0
    2022-09-14T17:36:08 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Realtek.Rtwlane01~~~~0.0.1.0
    2022-09-14T17:36:12 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Realtek.Rtwlane13~~~~0.0.1.0
    2022-09-14T17:36:16 [INFO]: Removing Windows Capability: Microsoft.Windows.WordPad~~~~0.0.1.0
    2022-09-14T17:36:21 [INFO]: Removing Windows Capability: OneCoreUAP.OneSync~~~~0.0.1.0
    2022-09-14T17:36:26 [INFO]: Removing Windows Capability: OpenSSH.Client~~~~0.0.1.0
    2022-09-14T17:36:35 [INFO]: Disabling Optional Feature: MicrosoftWindowsPowerShellV2Root
    2022-09-14T17:36:39 [INFO]: Disabling Optional Feature: MSRDC-Infrastructure
    2022-09-14T17:36:42 [INFO]: Disabling Optional Feature: Printing-Foundation-InternetPrinting-Client
    2022-09-14T17:36:44 [INFO]: Disabling Optional Feature: SmbDirect
    2022-09-14T17:36:47 [INFO]: Disabling Optional Feature: WorkFolders-Client
    2022-09-14T17:36:52 [INFO]: Modifying windows service: AarSvc, Start: Disabled
    2022-09-14T17:36:53 [INFO]: Modifying windows service: Acx01000, Start: Disabled
    2022-09-14T17:36:54 [INFO]: Modifying windows service: AJRouter, Start: Disabled
    2022-09-14T17:36:55 [INFO]: Modifying windows service: ALG, Start: Disabled
    2022-09-14T17:36:56 [INFO]: Modifying windows service: AppVClient, Start: Disabled
    2022-09-14T17:36:57 [INFO]: Modifying windows service: autotimesvc, Start: Disabled
    2022-09-14T17:36:58 [INFO]: Modifying windows service: BcastDVRUserService, Start: Disabled
    2022-09-14T17:36:59 [INFO]: Modifying windows service: BluetoothUserService, Start: Disabled
    2022-09-14T17:37:00 [INFO]: Modifying windows service: BTAGService, Start: Disabled
    2022-09-14T17:37:01 [INFO]: Modifying windows service: BthAvctpSvc, Start: Disabled
    2022-09-14T17:37:02 [INFO]: Modifying windows service: bthserv, Start: Disabled
    2022-09-14T17:37:03 [INFO]: Modifying windows service: CaptureService, Start: Disabled
    2022-09-14T17:37:04 [INFO]: Modifying windows service: CDPSvc, Start: Disabled
    2022-09-14T17:37:05 [INFO]: Modifying windows service: CDPUserSvc, Start: Disabled
    2022-09-14T17:37:06 [INFO]: Modifying windows service: CertPropSvc, Start: Disabled
    2022-09-14T17:37:07 [INFO]: Modifying windows service: cloudidsvc, Start: Disabled
    2022-09-14T17:37:08 [INFO]: Modifying windows service: CscService, Start: Disabled
    2022-09-14T17:37:09 [INFO]: Modifying windows service: DeviceAssociationBrokerSvc, Start: Disabled
    2022-09-14T17:37:10 [INFO]: Modifying windows service: DeviceAssociationService, Start: Disabled
    2022-09-14T17:37:11 [INFO]: Modifying windows service: DevicePickerUserSvc, Start: Disabled
    2022-09-14T17:37:12 [INFO]: Modifying windows service: diagnosticshub.standardcollector.service, Start: Disabled
    2022-09-14T17:37:14 [INFO]: Modifying windows service: DiagTrack, Start: Disabled
    2022-09-14T17:37:15 [INFO]: Modifying windows service: DialogBlockingService, Start: Disabled
    2022-09-14T17:37:16 [INFO]: Modifying windows service: DispBrokerDesktopSvc, Start: Disabled
    2022-09-14T17:37:17 [INFO]: Modifying windows service: DisplayEnhancementService, Start: Disabled
    2022-09-14T17:37:18 [INFO]: Modifying windows service: dmwappushservice, Start: Disabled
    2022-09-14T17:37:19 [INFO]: Modifying windows service: DoSvc, Start: Disabled
    2022-09-14T17:37:20 [INFO]: Modifying windows service: DsSvc, Start: Disabled
    2022-09-14T17:37:21 [INFO]: Modifying windows service: DusmSvc, Start: Disabled
    2022-09-14T17:37:23 [INFO]: Modifying windows service: EntAppSvc, Start: Disabled
    2022-09-14T17:37:24 [INFO]: Modifying windows service: FrameServer, Start: Disabled
    2022-09-14T17:37:25 [INFO]: Modifying windows service: GraphicsPerfSvc, Start: Disabled
    2022-09-14T17:37:26 [INFO]: Modifying windows service: HvHost, Start: Disabled
    2022-09-14T17:37:27 [INFO]: Modifying windows service: hvservice, Start: Disabled
    2022-09-14T17:37:28 [INFO]: Modifying windows service: icssvc, Start: Disabled
    2022-09-14T17:37:29 [INFO]: Modifying windows service: iphlpsvc, Start: Disabled
    2022-09-14T17:37:30 [INFO]: Modifying windows service: LanmanServer, Start: Disabled
    2022-09-14T17:37:31 [INFO]: Modifying windows service: LanmanWorkstation, Start: Disabled
    2022-09-14T17:37:32 [INFO]: Modifying windows service: lfsvc, Start: Disabled
    2022-09-14T17:37:33 [INFO]: Modifying windows service: MapsBroker, Start: Disabled
    2022-09-14T17:37:34 [INFO]: Modifying windows service: MessagingService, Start: Disabled
    2022-09-14T17:37:34 [INFO]: Modifying windows service: MessagingService, Start: Disabled
    2022-09-14T17:37:35 [INFO]: Modifying windows service: PenService, Start: Disabled
    2022-09-14T17:37:36 [INFO]: Modifying windows service: MixedRealityOpenXRSvc, Start: Disabled
    2022-09-14T17:37:37 [INFO]: Modifying windows service: NativeWifiP, Start: Disabled
    2022-09-14T17:37:38 [INFO]: Modifying windows service: NcbService, Start: Disabled
    2022-09-14T17:37:39 [INFO]: Modifying windows service: NdisTapi, Start: Disabled
    2022-09-14T17:37:40 [INFO]: Modifying windows service: ndiswanlegacy, Start: Disabled
    2022-09-14T17:37:41 [INFO]: Modifying windows service: PcaSvc, Start: Disabled
    2022-09-14T17:37:42 [INFO]: Modifying windows service: PeerDistSvc, Start: Disabled
    2022-09-14T17:37:42 [INFO]: Modifying windows service: perceptionsimulation, Start: Disabled
    2022-09-14T17:37:43 [INFO]: Modifying windows service: PerfHost, Start: Manual
    2022-09-14T17:37:44 [INFO]: Modifying windows service: PhoneSvc, Start: Disabled
    2022-09-14T17:37:45 [INFO]: Modifying windows service: PimIndexMaintenanceSvc, Start: Disabled
    2022-09-14T17:37:46 [INFO]: Modifying windows service: RasAuto, Start: Disabled
    2022-09-14T17:37:47 [INFO]: Modifying windows service: RasMan, Start: Disabled
    2022-09-14T17:37:47 [INFO]: Modifying windows service: RDPDR, Start: Disabled
    2022-09-14T17:37:48 [INFO]: Modifying windows service: RdpVideoMiniport, Start: Disabled
    2022-09-14T17:37:49 [INFO]: Modifying windows service: RemoteAccess, Start: Disabled
    2022-09-14T17:37:50 [INFO]: Modifying windows service: RemoteRegistry, Start: Disabled
    2022-09-14T17:37:51 [INFO]: Modifying windows service: RetailDemo, Start: Disabled
    2022-09-14T17:37:52 [INFO]: Modifying windows service: RmSvc, Start: Disabled
    2022-09-14T17:37:53 [INFO]: Modifying windows service: RpcLocator, Start: Disabled
    2022-09-14T17:37:54 [INFO]: Modifying windows service: SCardSvr, Start: Disabled
    2022-09-14T17:37:54 [INFO]: Modifying windows service: ScDeviceEnum, Start: Disabled
    2022-09-14T17:37:55 [INFO]: Modifying windows service: scfilter, Start: Disabled
    2022-09-14T17:37:56 [INFO]: Modifying windows service: SCPolicySvc, Start: Disabled
    2022-09-14T17:37:57 [INFO]: Modifying windows service: SDRSVC, Start: Disabled
    2022-09-14T17:37:58 [INFO]: Modifying windows service: seclogon, Start: Disabled
    2022-09-14T17:37:59 [INFO]: Modifying windows service: SecurityHealthService, Start: Disabled
    2022-09-14T17:38:00 [INFO]: Modifying windows service: SEMgrSvc, Start: Disabled
    2022-09-14T17:38:01 [INFO]: Modifying windows service: Sense, Start: Disabled
    2022-09-14T17:38:02 [INFO]: Modifying windows service: SensorDataService, Start: Disabled
    2022-09-14T17:38:03 [INFO]: Modifying windows service: SensorService, Start: Disabled
    2022-09-14T17:38:04 [INFO]: Modifying windows service: SensrSvc, Start: Disabled
    2022-09-14T17:38:05 [INFO]: Modifying windows service: SessionEnv, Start: Disabled
    2022-09-14T17:38:06 [INFO]: Modifying windows service: SharedAccess, Start: Disabled
    2022-09-14T17:38:07 [INFO]: Modifying windows service: SharedRealitySvc, Start: Disabled
    2022-09-14T17:38:08 [INFO]: Modifying windows service: shpamsvc, Start: Disabled
    2022-09-14T17:38:09 [INFO]: Modifying windows service: SmsRouter, Start: Disabled
    2022-09-14T17:38:10 [INFO]: Modifying windows service: SNMPTRAP, Start: Disabled
    2022-09-14T17:38:11 [INFO]: Modifying windows service: SpatialGraphFilter, Start: Disabled
    2022-09-14T17:38:12 [INFO]: Modifying windows service: spectrum, Start: Disabled
    2022-09-14T17:38:13 [INFO]: Modifying windows service: SSDPSRV, Start: Disabled
    2022-09-14T17:38:15 [INFO]: Modifying windows service: stisvc, Start: Disabled
    2022-09-14T17:38:16 [INFO]: Modifying windows service: TapiSrv, Start: Disabled
    2022-09-14T17:38:17 [INFO]: Modifying windows service: TermService, Start: Disabled
    2022-09-14T17:38:18 [INFO]: Modifying windows service: TrkWks, Start: Disabled
    2022-09-14T17:38:19 [INFO]: Modifying windows service: TsUsbFlt, Start: Disabled
    2022-09-14T17:38:20 [INFO]: Modifying windows service: tzautoupdate, Start: Disabled
    2022-09-14T17:38:21 [INFO]: Modifying windows service: UmRdpService, Start: Disabled
    2022-09-14T17:38:23 [INFO]: Modifying windows service: UnistoreSvc, Start: Disabled
    2022-09-14T17:38:24 [INFO]: Modifying windows service: upnphost, Start: Disabled
    2022-09-14T17:38:25 [INFO]: Modifying windows service: UserDataSvc, Start: Disabled
    2022-09-14T17:38:26 [INFO]: Modifying windows service: VacSvc, Start: Disabled
    2022-09-14T17:38:27 [INFO]: Modifying windows service: vmicguestinterface, Start: Disabled
    2022-09-14T17:38:29 [INFO]: Modifying windows service: vmicheartbeat, Start: Disabled
    2022-09-14T17:38:30 [INFO]: Modifying windows service: vmickvpexchange, Start: Disabled
    2022-09-14T17:38:31 [INFO]: Modifying windows service: vmicrdv, Start: Disabled
    2022-09-14T17:38:32 [INFO]: Modifying windows service: vmicshutdown, Start: Disabled
    2022-09-14T17:38:34 [INFO]: Modifying windows service: vmictimesync, Start: Disabled
    2022-09-14T17:38:35 [INFO]: Modifying windows service: vmicvmsession, Start: Disabled
    2022-09-14T17:38:36 [INFO]: Modifying windows service: vmicvss, Start: Disabled
    2022-09-14T17:38:38 [INFO]: Modifying windows service: W32Time, Start: Disabled
    2022-09-14T17:38:39 [INFO]: Modifying windows service: WalletService, Start: Disabled
    2022-09-14T17:38:40 [INFO]: Modifying windows service: wanarp, Start: Disabled
    2022-09-14T17:38:42 [INFO]: Modifying windows service: wanarpv6, Start: Disabled
    2022-09-14T17:38:43 [INFO]: Modifying windows service: wbengine, Start: Disabled
    2022-09-14T17:38:44 [INFO]: Modifying windows service: WbioSrvc, Start: Disabled
    2022-09-14T17:38:46 [INFO]: Modifying windows service: WdNisDrv, Start: Disabled
    2022-09-14T17:38:47 [INFO]: Modifying windows service: WdNisSvc, Start: Disabled
    2022-09-14T17:38:49 [INFO]: Modifying windows service: wercplsupport, Start: Disabled
    2022-09-14T17:38:50 [INFO]: Modifying windows service: WerSvc, Start: Disabled
    2022-09-14T17:38:52 [INFO]: Modifying windows service: WFDSConMgrSvc, Start: Disabled
    2022-09-14T17:38:53 [INFO]: Modifying windows service: WiaRpc, Start: Disabled
    2022-09-14T17:38:55 [INFO]: Modifying windows service: WinDefend, Start: Disabled
    2022-09-14T17:38:56 [INFO]: Modifying windows service: WinRM, Start: Disabled
    2022-09-14T17:38:58 [INFO]: Modifying windows service: wisvc, Start: Disabled
    2022-09-14T17:38:59 [INFO]: Modifying windows service: WlanSvc, Start: Disabled
    2022-09-14T17:39:01 [INFO]: Modifying windows service: WMPNetworkSvc, Start: Disabled
    2022-09-14T17:39:02 [INFO]: Modifying windows service: WpcMonSvc, Start: Disabled
    2022-09-14T17:39:04 [INFO]: Modifying windows service: WSearch, Start: Disabled
    2022-09-14T17:39:05 [INFO]: Modifying windows service: WwanSvc, Start: Disabled
    2022-09-14T17:39:07 [INFO]: Modifying windows service: XblAuthManager, Start: Disabled
    2022-09-14T17:39:08 [INFO]: Modifying windows service: XblGameSave, Start: Disabled
    2022-09-14T17:39:10 [INFO]: Modifying windows service: XboxGipSvc, Start: Disabled
    2022-09-14T17:39:11 [INFO]: Modifying windows service: XboxNetApiSvc, Start: Disabled
    2022-09-14T17:39:13 [INFO]: Setting delivery optimization to bypass mode
    2022-09-14T17:39:16 [INFO]: Applying Optimized Registry Settings.
    2022-09-14T17:39:25 [INFO]: Importing Registry Template: WindowsPhotoViewer.reg
    2022-09-14T17:39:30 [INFO]: Applying System Logo.
    2022-09-14T17:39:34 [INFO]: Importing Registry Template: Additional Tweaks.reg
    2022-09-14T17:40:45 [INFO]: Disabling Windows Upgrade
    2022-09-14T17:40:47 [INFO]: Enabling dormant OneDrive fix
    2022-09-14T17:40:48 [INFO]: Removing taskbar pinned icons
    2022-09-14T17:40:49 [INFO]: Disabling Microsoft Teams autostart entry
    2022-09-14T17:40:52 [INFO]: Adding AMOLED pitch-black theme
    2022-09-14T17:40:52 [INFO]: Importing Registry Template: AMOLED_black_theme.reg
    2022-09-14T17:40:57 [INFO]: Adding Powershell as trusted installer context menu entry
    2022-09-14T17:40:57 [INFO]: Importing Registry Template: RunAsTi.reg
    2022-09-14T17:41:04 [INFO]: Creating a Package Summary Log.
    2022-09-14T17:41:07 [INFO]: Post-Optimization Image Health State: [Healthy]
    2022-09-14T17:41:11 [INFO]: Saving and Dismounting Microsoft Windows Setup (amd64)
    2022-09-14T17:41:44 [INFO]: Rebuilding and Exporting Microsoft Windows Setup (amd64)
    2022-09-14T17:41:49 [INFO]: Saving and Dismounting Windows 11 Pro
    2022-09-14T17:42:58 [INFO]: Rebuilding and Exporting Windows 11 Pro using Maximum compression.
    2022-09-14T17:43:29 [INFO]: Optimizing the Installation Media File Structure.
    2022-09-14T17:43:30 [INFO]: Creating a No-Prompt Bootable Windows Installation Media ISO.
    2022-09-14T17:43:45 [INFO]: Finalizing Optimizations.
    2022-09-14T17:43:45 [INFO]: Optimize-Offline completed in [16] minutes with [2] errors.
    
    ***************************************************************************************************
    Optimizations Finalized : 09/14/2022 05:43:45 PM
    ***************************************************************************************************
    
    Thanks MDL gurus :)

    PS: It could be a good idea to add a switch in Config called "Enable Store: true" that bypasses configurations to force proper list additions (WinStore dependencies) for noobs like myself :D

    Edit: I found the culprit, it was the Windows Services hardening that I initially grabbed from KederWolf when he posted an Advanced.json file. Here's a log of a successful Windows 11 (2261) including functional Microsoft Store (all Microsoft Store dependent components included) Thanks, KederWolf! :

    Code:
    
    ***************************************************************************************************
    Running Module : Optimize-Offline 4.0.1.9
    Optimize Start : 09/14/2022 10:42:16 PM
    Identity Name  : Test
    Computer Name  : DESKTOP-G743B1E
    ***************************************************************************************************
    
    2022-09-14T22:42:16 [INFO]: Supported Image Build: [22621]
    2022-09-14T22:42:19 [INFO]: Mounting Windows 11 Pro
    2022-09-14T22:43:06 [INFO]: Mounting Microsoft Windows Setup (amd64)
    2022-09-14T22:43:20 [INFO]: Pre-Optimization Image Health State: [Healthy]
    2022-09-14T22:43:25 [INFO]: Removing Provisioned App Package: Clipchamp.Clipchamp
    2022-09-14T22:43:28 [INFO]: Removing Provisioned App Package: Microsoft.BingNews
    2022-09-14T22:43:31 [INFO]: Removing Provisioned App Package: Microsoft.BingWeather
    2022-09-14T22:43:34 [INFO]: Removing Provisioned App Package: Microsoft.GetHelp
    2022-09-14T22:43:38 [INFO]: Removing Provisioned App Package: Microsoft.Getstarted
    2022-09-14T22:43:41 [INFO]: Removing Provisioned App Package: Microsoft.MicrosoftOfficeHub
    2022-09-14T22:43:44 [INFO]: Removing Provisioned App Package: Microsoft.MicrosoftSolitaireCollection
    2022-09-14T22:43:48 [INFO]: Removing Provisioned App Package: Microsoft.MicrosoftStickyNotes
    2022-09-14T22:43:51 [INFO]: Removing Provisioned App Package: Microsoft.People
    2022-09-14T22:43:55 [INFO]: Removing Provisioned App Package: Microsoft.PowerAutomateDesktop
    2022-09-14T22:43:58 [INFO]: Removing Provisioned App Package: Microsoft.ScreenSketch
    2022-09-14T22:44:01 [INFO]: Removing Provisioned App Package: Microsoft.Todos
    2022-09-14T22:44:05 [INFO]: Removing Provisioned App Package: Microsoft.WindowsAlarms
    2022-09-14T22:44:08 [INFO]: Removing Provisioned App Package: Microsoft.WindowsCalculator
    2022-09-14T22:44:11 [INFO]: Removing Provisioned App Package: Microsoft.WindowsCamera
    2022-09-14T22:44:14 [INFO]: Removing Provisioned App Package: microsoft.windowscommunicationsapps
    2022-09-14T22:44:17 [INFO]: Removing Provisioned App Package: Microsoft.WindowsFeedbackHub
    2022-09-14T22:44:20 [INFO]: Removing Provisioned App Package: Microsoft.WindowsMaps
    2022-09-14T22:44:23 [INFO]: Removing Provisioned App Package: Microsoft.WindowsSoundRecorder
    2022-09-14T22:44:25 [INFO]: Removing Provisioned App Package: Microsoft.YourPhone
    2022-09-14T22:44:28 [INFO]: Removing Provisioned App Package: Microsoft.ZuneMusic
    2022-09-14T22:44:31 [INFO]: Removing Provisioned App Package: Microsoft.ZuneVideo
    2022-09-14T22:44:34 [INFO]: Removing Provisioned App Package: MicrosoftCorporationII.QuickAssist
    2022-09-14T22:44:46 [INFO]: Removing System App: Microsoft.AAD.BrokerPlugin
    2022-09-14T22:44:48 [INFO]: Removing System App: Microsoft.BioEnrollment
    2022-09-14T22:44:51 [INFO]: Removing System App: Microsoft.ECApp
    2022-09-14T22:44:53 [INFO]: Removing System App: Microsoft.LockApp
    2022-09-14T22:44:55 [INFO]: Removing System App: Microsoft.MicrosoftEdge
    2022-09-14T22:44:58 [INFO]: Removing System App: Microsoft.MicrosoftEdgeDevToolsClient
    2022-09-14T22:45:00 [INFO]: Removing System App: Microsoft.Win32WebViewHost
    2022-09-14T22:45:03 [INFO]: Removing System App: Microsoft.Windows.AddSuggestedFoldersToLibarayDialog
    2022-09-14T22:45:06 [INFO]: Removing System App: Microsoft.Windows.CallingShellApp
    2022-09-14T22:45:09 [INFO]: Removing System App: Microsoft.Windows.ContentDeliveryManager
    2022-09-14T22:45:11 [INFO]: Removing System App: Microsoft.Windows.FileExplorer
    2022-09-14T22:45:14 [INFO]: Removing System App: Microsoft.Windows.FilePicker
    2022-09-14T22:45:17 [INFO]: Removing System App: Microsoft.Windows.ParentalControls
    2022-09-14T22:45:20 [INFO]: Removing System App: Microsoft.Windows.PeopleExperienceHost
    2022-09-14T22:45:23 [INFO]: Removing System App: Microsoft.Windows.SecureAssessmentBrowser
    2022-09-14T22:45:26 [INFO]: Removing System App: Microsoft.Windows.XGpuEjectDialog
    2022-09-14T22:45:29 [INFO]: Removing System App: NcsiUwpApp
    2022-09-14T22:45:32 [INFO]: Removing System App: Windows.CBSPreview
    2022-09-14T22:45:37 [INFO]: Disabling Services, Drivers and Integration Content for Removed Apps.
    2022-09-14T22:45:37 [INFO]: Applying Windows Maps removal tweak
    2022-09-14T22:45:39 [INFO]: Applying Microsoft Wallet removal tweak
    2022-09-14T22:45:40 [INFO]: Applying YourPhone removal tweak
    2022-09-14T22:45:42 [INFO]: Applying Microsoft Edge removal tweak
    2022-09-14T22:45:43 [INFO]: Applying Microsoft BioEnrollment removal tweak
    2022-09-14T22:45:45 [INFO]: Applying SecureAssessmentBrowser removal tweak
    2022-09-14T22:45:46 [INFO]: Applying ContentDeliveryManager removal tweak
    2022-09-14T22:45:48 [INFO]: Applying Defender removal tweak
    2022-09-14T22:45:51 [INFO]: Disabling Defender Start-up and Feature Packages.
    2022-09-14T22:46:00 [INFO]: Removing Windows Biometric Capability: Hello.Face.20134~~~~0.0.1.0
    2022-09-14T22:46:13 [INFO]: Disabling Optional Feature: Windows-Defender-Default-Definitions
    2022-09-14T22:46:21 [INFO]: Importing Custom App Associations.
    2022-09-14T22:46:27 [INFO]: Removing Windows Capability: Browser.InternetExplorer~~~~0.0.11.0
    2022-09-14T22:46:35 [INFO]: Removing Windows Capability: MathRecognizer~~~~0.0.1.0
    2022-09-14T22:46:42 [INFO]: Removing Windows Capability: Microsoft.Windows.Ethernet.Client.Intel.E1i68x64~~~~0.0.1.0
    2022-09-14T22:46:49 [INFO]: Removing Windows Capability: Microsoft.Windows.Ethernet.Client.Intel.E2f68~~~~0.0.1.0
    2022-09-14T22:46:55 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Broadcom.Bcmpciedhd63~~~~0.0.1.0
    2022-09-14T22:47:00 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Broadcom.Bcmwl63a~~~~0.0.1.0
    2022-09-14T22:47:05 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Broadcom.Bcmwl63al~~~~0.0.1.0
    2022-09-14T22:47:10 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Intel.Netwbw02~~~~0.0.1.0
    2022-09-14T22:47:16 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Intel.Netwew00~~~~0.0.1.0
    2022-09-14T22:47:21 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Intel.Netwew01~~~~0.0.1.0
    2022-09-14T22:47:28 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Intel.Netwlv64~~~~0.0.1.0
    2022-09-14T22:47:36 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Intel.Netwns64~~~~0.0.1.0
    2022-09-14T22:47:43 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Intel.Netwsw00~~~~0.0.1.0
    2022-09-14T22:47:51 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Intel.Netwtw02~~~~0.0.1.0
    2022-09-14T22:48:03 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Intel.Netwtw04~~~~0.0.1.0
    2022-09-14T22:48:14 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Intel.Netwtw06~~~~0.0.1.0
    2022-09-14T22:48:25 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Intel.Netwtw08~~~~0.0.1.0
    2022-09-14T22:48:36 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Marvel.Mrvlpcie8897~~~~0.0.1.0
    2022-09-14T22:48:46 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Qualcomm.Athw8x~~~~0.0.1.0
    2022-09-14T22:48:57 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Qualcomm.Athwnx~~~~0.0.1.0
    2022-09-14T22:49:08 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Qualcomm.Qcamain10x64~~~~0.0.1.0
    2022-09-14T22:49:17 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Ralink.Netr28x~~~~0.0.1.0
    2022-09-14T22:49:26 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Realtek.Rtl8187se~~~~0.0.1.0
    2022-09-14T22:49:32 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Realtek.Rtl8192se~~~~0.0.1.0
    2022-09-14T22:49:39 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Realtek.Rtl819xp~~~~0.0.1.0
    2022-09-14T22:49:45 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Realtek.Rtl85n64~~~~0.0.1.0
    2022-09-14T22:49:51 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Realtek.Rtwlane~~~~0.0.1.0
    2022-09-14T22:49:57 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Realtek.Rtwlane01~~~~0.0.1.0
    2022-09-14T22:50:04 [INFO]: Removing Windows Capability: Microsoft.Windows.Wifi.Client.Realtek.Rtwlane13~~~~0.0.1.0
    2022-09-14T22:50:10 [INFO]: Removing Windows Capability: Microsoft.Windows.WordPad~~~~0.0.1.0
    2022-09-14T22:50:18 [INFO]: Removing Windows Capability: OneCoreUAP.OneSync~~~~0.0.1.0
    2022-09-14T22:50:27 [INFO]: Removing Windows Capability: OpenSSH.Client~~~~0.0.1.0
    2022-09-14T22:50:38 [INFO]: Removing Windows Package: Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    2022-09-14T22:50:46 [INFO]: Removing Windows Package: Microsoft-Windows-LanguageFeatures-OCR-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    2022-09-14T22:50:56 [INFO]: Removing Windows Package: Microsoft-Windows-LanguageFeatures-Speech-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    2022-09-14T22:51:10 [INFO]: Disabling Optional Feature: MicrosoftWindowsPowerShellV2Root
    2022-09-14T22:51:16 [INFO]: Disabling Optional Feature: MSRDC-Infrastructure
    2022-09-14T22:51:19 [INFO]: Disabling Optional Feature: SmbDirect
    2022-09-14T22:51:22 [INFO]: Disabling Optional Feature: WorkFolders-Client
    2022-09-14T22:51:28 [INFO]: Enabling Optional Feature: Printing-XPSServices-Features
    2022-09-14T22:51:32 [INFO]: Modifying windows service: AJRouter, Start: Disabled
    2022-09-14T22:51:33 [INFO]: Modifying windows service: ALG, Start: Disabled
    2022-09-14T22:51:34 [INFO]: Modifying windows service: AppVClient, Start: Disabled
    2022-09-14T22:51:35 [INFO]: Modifying windows service: autotimesvc, Start: Disabled
    2022-09-14T22:51:36 [INFO]: Modifying windows service: BcastDVRUserService, Start: Disabled
    2022-09-14T22:51:37 [INFO]: Modifying windows service: BluetoothUserService, Start: Disabled
    2022-09-14T22:51:38 [INFO]: Modifying windows service: BTAGService, Start: Disabled
    2022-09-14T22:51:39 [INFO]: Modifying windows service: bthserv, Start: Disabled
    2022-09-14T22:51:40 [INFO]: Modifying windows service: CDPSvc, Start: Disabled
    2022-09-14T22:51:41 [INFO]: Modifying windows service: CDPUserSvc, Start: Disabled
    2022-09-14T22:51:42 [INFO]: Modifying windows service: CertPropSvc, Start: Disabled
    2022-09-14T22:51:43 [INFO]: Modifying windows service: CscService, Start: Disabled
    2022-09-14T22:51:44 [INFO]: Modifying windows service: DevicePickerUserSvc, Start: Disabled
    2022-09-14T22:51:45 [INFO]: Modifying windows service: diagnosticshub.standardcollector.service, Start: Disabled
    2022-09-14T22:51:45 [INFO]: Modifying windows service: DiagTrack, Start: Disabled
    2022-09-14T22:51:46 [INFO]: Modifying windows service: DialogBlockingService, Start: Disabled
    2022-09-14T22:51:47 [INFO]: Modifying windows service: DispBrokerDesktopSvc, Start: Disabled
    2022-09-14T22:51:48 [INFO]: Modifying windows service: DisplayEnhancementService, Start: Disabled
    2022-09-14T22:51:49 [INFO]: Modifying windows service: dmwappushservice, Start: Disabled
    2022-09-14T22:51:50 [INFO]: Modifying windows service: DsSvc, Start: Disabled
    2022-09-14T22:51:50 [INFO]: Modifying windows service: FrameServer, Start: Disabled
    2022-09-14T22:51:51 [INFO]: Modifying windows service: GraphicsPerfSvc, Start: Disabled
    2022-09-14T22:51:52 [INFO]: Modifying windows service: HvHost, Start: Disabled
    2022-09-14T22:51:53 [INFO]: Modifying windows service: hvservice, Start: Disabled
    2022-09-14T22:51:54 [INFO]: Modifying windows service: icssvc, Start: Disabled
    2022-09-14T22:51:55 [INFO]: Modifying windows service: iphlpsvc, Start: Disabled
    2022-09-14T22:51:55 [INFO]: Modifying windows service: MapsBroker, Start: Disabled
    2022-09-14T22:51:56 [INFO]: Modifying windows service: MessagingService, Start: Disabled
    2022-09-14T22:51:57 [INFO]: Modifying windows service: MessagingService, Start: Disabled
    2022-09-14T22:51:58 [INFO]: Modifying windows service: PenService, Start: Disabled
    2022-09-14T22:51:58 [INFO]: Modifying windows service: MixedRealityOpenXRSvc, Start: Disabled
    2022-09-14T22:51:59 [INFO]: Modifying windows service: NativeWifiP, Start: Disabled
    2022-09-14T22:52:00 [INFO]: Modifying windows service: NcbService, Start: Disabled
    2022-09-14T22:52:01 [INFO]: Modifying windows service: NdisTapi, Start: Disabled
    2022-09-14T22:52:01 [INFO]: Modifying windows service: ndiswanlegacy, Start: Disabled
    2022-09-14T22:52:02 [INFO]: Modifying windows service: PcaSvc, Start: Disabled
    2022-09-14T22:52:03 [INFO]: Modifying windows service: PeerDistSvc, Start: Disabled
    2022-09-14T22:52:03 [INFO]: Modifying windows service: perceptionsimulation, Start: Disabled
    2022-09-14T22:52:04 [INFO]: Modifying windows service: PhoneSvc, Start: Disabled
    2022-09-14T22:52:05 [INFO]: Modifying windows service: PimIndexMaintenanceSvc, Start: Disabled
    2022-09-14T22:52:05 [INFO]: Modifying windows service: RasAuto, Start: Disabled
    2022-09-14T22:52:06 [INFO]: Modifying windows service: RasMan, Start: Disabled
    2022-09-14T22:52:07 [INFO]: Modifying windows service: RDPDR, Start: Disabled
    2022-09-14T22:52:07 [INFO]: Modifying windows service: RdpVideoMiniport, Start: Disabled
    2022-09-14T22:52:08 [INFO]: Modifying windows service: RemoteAccess, Start: Disabled
    2022-09-14T22:52:09 [INFO]: Modifying windows service: RemoteRegistry, Start: Disabled
    2022-09-14T22:52:09 [INFO]: Modifying windows service: RetailDemo, Start: Disabled
    2022-09-14T22:52:10 [INFO]: Modifying windows service: RmSvc, Start: Disabled
    2022-09-14T22:52:11 [INFO]: Modifying windows service: SCardSvr, Start: Disabled
    2022-09-14T22:52:11 [INFO]: Modifying windows service: ScDeviceEnum, Start: Disabled
    2022-09-14T22:52:12 [INFO]: Modifying windows service: scfilter, Start: Disabled
    2022-09-14T22:52:12 [INFO]: Modifying windows service: SCPolicySvc, Start: Disabled
    2022-09-14T22:52:13 [INFO]: Modifying windows service: SDRSVC, Start: Disabled
    2022-09-14T22:52:14 [INFO]: Modifying windows service: seclogon, Start: Disabled
    2022-09-14T22:52:14 [INFO]: Modifying windows service: SEMgrSvc, Start: Disabled
    2022-09-14T22:52:15 [INFO]: Modifying windows service: Sense, Start: Disabled
    2022-09-14T22:52:15 [INFO]: Modifying windows service: SensorDataService, Start: Disabled
    2022-09-14T22:52:16 [INFO]: Modifying windows service: SensorService, Start: Disabled
    2022-09-14T22:52:16 [INFO]: Modifying windows service: SensrSvc, Start: Disabled
    2022-09-14T22:52:17 [INFO]: Modifying windows service: SessionEnv, Start: Disabled
    2022-09-14T22:52:18 [INFO]: Modifying windows service: SharedAccess, Start: Manual
    2022-09-14T22:52:18 [INFO]: Modifying windows service: SharedRealitySvc, Start: Disabled
    2022-09-14T22:52:19 [INFO]: Modifying windows service: shpamsvc, Start: Disabled
    2022-09-14T22:52:19 [INFO]: Modifying windows service: SNMPTRAP, Start: Disabled
    2022-09-14T22:52:20 [INFO]: Modifying windows service: SpatialGraphFilter, Start: Disabled
    2022-09-14T22:52:20 [INFO]: Modifying windows service: spectrum, Start: Disabled
    2022-09-14T22:52:21 [INFO]: Modifying windows service: stisvc, Start: Disabled
    2022-09-14T22:52:21 [INFO]: Modifying windows service: TermService, Start: Disabled
    2022-09-14T22:52:22 [INFO]: Modifying windows service: TsUsbFlt, Start: Disabled
    2022-09-14T22:52:22 [INFO]: Modifying windows service: tzautoupdate, Start: Disabled
    2022-09-14T22:52:23 [INFO]: Modifying windows service: UmRdpService, Start: Disabled
    2022-09-14T22:52:23 [INFO]: Modifying windows service: upnphost, Start: Disabled
    2022-09-14T22:52:24 [INFO]: Modifying windows service: VacSvc, Start: Disabled
    2022-09-14T22:52:24 [INFO]: Modifying windows service: vmicguestinterface, Start: Disabled
    2022-09-14T22:52:25 [INFO]: Modifying windows service: vmicheartbeat, Start: Disabled
    2022-09-14T22:52:25 [INFO]: Modifying windows service: vmickvpexchange, Start: Disabled
    2022-09-14T22:52:26 [INFO]: Modifying windows service: vmicrdv, Start: Disabled
    2022-09-14T22:52:26 [INFO]: Modifying windows service: vmicshutdown, Start: Disabled
    2022-09-14T22:52:27 [INFO]: Modifying windows service: vmictimesync, Start: Disabled
    2022-09-14T22:52:27 [INFO]: Modifying windows service: vmicvmsession, Start: Disabled
    2022-09-14T22:52:28 [INFO]: Modifying windows service: vmicvss, Start: Disabled
    2022-09-14T22:52:28 [INFO]: Modifying windows service: W32Time, Start: Disabled
    2022-09-14T22:52:29 [INFO]: Modifying windows service: WalletService, Start: Disabled
    2022-09-14T22:52:29 [INFO]: Modifying windows service: wanarp, Start: Disabled
    2022-09-14T22:52:30 [INFO]: Modifying windows service: wanarpv6, Start: Disabled
    2022-09-14T22:52:30 [INFO]: Modifying windows service: wbengine, Start: Disabled
    2022-09-14T22:52:31 [INFO]: Modifying windows service: WbioSrvc, Start: Disabled
    2022-09-14T22:52:31 [INFO]: Modifying windows service: WdNisDrv, Start: Disabled
    2022-09-14T22:52:32 [INFO]: Modifying windows service: WdNisSvc, Start: Disabled
    2022-09-14T22:52:32 [INFO]: Modifying windows service: wercplsupport, Start: Disabled
    2022-09-14T22:52:33 [INFO]: Modifying windows service: WFDSConMgrSvc, Start: Disabled
    2022-09-14T22:52:33 [INFO]: Modifying windows service: WiaRpc, Start: Disabled
    2022-09-14T22:52:34 [INFO]: Modifying windows service: WinDefend, Start: Disabled
    2022-09-14T22:52:34 [INFO]: Modifying windows service: WinRM, Start: Disabled
    2022-09-14T22:52:35 [INFO]: Modifying windows service: wisvc, Start: Disabled
    2022-09-14T22:52:35 [INFO]: Modifying windows service: WlanSvc, Start: Disabled
    2022-09-14T22:52:36 [INFO]: Modifying windows service: WMPNetworkSvc, Start: Disabled
    2022-09-14T22:52:36 [INFO]: Modifying windows service: WpcMonSvc, Start: Disabled
    2022-09-14T22:52:37 [INFO]: Modifying windows service: WSearch, Start: Disabled
    2022-09-14T22:52:37 [INFO]: Modifying windows service: WwanSvc, Start: Disabled
    2022-09-14T22:52:38 [INFO]: Modifying windows service: XblAuthManager, Start: Disabled
    2022-09-14T22:52:39 [INFO]: Applying Optimized Registry Settings.
    2022-09-14T22:52:42 [INFO]: Importing Registry Template: WindowsPhotoViewer.reg
    2022-09-14T22:52:43 [INFO]: Applying Setup Content.
    2022-09-14T22:52:45 [INFO]: Importing Registry Template: Additional Tweaks.reg
    2022-09-14T22:53:35 [INFO]: Enabling dormant OneDrive fix
    2022-09-14T22:53:36 [INFO]: Removing taskbar pinned icons
    2022-09-14T22:53:37 [INFO]: Disabling Microsoft Teams autostart entry
    2022-09-14T22:53:40 [INFO]: Adding AMOLED pitch-black theme
    2022-09-14T22:53:40 [INFO]: Importing Registry Template: AMOLED_black_theme.reg
    2022-09-14T22:53:44 [INFO]: Adding Powershell as trusted installer context menu entry
    2022-09-14T22:53:44 [INFO]: Importing Registry Template: RunAsTi.reg
    2022-09-14T22:53:51 [INFO]: Creating a Package Summary Log.
    2022-09-14T22:53:53 [INFO]: Post-Optimization Image Health State: [Healthy]
    2022-09-14T22:53:57 [INFO]: Saving and Dismounting Microsoft Windows Setup (amd64)
    2022-09-14T22:54:31 [INFO]: Rebuilding and Exporting Microsoft Windows Setup (amd64)
    2022-09-14T22:54:38 [INFO]: Saving and Dismounting Windows 11 Pro
    2022-09-14T22:56:28 [INFO]: Rebuilding and Exporting Windows 11 Pro using Maximum compression.
    2022-09-14T22:56:53 [INFO]: Optimizing the Installation Media File Structure.
    2022-09-14T22:56:54 [INFO]: Creating a No-Prompt Bootable Windows Installation Media ISO.
    2022-09-14T22:57:04 [INFO]: Finalizing Optimizations.
    2022-09-14T22:57:04 [INFO]: Optimize-Offline completed in [15] minutes with [1] errors.
    
    ***************************************************************************************************
    Optimizations Finalized : 09/14/2022 10:57:04 PM
    ***************************************************************************************************
    
     
  8. MajkelP

    MajkelP MDL Junior Member

    Nov 11, 2015
    59
    26
    0
    My install.wim file has 4.79GB and always is formatted as NTFS, because of this limitation.
    Is there any way to split this file or maybe esd compression?
     
  9. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    874
    30
    Yes, with drivers integrated my WIM file is >4GB.
     
  10. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    874
    30
    The fix for me was to use Solid compression instead of Maximum. @gdeliana

    But on a slow computer or a laptop, Solid compression takes a really long time to finish.

    If you're on one of those, let the script run overnight using the Shutdown switch.
     
  11. MajkelP

    MajkelP MDL Junior Member

    Nov 11, 2015
    59
    26
    0
    I would like add that I did not add any drivers and my install.wim file is 4.7GB.
    If you could reconsider add an option to split install.wim file:

    I used this command:
    Code:
    Dism /Split-Image /ImageFile:D:\Deployment\Windows_11\install.wim /SWMFile:D:\Deployment\Windows_11\install.swm /FileSize:2000
    and after I have: three files:
    install.swm
    install2.swm
    install3.swm

    @KedarWolf how did you use solid compression, is there any switch in Configuration.json file?

    Thanks
     
  12. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    874
    30
    Code:
    "CompressionType": "Solid",
     
  13. imlost2

    imlost2 MDL Member

    Aug 5, 2013
    149
    157
    10
    Sorry for my ignorance, but does this Windows Debloating Tool only work on Windows 10? Can it be used in conjunction with MSMG ToolKit or is it a stand alone app?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. MajkelP

    MajkelP MDL Junior Member

    Nov 11, 2015
    59
    26
    0
    Both tools are very good.
    But you cannot use both for the same image.
    For this script, it is best to use a clean Windows image.

    This is written by author
    :

    This script supports Windows 10 and 11.
     
  15. imlost2

    imlost2 MDL Member

    Aug 5, 2013
    149
    157
    10
    OK. Thanks for the quick reply.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,324
    13,923
    120
    On the latest commit having this error if using my Win 11 version, if I use the Win 10 version no problems, I have substituted a known good gold win 11.iso too.
    Please see below:

    MC.jpg
     
  17. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    874
    30
    Works fine on Win 11 for me.

    Code:
    "SourcePath": "D:\\1\\22000.978.220910-0304.CO_RELEASE_SVC_PROD1_CLIENT_X64FRE_EN-US.iso",
     
  18. MajkelP

    MajkelP MDL Junior Member

    Nov 11, 2015
    59
    26
    0
    I can confirm that is working now. :)

    Great, thanks
     

    Attached Files:

  19. gdeliana

    gdeliana MDL Senior Member

    Oct 2, 2010
    365
    428
    10
    Hello there,

    The legacy usb option should be working now.

    Regarding the icons i made some changes as well. As you can see i removed the setup.ico in the assets folder, this is due to the rule #1 of this project: open-source. I know that an icon is an icon, but after all its an encoded file and viruses do exist in image files as well. That icon was taken from some internet source by me, most probably is virus free, but the idea is that i want the user to supply that and take responsibility.

    Now if you put in the assets folder an windows.ico file, your windows hard disk will have an icon too :) Quite useful for people like me who have 6 HDDs in their rig with 10ths of partitions. Its a neat way of labeling those drives.

    Will add this info soon to the readme.