Does anyone know what logic runs indicated by this log entry at the end: Code: [...] 2021-11-17T17:23:02 [INFO]: Removing System App: Microsoft.Windows.PeopleExperienceHost 2021-11-17T17:23:05 [INFO]: Removing System App: MicrosoftWindows.UndockedDevKit 2021-11-17T17:23:08 [INFO]: Disabling Services, Drivers and Integration Content for Removed Apps. I've tried searching for "Disabling Services, Drivers and Integration Content for Removed Apps" in the code but got jack. I want t replicate this logic manually.
Newbie trying this for 1st time. After running Start-GUI.bat and loading source file location I get Code: Mount-DiskImage : The requested operation could not be completed due to a file system limitation At Z:\Z\OO\Optimize-Offline.psm1:174 char:13 + ... [Void](Mount-DiskImage -ImagePath $SourcePath.FullName -StorageT ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (MSFT_DiskImage:ROOT/Microsoft/.../MSFT_DiskImage) [Mount-DiskIm age], CimException + FullyQualifiedErrorId : HRESULT 0x80070299,Mount-DiskImage "en-us_windows_10_iot_enterprise_ltsc_2021_x64_dvd_257ad90f.iso" does not contain valid Windows Installation media. Dismount-DiskImage : The requested operation could not be completed due to a file system limitation At Z:\Z\OO\Optimize-Offline.psm1:185 char:14 + ... [Void](Dismount-DiskImage -ImagePath $SourcePath.FullName) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (MSFT_DiskImage:ROOT/Microsoft/.../MSFT_DiskImage) [Dismount-Dis kImage], CimException + FullyQualifiedErrorId : HRESULT 0x80070299,Dismount-DiskImage Get-DiskImage : The requested operation could not be completed due to a file system limitation At Z:\Z\OO\Optimize-Offline.psm1:187 char:14 + ... While ((Get-DiskImage -ImagePath $SourcePath.FullName).Attach ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (MSFT_DiskImage:ROOT/Microsoft/.../MSFT_DiskImage) [Get-DiskImag e], CimException + FullyQualifiedErrorId : HRESULT 0x80070299,Get-DiskImage Failed to return the Install Image from "Z:\Z\OO\OfflineTemp_808784593\ImageOffline"
Sorry cant upload .json file so here is extract 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", "CompressionType: Select | None | Fast | Maximum | Solid", "OutputPath : default | path[{filename}?] | select", "FlashToUSB: Off | UEFI | Legacy" ], "SourcePath": "Z:\\Z\\IOT\\en-us_windows_10_iot_enterprise_ltsc_2021_x64_dvd_257ad90f.iso", "WindowsApps": "Whitelist", "SystemApps": "Blacklist", "Capabilities": "Blacklist", "Packages": "Blacklist", "FeaturesToEnable": "List", "FeaturesToDisable": "List", "Services": "Advanced", "DeveloperMode": false, "WindowsStore": false, "MicrosoftEdge": false, "Win32Calc": false, "DormantDefender": false, "Dedup": false, "DaRT": [ ], "Registry": false, "OutputPath": "Z:\\Z\\IOT\\Mod1\\IOTMod1.iso", "Additional": { "Setup": false, "Wallpaper": false, "SystemLogo": false, "LockScreen": false, "RegistryTemplates": false, "LayoutModification": false, "Unattend": false, "Drivers": false, "NetFx3": false }, "ComponentCleanup": false, "ISO": "No-Prompt", "CompressionType": "Maximum", "SelectiveRegistry": { "DisableWindowsUpgrade": false, "DisableWindowsUpdateMicrosoft": false, "DisableDriverUpdate": false, "DormantOneDrive": true, "Disable3rdPartyApps": false, "W11ClassicContextMenu": false, "ExplorerUIRibbon": true, "ClassicSearchExplorer": true, "RemoveTaskbarPinnedIcons": false, "DisableTeamsApp": true, "DisableVirtualizationSecurity": false, "RunAsTiContextMenu": false, "AmoledBlackTheme": false }, "ShutDownOnComplete": false, "FlashToUSB": "Off" }
I assume SourcePath & OutputPath are correct? While I'm fairly new to the GUI side of things, everything in Configuration.json should be the ticket.
Yes I used the select button to pick the paths but just noticed the Configuration.json shows path as "Z:\\Z\\IOT\\ but should be "Z:\Z\IOT\
Thanks - yes that's same source and I have it working in a vm. Nevetheless I'm downloading again to try.
Are you running the script on windows 7? I think it does not work right with it. Need Windows 10 minimum or run Windows 10/11 in a virtual machine.
I had to copy the source folder directly to my VMWare C: drive and not use a shared folder. https://forums.mydigitallife.net/th...20h1-and-ltsc-2019.80038/page-44#post-1673574
Interestingly, with solid compression, my 5950x with a highly tuned RAM and CPU overclock would take about 18 minutes. My 7950x with a highly tuned overclock takes 13 minutes with solid compression.
Okay first time user, I've read and tried my best to understand all things both in the OP and at the Github. I have some questions. I understand script removes capabilities and packages, does it also removed features ? I'm not talking about disabling features but also completely removing the payload (associated files) from the image. After configuring Configuration.json and placing whitelists files for capabilities, packages and features in the list directory, how do I initiate the script as Trusted Installer ? should I just click Start-Optimize-BAU-TI.ps1 and wait for the process to complete ? Is this the right procedure ? Any help will be greatly appreciated.