tiny11builder icon indicating copy to clipboard operation
tiny11builder copied to clipboard

Fails to Cleanup-Image

Open APT-ZERO opened this issue 1 year ago • 2 comments

This line fails

'dism' '/English' "/image:$mainOSDrive\scratchdir" '/Cleanup-Image' '/StartComponentCleanup' '/ResetBase' >null

if you remove >null you will see the error

Error: 0x800f0806

The operation could not be completed due to pending operations.

Tested on Windows 11 23H2 Image

APT-ZERO avatar Nov 25 '24 12:11 APT-ZERO

This can only be done in audit mode or after first installation as restart.xml flag is present and component store can't be cleaned without restarting.

wealstarr avatar Jan 12 '25 13:01 wealstarr

Maybe it helps to enable ResetBase from Registry and unload and reloading the WIM But it will take a lot of Time, so i didn't tested it

APT-ZERO avatar Jan 12 '25 13:01 APT-ZERO