@MSMG, Before integrating the Dedup pack, when I apply the jun cumulative update in the 18362 iso it goes to 18363.900 and, an error occurs warning that the Dedup pack files for 18363 were not found. Assuming they remain the same packages. To solve it, I just created a folder "\ 10.0.18363" and created renamed copies for the names suggested in the error presented on the screen inside that folder. For example: .\Packs\Dedup\w10\10.0.18363\Microsoft-Windows-Dedup-Package~31bf3856ad364e35~amd64~~10.0.18363..cab .\Packs\Dedup\w10\10.0.18363\Microsoft-Windows-Dedup-Package~31bf3856ad364e35~amd64~en-US~10.0.18363..cab .\Packs\Dedup\w10\10.0.18363\Microsoft-Windows-FileServer-ServerCore-Package~31bf3856ad364e35~amd64~~10.0.18363..cab .\Packs\Dedup\w10\10.0.18363\Microsoft-Windows-FileServer-ServerCore-Package~31bf3856ad364e35~amd64~en-US~10.0.18363..cab Yes, with 2 dots "..cab" just like the suggested. But it is one more detail to be ascertained. Thankful!
Code: AppServerClient Client-DeviceLockdown Client-EmbeddedShellLauncher ClientForNFS-Infrastructure Client-ProjFS Containers Containers-DisposableClientVM DataCenterBridging DirectoryServices-ADAM-Client FaxServicesClientPackage HostGuardian HypervisorPlatform IIS-ApplicationDevelopment IIS-ApplicationInit IIS-ASP IIS-ASPNET IIS-ASPNET45 IIS-BasicAuthentication IIS-CertProvider IIS-CGI IIS-ClientCertificateMappingAuthentication IIS-CommonHttpFeatures IIS-CustomLogging IIS-DefaultDocument IIS-DigestAuthentication IIS-DirectoryBrowsing IIS-FTPExtensibility IIS-FTPServer IIS-FTPSvc IIS-HealthAndDiagnostics IIS-HostableWebCore IIS-HttpCompressionDynamic IIS-HttpCompressionStatic IIS-HttpErrors IIS-HttpLogging IIS-HttpRedirect IIS-HttpTracing IIS-IIS6ManagementCompatibility IIS-IISCertificateMappingAuthentication IIS-IPSecurity IIS-ISAPIExtensions IIS-ISAPIFilter IIS-LegacyScripts IIS-LegacySnapIn IIS-LoggingLibraries IIS-ManagementConsole IIS-ManagementScriptingTools IIS-ManagementService IIS-Metabase IIS-NetFxExtensibility IIS-NetFxExtensibility45 IIS-ODBCLogging IIS-Performance IIS-RequestFiltering IIS-RequestMonitor IIS-Security IIS-ServerSideIncludes IIS-StaticContent IIS-URLAuthorization IIS-WebDAV IIS-WebServer IIS-WebServerManagementTools IIS-WebServerRole IIS-WebSockets IIS-WindowsAuthentication IIS-WMICompatibility Microsoft-Hyper-V Microsoft-Hyper-V-All Microsoft-Hyper-V-Hypervisor Microsoft-Hyper-V-Management-Clients Microsoft-Hyper-V-Management-PowerShell Microsoft-Hyper-V-Services Microsoft-Hyper-V-Tools-All Microsoft-Windows-Client-EmbeddedExp-Package Microsoft-Windows-NetFx3-OC-Package Microsoft-Windows-NetFx3-WCF-OC-Package Microsoft-Windows-NetFx4-WCF-US-OC-Package MicrosoftWindowsPowerShellV2 MicrosoftWindowsPowerShellV2Root Microsoft-Windows-Subsystem-Linux MSMQ-ADIntegration MSMQ-Container MSMQ-DCOMProxy MSMQ-HTTP MSMQ-Multicast MSMQ-Server MSMQ-Triggers MSRDC-Infrastructure MultiPoint-Connector MultiPoint-Connector-Services MultiPoint-Tools NetFx4-AdvSrvs NetFx4Extended-ASPNET45 NFS-Administration Printing-Foundation-Features Printing-Foundation-InternetPrinting-Client Printing-Foundation-LPDPrintService Printing-Foundation-LPRPortMonitor Printing-XPSServices-Features ServicesForNFS-ClientOnly SimpleTCP SMB1Protocol SMB1Protocol-Client SMB1Protocol-Deprecation SMB1Protocol-Server SmbDirect TelnetClient TFTP TIFFIFilter VirtualMachinePlatform WAS-ConfigurationAPI WAS-NetFxEnvironment WAS-ProcessModel WAS-WindowsActivationService Windows-Defender-ApplicationGuard Windows-Identity-Foundation WorkFolders-Client DirectPlay LegacyComponents Microsoft-Windows-NetFx4-US-OC-Package Printing-PrintToPDFServices-Features SearchEngine-Client-Package
Hi,ImFaisal! Try this mod: Code: echo. echo.------------------------------------------------------------------------------- if "%LanguagePackType%" equ "Boot" echo.####Integrating Windows Language Packs to Windows Boot Image################### if "%LanguagePackType%" equ "Install" echo.####Integrating Windows Language Packs to Windows Installation Image########### if "%LanguagePackType%" equ "Recovery" echo.####Integrating Windows Language Packs to Windows Recovery Image############### echo.------------------------------------------------------------------------------- echo. echo.------------------------------------------------------------------------------- echo.####Setting Windows Image Default System UI Language########################### echo.------------------------------------------------------------------------------- echo. echo.[1] Keep [%ImageDefaultLanguage%] as Image Default Language ^& Continue echo. echo.[2] Set [%LanguagePackCode%] as Image Default Language ^& Continue echo. echo.=============================================================================== echo. choice /C:12 /N /M "Enter Your Choice : " if errorlevel 2 set "ImageDefaultLanguage=%LanguagePackCode%" - Boot Spoiler Code: if "%LanguagePackType%" equ "Boot" ( . . . ) for /L %%i in (1, 1, 2) do ( echo.------------------------------------------------------------------------------- echo.Updating Windows Boot Image Default Language Settings... echo.-------------------------[Boot.wim, Index : %%i]--------------------------------- echo. echo.Setting Windows Boot Image Default System UI Language to [%ImageDefaultLanguage%]... %DISM% /Quiet /Image:"%BootMount%\%%i" /Set-AllIntl:%ImageDefaultLanguage% %DISM% /Quiet /Image:"%BootMount%\%%i" /Set-SKUIntlDefaults:%ImageDefaultLanguage% echo. rem if %%i equ 2 if /i exist "%BootMount%\%%i\Windows\servicing\Packages\WinPE-Setup-Package~31bf3856ad364e35~*.mum" ( if %%i equ 2 ( echo.Updating Windows Setup Language Configuration File [Lang.ini]... %DISM% /Quiet /Image:"%BootMount%\%%i" /Gen-LangINI /Distribution:"%BootMount%\%%i" %DISM% /Quiet /Image:"%BootMount%\%%i" /Set-SetupUILang:%ImageDefaultLanguage% /Distribution:"%BootMount%\%%i" ) rem %DISM% /Quiet /Image:"%BootMount%\%%i" /Cleanup-Image /StartComponentCleanup rem %DISM% /Quiet /Image:"%BootMount%\%%i" /Cleanup-Image /StartComponentCleanup /ResetBase ) rem echo.------------------------------------------------------------------------------- rem echo.Creating Windows Setup language configuration file [Lang.ini]... rem echo.-------------------------[Boot.wim, Index : 2]--------------------------------- rem %DISM% /Image:"%BootMount%\2" /Gen-LangINI /Distribution:"%DVD%" echo. . . . echo. ) - Install Spoiler Code: if "%LanguagePackType%" equ "Install" ( if "%ImageIndexNo%" equ "*" ( . . . ) rem echo.------------------------------------------------------------------------------- rem echo.Updating Windows Setup language configuration file [Lang.ini]... rem echo.------------------------------------------------------------------------------- rem %DISM% /Image:"%InstallMount%" /Gen-LangINI /Distribution:"%DVD%" rem echo. ) if "%ImageIndexNo%" equ "*" ( echo.------------------------------------------------------------------------------- echo.Updating Windows Installation Image Default Language Settings... echo.------------------------------------------------------------------------------- echo. for /L %%i in (1, 1, %ImageCount%) do ( echo.Setting [Install.wim, Index : %%i] Default System UI Language to [%ImageDefaultLanguage%]... %DISM% /Quiet /Image:"%InstallMount%\%%i" /Set-AllIntl:%ImageDefaultLanguage% %DISM% /Quiet /Image:"%InstallMount%\%%i" /Set-SKUIntlDefaults:%ImageDefaultLanguage% if %%i equ %ImageCount% ( echo. echo.Updating Windows Setup Language Configuration File [Lang.ini]... %DISM% /Quiet /Image:"%InstallMount%\%%i" /Gen-LangINI /Distribution:"%DVD%" %DISM% /Quiet /Image:"%InstallMount%\%%i" /Set-SetupUILang:%ImageDefaultLanguage% /Distribution:"%DVD%" ) ) ) else ( echo.------------------------------------------------------------------------------- echo.Updating Windows Installation Image Default Language Settings... echo.------------------------------------------------------------------------------- echo. echo.Setting [Install.wim, Index : %ImageIndexNo%] Default System UI Language to [%ImageDefaultLanguage%]... %DISM% /Quiet /Image:"%InstallMount%" /Set-AllIntl:%ImageDefaultLanguage% %DISM% /Quiet /Image:"%InstallMount%" /Set-SKUIntlDefaults:%ImageDefaultLanguage% echo. echo.Updating Windows Setup Language Configuration File [Lang.ini]... %DISM% /Quiet /Image:"%InstallMount%" /Gen-LangINI /Distribution:"%DVD%" %DISM% /Quiet /Image:"%InstallMount%" /Set-SetupUILang:%ImageDefaultLanguage% /Distribution:"%DVD%" ) echo.------------------------------------------------------------------------------- echo.Integrating [%LanguagePackCode%] Localized Windows Setup resources to Source DVD... echo.------------------------------------------------------------------------------- echo. - WinRe Spoiler Code: if "%LanguagePackType%" equ "Recovery" ( . . . echo.------------------------------------------------------------------------------- echo.Integrating WinPE - WMI Pack [%LanguagePackCode%] to Windows Recovery Image... echo.-------------------------[WinRE.wim, Index : 1]-------------------------------- if "%SelectedSourceOS%" equ "w7" call :AddPackage "%WinReMount%", "%LanguagePacks%\WinPE-WMI-Package~31bf3856ad364e35~%PackageArchitecture%~%LanguagePackCode%~6.1.7601.%PackageServicePackBuild%.cab" if "%SelectedSourceOS%" equ "w81" call :AddPackage "%WinReMount%", "%LanguagePacks%\WinPE-WMI-Package~31bf3856ad364e35~%PackageArchitecture%~%LanguagePackCode%~6.3.9600.%PackageServicePackBuild%.cab" if "%SelectedSourceOS%" equ "w10" call :AddPackage "%WinReMount%", "%LanguagePacks%\WinPE-WMI-Package~31bf3856ad364e35~%PackageArchitecture%~%LanguagePackCode%~%ImageVersion%.%PackageServicePackBuild%.cab" for /d %%z in (ja-JP, ko-KR, zh-HK, zh-CN, zh-TW) do ( if "%LanguagePackCode%" equ "%%z" ( echo.------------------------------------------------------------------------------- echo.Integrating WinPE - Font Support Pack [%LanguagePackCode%] to Windows Recovery Image... echo.-------------------------[WinRE.wim, Index : 1]-------------------------------- if "%SelectedSourceOS%" equ "w7" call :AddPackage "%WinReMount%", "%LanguagePacks%\WinPE-FontSupport-Package~31bf3856ad364e35~%PackageArchitecture%~%LanguagePackCode%~6.1.7601.%PackageServicePackBuild%.cab" if "%SelectedSourceOS%" equ "w81" call :AddPackage "%WinReMount%", "%LanguagePacks%\WinPE-FontSupport-Package~31bf3856ad364e35~%PackageArchitecture%~%LanguagePackCode%~6.3.9600.%PackageServicePackBuild%.cab" if "%SelectedSourceOS%" equ "w10" call :AddPackage "%WinReMount%", "%LanguagePacks%\WinPE-FontSupport-Package~31bf3856ad364e35~%PackageArchitecture%~%LanguagePackCode%~%ImageVersion%.%PackageServicePackBuild%.cab" ) ) if "%LanguagePackCode%" neq "%ImageDefaultLanguage%" ( echo.------------------------------------------------------------------------------- echo.Updating Windows Recovery Image Default Language Settings... echo.------------------------------------------------------------------------------- echo. echo.Setting Windows Recovery Image Default System UI Language to [%ImageDefaultLanguage%]... %DISM% /Quiet /Image:"%WinReMount%" /Set-AllIntl:%ImageDefaultLanguage% %DISM% /Quiet /Image:"%WinReMount%" /Set-SKUIntlDefaults:%ImageDefaultLanguage% rem %DISM% /Quiet /Image:"%BootMount%\%%i" /Cleanup-Image /StartComponentCleanup rem %DISM% /Quiet /Image:"%BootMount%\%%i" /Cleanup-Image /StartComponentCleanup /ResetBase echo. echo.------------------------------------------------------------------------------- echo.####Finished Integrating Windows Language Packs to Windows Recovery Image###### echo.------------------------------------------------------------------------------- ) )
Code: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "ShowCortanaButton"=dword:00000000
DISM method is the usual /Remove-Package which works when there is .mum file for any component, it's best for older OS like W7,W81 and Pre W10 RS2 builds. For newer Windows 10 version, the Microsoft have merged many packages and so it's difficult to use the DISM method. In DISM method, the removal is not always complete, it leaves behind many leftovers. But the ToolKitHelper is manual removal method which removes the component properly and also maintains components compatibility.
Always do integrate the language packs or features before the updates, since this way it will update the files/registry related to the language packs or the feature packs. Since v1903/v1904 share same base, the script requires changes to use the v1903 files for v1909 too. Don't change the filenames just change the folder name from 10.0.18362 to 10.0.18363
Does MSMG ToolKit v10.0 work well with Windows 10 (v2004 20H1) MSDN x64Bit (Build 19041.208)? Without making cumulative updates? I want to know if everything can be removed.
What about 20H2 (2009)? May I integrate the EP (as well as the latest CU) on 20H1 before starting to remove components? If so, may I have any problems when removing components or may them not be successfully removed even if MSMG ToolKit states they were?
Tested v10.0 and latest ToolKitHelper with 2004 and the latest SSU and CU. It is with delight that I can report that I did not receive any SFC errors. Seems that this is now fixed in 2004. Spoiler: Files used x86 ISO: 19041.264.200511-0456.VB_RELEASE_SVC_REFRESH_CLIENTENTERPRISE_VOL_X86FRE_EN-GB.ISO x86 SSU: windows10.0-kb4560366-x86_a3e87cf039c5a25ba3e4200892cfee30911d4689.msu x86 CU: windows10.0-kb4567523-x86_aa491155b1a4ef11720472e2ecc6c621b553f7b8.msu x64 ISO: 19041.264.200511-0456.VB_RELEASE_SVC_REFRESH_CLIENTENTERPRISE_VOL_X64FRE_EN-GB.ISO x64 SSU: windows10.0-kb4560366-x64_653c88cde27a1adff38843c1b054fbbcef380b6f.msu x64: CU: windows10.0-kb4567523-x64_34b4dbb86f35d25ce4cb839aa4007079323507d3.msu Spoiler: Method Extract ISO (1 > 3) Select source (1 > 1) (also mount boot and recovery images) Integrate Win32 calculator (3 > 3 > C) Apply SSU and CU updates (3 > 4 > 2 > 1 > 4) Apply setup media update (3 > 4 > 2 > 2) Remove using RemovePkgsList.txt (4 > 3) Spoiler: RemovePkgsList.txt Code: ToolKitHelper:Cortana ToolKitHelper:GameExplorer ToolKitHelper:MapControl ToolKitHelper:OneDrive ToolKitHelper:PeopleExperienceHost ToolKitHelper:RetailDemoContent ToolKitHelper:SkypeORTC ToolKitHelper:SecureAssessmentBrowser ToolKitHelper:WindowsMixedReality ToolKitHelper:XboxGameCallableUI ToolKitHelper:3DViewer ToolKitHelper:AdvertisingXaml ToolKitHelper:Alarms ToolKitHelper:BingWeather ToolKitHelper:Calculator ToolKitHelper:Camera ToolKitHelper:CommunicationsApps ToolKitHelper:DesktopAppInstaller ToolKitHelper:FeedbackHub ToolKitHelper:GetHelp ToolKitHelper:Getstarted ToolKitHelper:HEIFImageExtension ToolKitHelper:Maps ToolKitHelper:MixedRealityPortal ToolKitHelper:OfficeHub ToolKitHelper:OfficeOneNote ToolKitHelper:Paint3D ToolKitHelper:People ToolKitHelper:Photos ToolKitHelper:ScreenSketch ToolKitHelper:SkypeApp ToolKitHelper:SolitaireCollection ToolKitHelper:SoundRecorder ToolKitHelper:StickyNotes ToolKitHelper:VP9VideoExtensions ToolKitHelper:WalletService ToolKitHelper:WebMediaExtensions ToolKitHelper:WebpImageExtensions ToolKitHelper:XboxApp ToolKitHelper:XboxIdentityProvider ToolKitHelper:YourPhone ToolKitHelper:ZuneMusic ToolKitHelper:ZuneVideo Tweaks for Task View, App Downloads, Photo Viewer (5 > 8 > B/D/J) Cleanup (6 > 1) Apply changes to image (6 > 2 > Y) Rebuild (6 > 1) Convert WIM to ESD (2 > 4) Make ISO (7 > 1)