Issue with WSL2 Ubuntu 22 trying to use LxRunOffline

PauloRTPortoJr-5806 0 Reputation points
2023-12-10T18:46:53.1733333+00:00

Hi everyone o/

I'm using WSL2 Ubuntu 22 to learn and praticing web development and I did notice its getting a big amount of my SDD free space C: and I found a tutorial teaching how to transfer Ubuntu distro and its files to another HD with more space using the program LxRunOffline

After installed it I tried the first command "lxrunoffline list" and got this terminal error:

[ERROR] Couldn't get the value "DistributionName" of the registry key "Software\Microsoft\Windows\CurrentVersion\Lxss\AppxInstallerCache".

Reason: The system cannot find the file specified.

Searching on google plus friend help, I found a solution on github, someone getting the same error:
Couldn't get the value "DistributionName" on Windows 11 · Issue #171 · DDoSolitary/LxRunOffline (github.com)

So I tried this solution deleting the reg entry (I did create a restore point before do it), but even executing RegEdit as Admin the Windows didnt allow me to delete it.

Desktop Screenshot 2023.12.07 - 14.53.34.29

Desktop Screenshot 2023.12.07 - 15.07.06.47

Someone could help me with that? Thx :D

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
11,155 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.