cschneegans/unattend-generator

Include the latest cumulative update in install iso and debloat

Closed this issue · 2 comments

You wrote: Bloatware removal works best with the original Windows 10 and 11 .iso images downloaded from Microsoft.
I did not perform any tests with custom images.

It is okay to include the latest cumulative update with "Add-WindowsPackage" in install.wim?
And use your debloat settings.

If you only apply Windows Update packages to your install.wim, you will probably be fine. Other modifications (like removal of provisioned packages) are more risky.

An alternative might be to apply the .msu updates via Add-WindowsPackage -Online during the autounattend.xml process. Managing reboots might be tricky, though.

Edit: I tried this with the 2024-08 Cumulative Update for Windows 11 Version 24H2 for x64-based Systems and ran

Add-WindowsPackage -Online -PackagePath "windows11.0-kb5041571-x64_adcfbf9f2bf5f01a98b91dbd8ebbe65402f896c8.msu"

during the Setup process. The installation was seemingly successful, but Windows Update offered the very same update again later. Personally, I will just let Windows Update do its work.