just posting to not forget it, also i think it can be interesting for some other users till its integrated into winreducer. btw this is already a part of winreducer, it is just added into the autounattend.xml but this way it seems better since it is done once on the iso and not everytime you install the OS
EDIT: and yes integrating new updates into that iso works. i can also use windows update after that and also use this again to shrink my iso.
my iso is 4.27gb (updated last in june) and after updating it today it got to 4.89gb, than i used this and now it is 4.33gb and it took 36 minutes
also the folder \Windows\WinSxS\Temp plus all subfolder (empty) are needed for dism AnalyzeComponentStore.
this was done on my RS5 iso, i will test it also on my RS6 iso
hi winter,
i got a question about dism and
Code:Code:
/StartComponentCleanup /ResetBase
since it is added to the unattanded.xml and executed during installation, why isnt it used on the wim with winreucer?
i tried it with an untouched iso only updates integrated. my iso is 6.53GB big. after mounting and using
Code:Code:
Dism /Image:C:\test\offline /Cleanup-Image /StartComponentCleanup /ResetBase
the final iso is 4,27GB, it installes fine and i can use windows update to install all new updates. cant try to integrate updates since its already updated, but i will try it out next week
or is the component "Windows Updates Files Cleanup" doing the same? if not it would be nice to use this maybe as first component executed by winreducer
i wish you a nice weekend
hi,
i first tired
Code:Code:
StartComponentCleanup
and that took loooooong, i dont really know how long but it was probably more than 30 minutes. after that i used resetbase which took like 1 minute
there is also this option:
Code:Code:
Dism.exe /online /Cleanup-Image /SPSuperseded
Code:Code:
To reduce the amount of space used by a Service Pack, use the /SPSuperseded
parameter of Dism.exe on a running version of Windows 10 to remove any
backup components needed for uninstallation of the service pack. A
service pack is a collection of cumulative updates for a particular
release of Windows.
but that didnt do anything for me after the other 2
but i think that using the StartupComponentCleanup is a nice idea since i always use an "base" iso which i update and which gets bigger and bigger and if that reduces the iso size (for now more than 2 gb) that is nice.
! if integrating future updates still work ! which i think hopefully should.
btw im still at RS5, and did all those test with it.
if you want i can do a test in the next days to get the exact time i needed to use StartComponentCleanup
EDIT: and yes integrating new updates into that iso works. i can also use windows update after that and also use this again to shrink my iso.
my iso is 4.27gb (updated last in june) and after updating it today it got to 4.89gb, than i used this and now it is 4.33gb and it took 36 minutes
also the folder \Windows\WinSxS\Temp plus all subfolder (empty) are needed for dism AnalyzeComponentStore.
this was done on my RS5 iso, i will test it also on my RS6 iso