Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stopped working after latest windows 11 preview (build 22523.1000) #188

Open
jelical opened this issue Dec 17, 2021 · 12 comments
Open

Stopped working after latest windows 11 preview (build 22523.1000) #188

jelical opened this issue Dec 17, 2021 · 12 comments

Comments

@jelical
Copy link

jelical commented Dec 17, 2021

Example output:

D:\>LxRunOffline.exe rg -n main -d d:\main
[ERROR] Couldn't get the value "DistributionName" of the registry key "Software\Microsoft\Windows\CurrentVersion\Lxss\TryStoreWSL".
Reason: The system cannot find the file specified.
@ElonGaties
Copy link

Are you sure that the installation is named 'main'

@Evenfire
Copy link

Evenfire commented Jan 10, 2022

Hi,

I just installed LxRunOffline (3.5.0, using chocolatey) on a machine running build 22523.1000 and I get the same error when running the following command:

PS C:\WINDOWS\system32> LxRunOffline.exe list
[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.

The command LxRunOffline.exe export raises the same error.
But I'm able to use the command LxRunOffline.exe get-default.

EDIT:

Here is the registry's content

PS C:\WINDOWS\system32> (Get-ChildItem "HKCU:\Software\Microsoft\Windows\CurrentVersion\Lxss" -Recurse)


    Hive: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss


Name                           Property
----                           --------
AppxInstallerCache
{acddf79a-be23-48ba-b91a-af33f State             : 1
a45b798}                       DistributionName  : Ubuntu-18.04
                               Version           : 2
                               BasePath          : C:\Users\boby\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc\LocalState
                               Flags             : 15
                               DefaultUid        : 1000
                               PackageFamilyName : CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc
{c2000117-ca36-4a29-a7e8-b4d21 State            : 1
4d90c85}                       DistributionName : docker-desktop-data
                               Version          : 2
                               BasePath         : \\?\C:\Users\boby\AppData\Local\Docker\wsl\data
                               Flags            : 15
                               DefaultUid       : 0
{c574ed4b-590e-42e6-a9f5-044a7 State            : 1
1f1caf2}                       DistributionName : docker-desktop
                               Version          : 2
                               BasePath         : \\?\C:\Users\boby\AppData\Local\Docker\wsl\distro
                               Flags            : 15
                               DefaultUid       : 0

@jelical
Copy link
Author

jelical commented Jan 15, 2022

Are you sure that the installation is named 'main'

Yes, it called main

@edgimar
Copy link

edgimar commented Jan 26, 2022

This issue is probably the same one -- it is fixed, but the fix is not in the latest release. We just need an updated release (newer than 3.5.0) -- or use a development release from here.

@martin-rueegg
Copy link

This issue is probably the same one -- it is fixed, but the fix is not in the latest release. We just need an updated release (newer than 3.5.0) -- or use a development release from here.

Slightly off-topic, but your link does (currently not work). Also on the main files page are no development releases available. Anything you can do about it? Thanks!

@edgimar
Copy link

edgimar commented Mar 14, 2023

@martin-rueegg, you're right - the link appears to have become broken over the last year or so. There's an archived version here, but it might be older than the version I had referenced.

@martin-rueegg
Copy link

@martin-rueegg, you're right - the link appears to have become broken over the last year or so. There's an archived version here, but it might be older than the version I had referenced.

Thanks, @edgimar

Unfortunately, it is only showing the list of files that were available at the time of the snapshot. However, the files themselves have not been captured, of course. So the latest shown release cannot be downloaded, nor

Should I create a new issue regarding the downloads of the development binaries?

@edgimar
Copy link

edgimar commented Mar 17, 2023

@martin-rueegg, sure - feel free to create a separate issue.

@MikhailLipanin
Copy link

@martin-rueegg, Have you find a solution for this problem?

@martin-rueegg
Copy link

@MikhailLipanin see here: #204 (comment). However, the files mentioned there still have the same issue.

@TBOZ31
Copy link

TBOZ31 commented May 5, 2023

I overcame this issue by simply deleting the registry key "TryStoreWSL" in the registry under HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss

@TullyMonster
Copy link

I overcame this issue by simply deleting the registry key "TryStoreWSL" in the registry under HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss

Thank you. That seems to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants