[ERROR] Couldn't set the case sensitive attribute of the directory "\\?\C:\Users\Rodrigo\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc\LocalState\". Reason: Indicates that the directory trying to be deleted is not empty.
rocosttaa opened this issue · comments
how to solve?
Duplicates: #150, #159, #168, #182, #191, #199, #200, #205
As per the author, use the latest dev build. Someone has archived it:
https://github.com/Andy1208-lee/LxRunOffline/raw/main/LxRunOffline-v3.5.0-11-gfdab71a-msvc.zip
Seems it's not working again. I'm using LxRunOffline from zip file @laggingreflex provided
Windows 11 Pro Ver 22H2
I encountered the same issue and found a solution that worked for me on Windows 11 Home, version 23H2. You can find more details here. Follow these steps:
- Temporarily move the
ext4.vhdx
file to another folder.
This file is in"C:\Users\{User}\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc\LocalState\"
folder. - Execute the following command:
This command enables case sensitivity. Upon successful execution, you should see a message confirming that case sensitivity has been enabled.
fsutil file setCaseSensitiveInfo C:\Users\{User}\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc\LocalState\ enable
- Move the
ext4.vhdx
file back to its original location. - Finally, execute the command:
lxrunoffline move -n Ubuntu -d D:\WSL\Ubuntu
again.
Make sure to replace “Ubuntu” with the name of your distribution and "D:\WSL\Ubuntu" with the destination folder.
I hope this helps! 😄