Why is boot.wim getting bigger?

RedFox01

New Member
I am using the latest version of NTLite v2.1.1.7917 Home license.
When I remove components in boot.img, the image gets bigger instead of getting smaller
Why is it getting bigger boot.img?
 
<?xml version="1.0" encoding="utf-8"?>
<Preset isAutoSaved="true" xmlns="urn:schemas-nliteos-com:pn.v1">
<Date>05/31/2021 14:49:00</Date>
<AppInfo>
<Version>2.1.1.7917</Version>
<Licensed>Yes</Licensed>
<Protections>Yes</Protections>
<Host>Windows 10 Enterprise LTSC 2019 (21H1) x64 - Client 10.0.19043.1023 (pl-PL)</Host>
</AppInfo>
<ImageInfo>
<Version mode="offline">Windows 10 PE (21H2) x64 - WindowsPE 10.0.21354.1 (pl-PL)</Version>
<GUID>{02B37C00-0EE9-4405-82F2-CD6D3A6CC7F4}</GUID>
</ImageInfo>
<RemoveComponents>
<c>asimov 'Telemetria użytkownika'</c>
<c>componentpackagesupport 'Obsługa pakietów komponentów'</c>
<c>domainclientssvc 'Agent zasad IPsec'</c>
<c>driver_c_fdc.inf</c>
<c>driver_c_floppydisk.inf</c>
<c>driver_fdc.inf</c>
<c>driver_flpydisk.inf</c>
<c>errorreporting 'Usługa raportowania błędów systemu Widows'</c>
<c>hwsupport_floppy 'Dyskietka'</c>
<c>ikeext 'Moduły obsługi kluczy IPsec IKE i AuthIP'</c>
<c>insiderhub 'Program testów systemu Windows'</c>
<c>kerneldebug 'Debugowanie jądra'</c>
<c>langarabic 'Arabski'</c>
<c>langbulgarian 'Bułgarski'</c>
<c>langchineses 'Chiński uproszczony'</c>
<c>langchineset 'Chiński tradycyjny'</c>
<c>langcroatian 'Chorwacki'</c>
<c>langczech 'Czeski'</c>
<c>langdanish 'Duński'</c>
<c>langdutch 'Holenderski'</c>
<c>langenglishgb 'Angielski (GB)'</c>
<c>langestonian 'Estoński'</c>
<c>langfinnish 'Fiński'</c>
<c>langfrench 'Francuski'</c>
<c>langfrenchcanadian 'Francuski (kanadyjski)'</c>
<c>langgerman 'Niemiecki'</c>
<c>langgreek 'Grecki'</c>
<c>langhebrew 'Hebrajski'</c>
<c>langhungarian 'Węgierski'</c>
<c>langitalian 'Włoski'</c>
<c>langjapanese 'Japoński'</c>
<c>langkorean 'Koreański'</c>
<c>langlatvian 'Łotewski'</c>
<c>langlithuanian 'Litewski'</c>
<c>langnorwegian 'Norweski'</c>
<c>langportuguesebr 'Portugalski (brazylijski)'</c>
<c>langportuguesept 'Portugalski'</c>
<c>langpseudolocale 'Pseudo-lokalny'</c>
<c>langromanian 'Rumuński'</c>
<c>langrussian 'Rosyjski'</c>
<c>langserbian 'Serbski'</c>
<c>langslovak 'Słowacki'</c>
<c>langslovenian 'Słoweński'</c>
<c>langspanish 'Hiszpański'</c>
<c>langswedish 'Szwedzki'</c>
<c>langthai 'Tajski'</c>
<c>langturkish 'Turecki'</c>
<c>langukrainian 'Ukraiński'</c>
<c>speechapi 'API mowy'</c>
<c>speechcommon 'Rozpoznawanie mowy'</c>
<c>speechtts 'Mowa TTS'</c>
</RemoveComponents>
<Compatibility protectHidden="true">
<ComponentFeatures>
<Feature enabled="yes">DefaultFonts</Feature>
<Feature enabled="no">Recommended-Tablet</Feature>
<Feature enabled="no">VPN</Feature>
<Feature enabled="yes">ServicingStack</Feature>
<Feature enabled="yes">USB</Feature>
</ComponentFeatures>
<MachineDrivers>
<Machine enabled="no">Hyper-V VM</Machine>
<Machine enabled="no">Parallels VM</Machine>
<Machine enabled="yes">HostMachine</Machine>
<Machine enabled="no">Virtual Box VM</Machine>
<Machine enabled="no">VMware VM</Machine>
</MachineDrivers>
</Compatibility>
<Packages></Packages>
<Drivers showHidden="true"></Drivers>
<Tweaks>
<Settings></Settings>
<Services></Services>
<ExtraServices></ExtraServices>
</Tweaks>
<ApplyOptions>
<ImageTasks>
<Task>imageSaveRebuild</Task>
<Task>imageFormatWim</Task>
<Task>imageOptionsDontBackupPresetLog</Task>
</ImageTasks>
<AutoIsoFile>NTLite.iso</AutoIsoFile>
<AutoIsoLabel>NTLite</AutoIsoLabel>
<AutoSplitSize>4000</AutoSplitSize>
<CleanHotfixedLeftovers>1</CleanHotfixedLeftovers>
<ReuseDriverCache>true</ReuseDriverCache>
</ApplyOptions>
<Registry></Registry>
</Preset>
 
Confirmed, it's the DISM cleanup, skip it and it's smaller.
Probably expands a few WinSxS folders while scanning or leaves logs, either way, image is smaller without it.
Of course if updating boot.wim with cumulative updates, the opposite should be true.

Thanks for the heads up, interesting.
 
Try it, it's not that complicated, nor important, nor a bug, nor necessary to clean updates where there are none.
 
Back
Top