DDoSolitary / LxRunOffline

A full-featured utility for managing Windows Subsystem for Linux (WSL)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[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?

Seems it's not working again. I'm using LxRunOffline from zip file @laggingreflex provided

image

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:

  1. 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.
  2. Execute the following command:
    fsutil file setCaseSensitiveInfo C:\Users\{User}\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc\LocalState\ enable
    This command enables case sensitivity. Upon successful execution, you should see a message confirming that case sensitivity has been enabled.
  3. Move the ext4.vhdx file back to its original location.
  4. 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! 😄