I am no coder, and certainly no expert.. but I have been manipulating certain scripts to achieve certain objectives for some time now My host OS is not en-US, and I have been running this script without issue, also there is another user here on MDL who runs it on a pl-PL OS, also without issue There are (will be) issues with certain Locales regarding Directories and registry entries (named differently), but on the whole the script is still usable.. just requires a bit of work Optimize-Offline-4.0.1.6\en-US... change this to your preferred locale (in my case en-GB) Optimize-Offline-4.0.1.6\Src\Public\en-US... leave this alone [changing this and O-O optimized registry entries wont be applied] (you can however, translate the .psd1 file contained within for a more localized experience) -> Optimize-Offline-4.0.1.6\Src\Offline-Resources.psm1.... this is the file that points to the one (immediately) above... again, leave alone at this point you can freely go through all the other scripts and change any references to en-US to your preferred locale you can even (if you are careful) change certain references to 19042 to 20246, which will allow you to run the script on the current IP release NOTE: @GodHand does not offer any support to anyone meddling with his scripts I have no doubt if there are any errors in my instructions they will be promptly pointed out, such is the nature of things .. of course you still have the option to fire up an en-US VM and happily run the script from there.... EDIT: See This Post for further clarification
Localized data and help content in en-US folder would have to be converted ..... It is not necessary for the script to work properly in another language - these are just information and help files. at this point you are free to browse all other scripts and change any references to en-US to your preferred locale you can even (if you're careful) change some references to 19042 to 20246 which will allow you to run the script on the current IP version drew84 - this is exactly what I do and I have no bugs. Therefore, it is very easy to have ISO in your own language.
Optimize-Offline-4.0.1.6 \ en-US ... change this to your preferred location (en-GB in my case) Optimize-Offline-4.0.1.6 \ Src \ Public \ en-US ... leave it alone (however, you can translate the .psd1 file included in the program for a more localized experience) -> Optimize-Offline-4.0.1.6 \ Src \ Offline-Resources.psm1 .... this is the file pointing to the one (directly) above .. Again - scrypt doesn't have to work well - it's just a cosmetic. change some references from 19042 to 20246 It works fine for me too. And the registry? - entries are anyway - ALMOST - always all in English. Optimize-Offline-4.0.1.6 \ en-US - even if you change to a different one and don't change the language in files in this folder - the change doesn't make sense. Optimize-Offline-4.0.1.6 \ Src \ Public \ en-US - the same. Only in the content - I add my stuff. Of course only 19041-19042. is 20246 - I am changing other entries as well.
@drew84 , @zbigniew59 - Thanks a lot, friends. That was easy (only if you know about such tricks are possible). I can easily 100% find everything I want using context search inside the root folder Just to clarify: 19042 (and other similar) entries were found for me in this script-file: \Src\Public\Get-ImageData.ps1 What entry(s) exactly should I change to 20246 inside this file? (One-string example should be enough) Then I'll try to make a test.
Every 19041 entry in every folder you find must be replaced. 1 - Optimize-Offline.psm1 2 - \Sr\Public\Set-RegistryProperties.ps1 3 - \Src\Public\Get-ImageData.ps1
Not quite accurate... you need to point out that some package integration (e.g.. DEDUP) requires its corresponding .cab files 19041. 20246 etc as 20246 packages are as yet not available, any attempt to integrate reliant packages will cause the process to fail Apologies, forgot the most important part Optimize-Offline.psm1 Line 240 change Build -le '19041' to Build -le '20246' Line 450 change Build -eq '19041' to Build -ge '19041' Line 493 change Build -eq '19041' to Build -ge '19041' Line 613 change Build -lt '19041' to Build -lt '20246' Set-Additional.ps1 Lines 183, 184 change 19041 to 20246 Set-RegistryProperties.ps1 Line 239 change 19041 to 20246 I think that the above should cover it all, you might also want to check out @spanishfly's signature for some useful info regarding automating the process even further EDIT: See This Post for further clarification
@drew84 I have also 19041 entries inside these script files: Get-ImageData.ps1 Set-Additional.ps1 Set-RegistryProperties.ps1
Have edited my post above to reflect your query Get-ImageData.ps1 you can ignore Set-RegistryProperties.ps1 the other entry (reference) to 19041 refers to a hidden start menu version that may or may not be available in 20246, I ignore it
@drew84 Still the same WARNING (Error). All line editions were done according to your mentions above... OK. Probably I'm close to press a pause until O-O become more universal & user-friendly for MUI users. Too much restictions and version checks. Not good.
Hi Ive been using the iso that i optimized with this script a lot, thanks it works well. On one of my computers i need to get the microsoft Store Back, i know that if i reset windows 10 , all the thing that the script have cut will be back, including the store. But that will be the last resort solution. Is there a way to reinstall the store with powershell ? I tried Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} But it doesn't seem to works, im missing something. Here the Script logs and registry settings if it helps Spoiler: logs *************************************************************************************************** Running Module : Optimize-Offline 4.0.1.0 Optimize Start : 06/25/2020 02:43:31 AM Identity Name : adam Computer Name : DESKTOP-MLB06FB *************************************************************************************************** 2020-06-25T02:43:31 [INFO]: Supported Image Build: [19041] 2020-06-25T02:43:34 [INFO]: Mounting Windows 10 Professionnel 2020-06-25T02:47:24 [INFO]: Mounting Microsoft Windows Setup (x64) 2020-06-25T0204 [INFO]: Pre-Optimization Image Health State: [Healthy] 2020-06-25T02:51:01 [INFO]: Removing Provisioned App Package: Microsoft.SkypeApp 2020-06-25T02:51:06 [INFO]: Removing Provisioned App Package: Microsoft.ZuneVideo 2020-06-25T02:51:11 [INFO]: Removing Provisioned App Package: Microsoft.ZuneMusic 2020-06-25T02:51:15 [INFO]: Removing Provisioned App Package: Microsoft.YourPhone 2020-06-25T02:51:20 [INFO]: Removing Provisioned App Package: Microsoft.XboxSpeechToTextOverlay 2020-06-25T02:51:24 [INFO]: Removing Provisioned App Package: Microsoft.XboxIdentityProvider 2020-06-25T02:51:29 [INFO]: Removing Provisioned App Package: Microsoft.XboxGamingOverlay 2020-06-25T02:51:33 [INFO]: Removing Provisioned App Package: Microsoft.XboxGameOverlay 2020-06-25T02:51:37 [INFO]: Removing Provisioned App Package: Microsoft.XboxApp 2020-06-25T02:51:42 [INFO]: Removing Provisioned App Package: Microsoft.Xbox.TCUI 2020-06-25T02:51:47 [INFO]: Removing Provisioned App Package: Microsoft.WindowsStore 2020-06-25T02:51:52 [INFO]: Removing Provisioned App Package: Microsoft.WindowsFeedbackHub 2020-06-25T02:51:56 [INFO]: Removing Provisioned App Package: Microsoft.StorePurchaseApp 2020-06-25T02:52:00 [INFO]: Removing Provisioned App Package: Microsoft.Wallet 2020-06-25T02:52:04 [INFO]: Removing Provisioned App Package: Microsoft.People 2020-06-25T02:52:09 [INFO]: Removing Provisioned App Package: Microsoft.BingWeather 2020-06-25T02:52:13 [INFO]: Removing Provisioned App Package: Microsoft.MixedReality.Portal 2020-06-25T02:52:18 [INFO]: Removing Provisioned App Package: Microsoft.MicrosoftSolitaireCollection 2020-06-25T02:52:22 [INFO]: Removing Provisioned App Package: Microsoft.WindowsMaps 2020-06-25T02:56:04 [INFO]: Removing System App: Microsoft.BioEnrollment 2020-06-25T02:56:06 [INFO]: Removing System App: Microsoft.MicrosoftEdge 2020-06-25T02:56:08 [INFO]: Removing System App: Microsoft.MicrosoftEdgeDevToolsClient 2020-06-25T02:56:10 [INFO]: Removing System App: NcsiUwpApp 2020-06-25T02:56:13 [INFO]: Removing System App: MicrosoftWindows.UndockedDevKit 2020-06-25T02:56:15 [INFO]: Removing System App: Microsoft.XboxGameCallableUI 2020-06-25T02:56:17 [INFO]: Removing System App: Microsoft.Windows.XGpuEjectDialog 2020-06-25T02:56:19 [INFO]: Removing System App: Microsoft.Windows.SecureAssessmentBrowser 2020-06-25T02:56:21 [INFO]: Removing System App: Microsoft.Windows.ParentalControls 2020-06-25T02:56:23 [INFO]: Removing System App: Microsoft.Windows.NarratorQuickStart 2020-06-25T02:56:25 [INFO]: Removing System App: Microsoft.Windows.CallingShellApp 2020-06-25T02:56:27 [INFO]: Removing System App: Microsoft.Windows.SecHealthUI 2020-06-25T02:56:29 [INFO]: Removing System App: Microsoft.Windows.ContentDeliveryManager 2020-06-25T02:56:32 [INFO]: Disabling Services, Drivers and Integration Content for Removed Apps. 2020-06-25T02:56:47 [INFO]: Disabling Optional Feature: Windows-Defender-Default-Definitions 2020-06-25T02:57:22 [INFO]: Importing Custom App Associations. 2020-06-25T02:58:22 [INFO]: Removing Windows Capability: Hello.Face.18967 2020-06-25T02:58:38 [INFO]: Removing Windows Capability: Hello.Face.Migration.18967 2020-06-25T02:58:58 [INFO]: Removing Windows Capability: Media.WindowsMediaPlayer 2020-06-25T02:59:40 [INFO]: Disabling Optional Feature: MicrosoftWindowsPowerShellV2Root 2020-06-25T03:15:14 [INFO]: Applying Optimized Registry Settings. 2020-06-25T03:15:48 [INFO]: Cleaning-up the Start Menu Layout. 2020-06-25T03:16:04 [INFO]: Post-Optimization Image Health State: [Healthy] 2020-06-25T03:16:07 [INFO]: Saving and Dismounting Microsoft Windows Setup (x64) 2020-06-25T03:17:24 [INFO]: Rebuilding and Exporting Microsoft Windows Setup (x64) 2020-06-25T03:17:36 [INFO]: Saving and Dismounting Windows 10 Professionnel 2020-06-25T04:23:27 [INFO]: Rebuilding and Exporting Windows 10 Professionnel using Fast compression. 2020-06-25T04:29:43 [INFO]: Optimizing the Installation Media File Structure. 2020-06-25T04:29:45 [INFO]: Creating a No-Prompt Bootable Windows Installation Media ISO. 2020-06-25T0413 [INFO]: Finalizing Optimizations. 2020-06-25T0413 [INFO]: Optimize-Offline completed in [47] minutes with [0] errors. *************************************************************************************************** Optimizations Finalized : 06/25/2020 0413 AM *************************************************************************************************** Spoiler: registry settings Disabling Cortana and Search Bar Web Connectivity. Disabling System Telemetry, Logging, Data Collecting and Advertisements. Disabling Windows Tracking. Disabling System Location Sensors. Disabling the Password Reveal Button. Disabling Cross-Device Sharing and Shared Experiences. Disabling WiFi Sense. Disabling Microsoft Toast and Lockscreen Notifications. Disabling Connected Drive Autoplay and Autorun. Disabling Automatic Download File Blocking. Disabling the Modern UI Swap File. Disabling Reserved Storage. Disabling the Automatic Clean-up of Downloads by Storage Sense. Disabling the First Log-on Animation. Disabling the Windows Start-up Sound. Disabling the Get More out of Windows Start-up Notification. Enabling the Search Icon on Taskbar. Enabling the Driver Letter before Drive Name. Optimizing Taskbar Icons and Transparency. Enabling File Explorer Launch to This PC. Disabling Wallpaper .JPEG Quality Reduction. Disabling the Sign-in Screen Acrylic Blur. Disabling the Trailing Text for Shortcuts. Enabling Command Prompt on the Win+X Quick Link Menu. Disabling Microsoft Edge Desktop Shortcut Creation and Pre-Launching. Disabling Pinned Windows Store, Windows Mail and People Icons. Reducing Start Menu Delay. Enabling TaskBar Icon Combining with Small Icons. Disabling the Open File Prompt. Enabling the Classic Personalization Panel. Enabling This PC Desktop Icon. Removing Edit with Paint 3D and 3D Print from the Context Menu. Restoring Windows Photo Viewer. Removing User Folders from Explorer. Increasing the Icon Cache Size. Disabling the Sticky Keys Prompt. Disabling Enhanced Pointer Precision. Removing Give Access To, Share and Cast To Device from the Context Menu. Removing Restore Previous Versions from the Context Menu. Adding Reboot to Recovery to This PC. Enabling Long File Paths. Enabling Strong Cryptography for .NET Applications. Thanks
I posted a few posts back what I keep and remove with optimise offline and is safe to do those and the store works just fine. I don't know how to add the store if you removed it though. Might want to try the thread with the script that adds the store. I'm on my phone now and don't have the link.
I will search and test this script, and report it there if it works. EDIT : I have installed the store with Add-store-dynamic : https://forums.mydigitallife.net/th...ises-sku-ltsb-ltsc.70741/page-49#post-1589428 Follow the readme, and your good. Thank you.
Is there possibility to preserve setup.exe in iso image? Or is this too to make fresh install ISOs only, coz I wanna just upgrade vanilla 1909 to debloated 2004?
I'm really sure if you change the D:\Optimize-Offline-4.0.1.6\Optimize-Offline-4.0.1.6\, D:\Optimize-Offline-4.0.1.6\Optimize-Offline-4.0.1.6\Src\Public\ en-US folders to en-GB and also change the Offline-Resources.psm1 $OptimizeOffline.Culture = 'en-US' entry in it to $OptimizeOffline.Culture = 'en-GB' with Notepad++ it applies all the registry entries. If you check the Set-RegistryProperties.ps1 it goes by the Culture set in -Child "Public\$($OptimizeOffline.Culture)\Set-RegistryProperties.strings.psd1") which is set in Offline-Resources.psm1 in the $OptimizeOffline.Culture = 'en-US' line. which you just change to $OptimizeOffline.Culture = 'en-GB' If you don't change those to en-GB then things like the Calculator don't get integrated. I tested it. So better to change all those I know. I hope someone corrects me if I'm wrong, but I've done both ways, and leaving the two en-US like suggested did not work properly. With my suggestions the D:\Optimize-Offline-4.0.1.6\Optimize-Offline-4.0.1.6\Content\Additional\Additional Tweaks.reg DOES get applied as well.
@KedarWolf Thanks I will have to go back and have a look at the script again (some refinements may have been applied with latest 4.0.1.6 that I have possibly overlooked/missed) My previous attempts of doing what you suggested (above) have always ended in failure, hence the adoption of the method I posted. Personally, I think it would be great if we could finally lock the whole procedure down, so that all localizations could benefit from this script. The Online versions presented here on MDL do not seem to be hampered by this.
Copying WIM from "E:\Optimize-Offline-4.0.1.6C" WARNING: Unsupported Image Build: [19042] PS E:\Optimize-Offline-4.0.1.6B> ... go figure, trying to do some localized tests starting with a (presumably) supported build (running untouched Build 4.0.1.6 by the way)
Okay Additional Steps Taken to make it work on 19042 (should also work on higher/newer builds) @KedarWolf O-O does indeed now work with complete en-GB changes (hadn't noticed any issues with my previous method) ... also no reason (when using the following steps) why it shouldn't work with other localized data (en-US to xx-XX) 01. E:\Optimize-Offline-4.0.1.7 \en-GB changed from en-US 02. E:\Optimize-Offline-4.0.1.7 |Optimize-Offline.psm1 - Line 240 If (" " -and $InstallInfo.Build -ge '19041') changed from -le '19041') - Line 450 If ($InstallInfo.Build -ge '19041') changed from -eq '19041') - Line 493 If ($InstallInfo.Build -ge '19041') changed from -eq '19041') - Line 613 If ($InstallInfo.Build -ge '19041') changed from -lt '19041') Spoiler: Notes Allows applicable optimizations to 19042 or higher build numbers to be applied 19041 also appears at line 259 refering to the DEDUP Package and at Line 1284 refering to DART; however unless you have 19042 (19041 in the case of DEDUP) or higher build packages - leave alone/do not integrate 03. E:\Optimize-Offline-4.0.1.7 \Src |Offline-Resources.psm1 - Line43 $OptimizeOffline.Culture = 'en-GB' changed from en-US 04. E:\Optimize-Offline-4.0.1.7 \Src \Public \en-GB changed from en-US 05. E:\Optimize-Offline-4.0.1.7 \Src \Public |Set-RegistryProperties.ps1 - Line 239 If (" " -ge '17763' -and $InstallInfo.Build -ge '19041') changed from -lt '19041') - Line 247 If ($InstallInfo.Build -eq '19042' etc. etc) changed from -eq '19041') Spoiler: Notes Leave alone on builds higher than 19042, Start Menu tweak may or may not exist | Get-ImageData.ps1 Spoiler: Notes Needs further researching, mainly to employ on newer builds 06. E:\Optimize-Offline-4.0.1.7 \Content \Additional \Setup |Set-Additional.ps1 -Line 184 If ($Build -ge 19041 and etc. etc) changed from -eq '19041') Spoiler: Log Code: *************************************************************************************************** Running Module : Optimize-Offline 4.0.1.7 Optimize Start : 11/14/2020 07:22:56 PM Identity Name : W0LF Computer Name : DESKTOP-D1GI1Q2 *************************************************************************************************** 2020-11-14T19:22:56 [INFO]: Supported Image Build: [19042] 2020-11-14T19:22:59 [INFO]: Mounting Windows 10 Enterprise 2020-11-14T19:24:19 [INFO]: Pre-Optimization Image Health State: [Healthy] 2020-11-14T19:24:27 [INFO]: Removing Provisioned App Package: CortanaApp.View.App 2020-11-14T19:24:30 [INFO]: Removing Provisioned App Package: Microsoft.BingWeather 2020-11-14T19:24:34 [INFO]: Removing Provisioned App Package: Microsoft.GetHelp 2020-11-14T19:24:37 [INFO]: Removing Provisioned App Package: Microsoft.Getstarted 2020-11-14T19:24:41 [INFO]: Removing Provisioned App Package: Microsoft.HEIFImageExtension 2020-11-14T19:24:45 [INFO]: Removing Provisioned App Package: Microsoft.Microsoft3DViewer 2020-11-14T19:24:48 [INFO]: Removing Provisioned App Package: Microsoft.MicrosoftOfficeHub 2020-11-14T19:24:52 [INFO]: Removing Provisioned App Package: Microsoft.MicrosoftSolitaireCollection 2020-11-14T19:24:55 [INFO]: Removing Provisioned App Package: Microsoft.MicrosoftStickyNotes 2020-11-14T19:24:59 [INFO]: Removing Provisioned App Package: Microsoft.MixedReality.Portal 2020-11-14T19:25:03 [INFO]: Removing Provisioned App Package: Microsoft.MSPaint 2020-11-14T19:25:06 [INFO]: Removing Provisioned App Package: Microsoft.Office.OneNote 2020-11-14T19:25:10 [INFO]: Removing Provisioned App Package: Microsoft.People 2020-11-14T19:25:14 [INFO]: Removing Provisioned App Package: Microsoft.ScreenSketch 2020-11-14T19:25:17 [INFO]: Removing Provisioned App Package: Microsoft.SkypeApp 2020-11-14T19:25:21 [INFO]: Removing Provisioned App Package: Microsoft.Wallet 2020-11-14T19:25:24 [INFO]: Removing Provisioned App Package: Microsoft.WebMediaExtensions 2020-11-14T19:25:28 [INFO]: Removing Provisioned App Package: Microsoft.WebpImageExtension 2020-11-14T19:25:31 [INFO]: Removing Provisioned App Package: Microsoft.WindowsAlarms 2020-11-14T19:25:35 [INFO]: Removing Provisioned App Package: Microsoft.WindowsCalculator 2020-11-14T19:25:39 [INFO]: Removing Provisioned App Package: Microsoft.WindowsCamera 2020-11-14T19:25:42 [INFO]: Removing Provisioned App Package: microsoft.windowscommunicationsapps 2020-11-14T19:25:46 [INFO]: Removing Provisioned App Package: Microsoft.WindowsFeedbackHub 2020-11-14T19:25:50 [INFO]: Removing Provisioned App Package: Microsoft.WindowsMaps 2020-11-14T19:25:54 [INFO]: Removing Provisioned App Package: Microsoft.WindowsSoundRecorder 2020-11-14T19:25:57 [INFO]: Removing Provisioned App Package: Microsoft.Xbox.TCUI 2020-11-14T19:26:01 [INFO]: Removing Provisioned App Package: Microsoft.XboxApp 2020-11-14T19:26:05 [INFO]: Removing Provisioned App Package: Microsoft.XboxGameOverlay 2020-11-14T19:26:08 [INFO]: Removing Provisioned App Package: Microsoft.XboxGamingOverlay 2020-11-14T19:26:12 [INFO]: Removing Provisioned App Package: Microsoft.XboxSpeechToTextOverlay 2020-11-14T19:26:15 [INFO]: Removing Provisioned App Package: Microsoft.YourPhone 2020-11-14T19:26:19 [INFO]: Removing Provisioned App Package: Microsoft.ZuneMusic 2020-11-14T19:26:22 [INFO]: Removing Provisioned App Package: Microsoft.ZuneVideo 2020-11-14T19:27:49 [INFO]: Removing System App: Microsoft.AAD.BrokerPlugin 2020-11-14T19:27:51 [INFO]: Removing System App: Microsoft.BioEnrollment 2020-11-14T19:27:53 [INFO]: Removing System App: Microsoft.ECApp 2020-11-14T19:27:55 [INFO]: Removing System App: Microsoft.LockApp 2020-11-14T19:27:57 [INFO]: Removing System App: Microsoft.MicrosoftEdge 2020-11-14T19:27:59 [INFO]: Removing System App: Microsoft.MicrosoftEdgeDevToolsClient 2020-11-14T19:28:01 [INFO]: Removing System App: Microsoft.Win32WebViewHost 2020-11-14T19:28:04 [INFO]: Removing System App: Microsoft.Windows.AddSuggestedFoldersToLibarayDialog 2020-11-14T19:28:06 [INFO]: Removing System App: Microsoft.Windows.CapturePicker 2020-11-14T19:28:08 [INFO]: Removing System App: Microsoft.Windows.CloudExperienceHost 2020-11-14T19:28:10 [INFO]: Removing System App: Microsoft.Windows.FileExplorer 2020-11-14T19:28:12 [INFO]: Removing System App: Microsoft.Windows.FilePicker 2020-11-14T19:28:14 [INFO]: Removing System App: Microsoft.Windows.NarratorQuickStart 2020-11-14T19:28:16 [INFO]: Removing System App: Microsoft.Windows.OOBENetworkCaptivePortal 2020-11-14T19:28:18 [INFO]: Removing System App: Microsoft.Windows.OOBENetworkConnectionFlow 2020-11-14T19:28:20 [INFO]: Removing System App: Microsoft.Windows.ParentalControls 2020-11-14T19:28:22 [INFO]: Removing System App: Microsoft.Windows.PeopleExperienceHost 2020-11-14T19:28:24 [INFO]: Removing System App: Microsoft.Windows.PinningConfirmationDialog 2020-11-14T19:28:26 [INFO]: Removing System App: Microsoft.Windows.SecureAssessmentBrowser 2020-11-14T19:28:28 [INFO]: Removing System App: MicrosoftWindows.UndockedDevKit 2020-11-14T19:28:30 [INFO]: Removing System App: Windows.CBSPreview 2020-11-14T19:28:32 [INFO]: Removing System App: Windows.PrintDialog 2020-11-14T19:28:35 [INFO]: Disabling Services, Drivers and Integration Content for Removed Apps. 2020-11-14T19:28:39 [INFO]: Importing Custom App Associations. 2020-11-14T19:29:26 [INFO]: Removing Windows Capability: App.StepsRecorder 2020-11-14T19:29:48 [INFO]: Removing Windows Capability: App.Support.QuickAssist 2020-11-14T19:29:57 [INFO]: Removing Windows Capability: Hello.Face.18967 2020-11-14T19:30:03 [INFO]: Removing Windows Capability: Hello.Face.Migration.18967 2020-11-14T19:30:10 [INFO]: Removing Windows Capability: Language.Handwriting 2020-11-14T19:30:16 [INFO]: Removing Windows Capability: Language.OCR 2020-11-14T19:30:23 [INFO]: Removing Windows Capability: Language.Speech 2020-11-14T19:30:30 [INFO]: Removing Windows Capability: MathRecognizer 2020-11-14T19:30:37 [INFO]: Removing Windows Capability: OneCoreUAP.OneSync 2020-11-14T19:30:45 [INFO]: Removing Windows Capability: Print.Fax.Scan 2020-11-14T19:30:54 [INFO]: Removing Windows Capability: Print.Management.Console 2020-11-14T19:31:42 [INFO]: Disabling Optional Feature: MicrosoftWindowsPowerShellV2Root 2020-11-14T19:32:30 [INFO]: Disabling Optional Feature: Printing-Foundation-Features 2020-11-14T19:32:36 [INFO]: Disabling Optional Feature: Printing-Foundation-InternetPrinting-Client 2020-11-14T19:32:42 [INFO]: Disabling Optional Feature: Printing-PrintToPDFServices-Features 2020-11-14T19:32:48 [INFO]: Disabling Optional Feature: Printing-XPSServices-Features 2020-11-14T19:32:54 [INFO]: Disabling Optional Feature: WorkFolders-Client 2020-11-14T19:33:38 [INFO]: Enabling Optional Feature: DirectPlay 2020-11-14T19:33:45 [INFO]: Enabling Optional Feature: LegacyComponents 2020-11-14T19:33:51 [INFO]: Enabling Optional Feature: Microsoft-Windows-Subsystem-Linux 2020-11-14T19:34:05 [INFO]: Integrating the Win32 Calculator. 2020-11-14T19:34:09 [INFO]: Applying Optimized Registry Settings. 2020-11-14T19:34:24 [INFO]: Applying Setup Content. 2020-11-14T19:34:27 [INFO]: Importing Registry Template: Additional Tweaks.reg 2020-11-14T19:34:34 [INFO]: Cleaning-up the Start Menu Layout. 2020-11-14T19:34:42 [INFO]: Post-Optimization Image Health State: [Healthy] 2020-11-14T19:34:45 [INFO]: Saving and Dismounting Windows 10 Enterprise 2020-11-14T19:36:38 [INFO]: Rebuilding and Exporting Windows 10 Enterprise using Fast compression. 2020-11-14T19:38:50 [INFO]: Finalizing Optimizations. 2020-11-14T19:38:50 [INFO]: Optimize-Offline completed in [16] minutes with [0] errors. *************************************************************************************************** Optimizations Finalized : 11/14/2020 07:38:50 PM *************************************************************************************************** Latest DEDUP Manage OneDrive (Alternative), Autumate System App Removal + additional notes Other Stuff Here and Here credit to @spanishfly * trying to locate your automate compression method Want to have Cortana and WebSearch Enabled? unattend help Here and Here credit @KedarWolf Takes on average 45 secs. (probably faster in a VM)