I wanted to cleanup the partition table on my drive, so I grabbed another drive and made a Windows To Go workspace. In that WTG system, I backed up my exising Windows 10 with DISM. Then I cleaned the disk and re-partitioned before I attempt to apply the WIM image back.
Now however I attempt to apply or mount the image, both DISM and ImageX get stuck and quit at file
\Users\iBug\AppData\Local\lxss\rootfs\lib\xtables\libip6t_HL.so. Both are reporting "Error 5: Access denied." I know it's a file from Windows Subsystem for Linux.
I set up 7-Zip and opened the WIM file and it seems OK. I navigated to that folder and was surprised to see 2 files with the same name there, only differing by cases. That is, I have
libip6t_hl.so in the same place. I think that's the problem because NTFS doesn't have its case sensitivity support enabled by default (it does have support, though).
So how can I apply the WIM correctly? I am eager to destroy those files (or even the whole WSL setup if required).