Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to Cleanup-Image #287

Open
APT-ZERO opened this issue Nov 25, 2024 · 2 comments
Open

Fails to Cleanup-Image #287

APT-ZERO opened this issue Nov 25, 2024 · 2 comments

Comments

@APT-ZERO
Copy link

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

@wealstarr
Copy link

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.

@APT-ZERO
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants