JFYI
I have being running some tests trying to make our Mini 10 2004 VHDs use the less possible space but without editing Win_Debloat-41 and Win_Reduce_Trusted-61 for this task. I remembered Win 10 2004 Wof.sys driver is more permisible than previous versions, then I decided to use its internal current WimbootCompres.ini and add just very minimal modifications to it (just the minimal needed to fit our requirements).
WimBootCompress.ini for Mini-10-2004.vhd(s)
Also attached for your convenience as: WimBootCompress-for-10-2004.7z Password = alacran
The results using this version of WimbootCompress.ini are good on Compact LZX installed VHDs, about 160+ MB less used space just after installed, but on Wimboot mode installed VHDs, the result is impresive, as we end up with 84.4 MB used space just after installed. And you can see the results and comparative in the attached photos, where left image is just installed, and right image is after first filedisk boot.
Please test this approach as on it all drivers remain compressed or are only pointers, so far it has worked fine to me, but more tests on different hardward are required.
Info from WOF_Compress:
; LZX ; G:\Windows\System32\drivers\svbusx64.sys
; WIM-Backed ; G:\Windows\System32\drivers\svbusx64.sys
NOTE: We need to remember the just installed used space, is permanent every boot and it's the amount of info that will be loaded to Ram, as long as we only Ramboot the VHDs, once the VHDs are booted the OS creates a lot of new archives and also overwrites a bunch of files, so our LZX compacted files on VHDs Compact LZX installed, or 0 bytes pointer files in case of Wimboot installations will be replaced with full size uncompressed files, increasing the used size into the VHD, this is volatile if Rambooting, but permanent if filedisk booting.
If using lz4_compressor we can reduce the size our LZX Compacted Ramboot VHDs, this gives us following benefits:
- Less space required to store the unchanged VHDs for Ramboot.
- Faster to load on Ram.
- It can be decompressed anytime to have a new fresh uncompressed VHD to replace our old uncompressed VHD.
In case of Wimboot VHDs lz4 compressed, only the 2 first apply as we require to also keep the coupled WIM file.
Mini-10x64-LZX.vhd = 2 GB Mini-10x64-LZX.vhd.lz4 = 1.43 GB
Mini-10x64-WB.vhd = 800 MB Mini-10x64-WB.vhd.lz4 = 138 MB 10x64-2004.wim = 1.16 GB
alacran