I'm executing the command
DISM /Image:E:\WIM\Mount /Cleanup-Image /StartComponentCleanup /ResetBaseon an offline mounted WIM Image.
I'm facing this error:
Error: 0x800f0806
The operation could not be completed due to pending operations.I've tried
- sfc /scannow
- deleted C:\Windows\WinSxS\pending.xml
- Started another DISM.exe session
- Cleared Registry keys
- Mounted to different location (Mount & Re-Mount)
ADK version: 10.1.19041.1
How to resolve this issue?
1 Answer
Adding the ReseBase command on Mounted WIM image would cause error if online operations are pending.
Add this command before adding online packages/updates to the Mounted WIM image.