While creating a slipstreamed Windows ISO, I wanted to ‘un-do’ and start over with a better plan. I attempted to delete the workspace but the workspace had a directory called
offline
, created by dism, with several GB worth of files owned bySystem
and therefore could not deleted, giving anaccess is denied
error. Some files involved wereoffline\Windows\mib.bin
and several .DLLs etc.
Answer
Run (as administrator) DISM /cleanup-wim
Expect this to delete the contents of the offline directory, even if the image is corrupt, incomplete or unmounted.
Attribution
Source : Link , Question Author : Jim Fred , Answer Author : Jim Fred