-
Notifications
You must be signed in to change notification settings - Fork 816
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
WslRegisterDistribution failed with error: 0x80072746 [Updated with a Log] #11818
Comments
The log file doesn't contain any WSL traces. Please make sure that you reproduced the issue while the log collection was running. View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
Diagnostic information
|
No sir-re-Bob, those listed 80% closeness rated hyperlinks serve no help to me. I tried some ideas in those links. Notta. Seth |
Just a few days ago, after WSL automatically updated to version 2.3.11, I encountered the same issue as you. Rolling back to version 2.2.4 didn't resolve it either, and I couldn't use any WSL distributions. However, I discovered that this issue affects WSL 2 specifically. I was able to install Linux distributions with WSL 1. |
@WenjieXu2000 , Hello...thank you for your support. Is this just a common error that cannot be solved or are people, behind the scenes, working to address this issue as a viable error? Seth P.S. I want to keep WSL2 for all it offers but if WSL1 is the only cure for the error at hand, I can revert. |
@WenjieXu2000 , it worked. Thank you. I will test this for now. Seth |
Does WSL2 work at all these days? |
I mean...I can get kernel 4.4.x to work via Debian on WSL1 but I miss my advancements in programming and newer language skills on VS Code and WSL2. If you guys get it to work, please let me know. Seth |
@silver2row, I've tried various reset methods, including removing WSL, Hyper-V, and Virtual Machine Platform, as well as disabling and re-enabling virtualization, but nothing has worked. What's puzzling is that both of my computers have the latest version of WSL, yet only one of them is experiencing this problem and I can't seem to fix it! |
Hey @WenjieXu2000 , I think someone or "Me" erased an environment variable that may have something to do with the correct adaptation of WSL2 on my current working desktop. Seth P.S. In environment variables, maybe check the one that is workin' and port the correct variable to the computer that is not working.
I noticed that my current working desktop is going through issues on screen. The taskbar, hopefully totally unrelated, is starting to miss icons... Anyway, I will get a working computer one day and look up the environment variables needed to have WSL2 instances run on it. |
So, something like:
That will list your environment variables on your current desktop. I have WSLENV listed but it is not in working condition right now. Seth |
https://devblogs.microsoft.com/commandline/share-environment-vars-between-wsl-and-windows/ That may help. Seth P.S. It is not a command of sorts but an understanding of how WSLENV works with WSL(N) and Windows(N). I cannot find more right now. |
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
|
Diagnostic information
|
What now? |
@silver2row Now, I've upgraded back to version 2.3.12, and the previous issue has reappeared. You might want to try rolling back to the wsl.2.2.4.0.x64.msi version of WSL to see if it resolves the issue. |
wsl.2.2.4.0.x64 and right. That worked. Seth P.S. Thank you. |
I installed the latest kernel and had a crash. Oops. |
Sorry...too embarrassed. |
Thank you so much! I tried many methods without any progress until I found your reply. |
Windows Version
Windows version: 10.0.22635.3930
WSL Version
WSL version: 2.3.11.0
Are you using WSL 1 or WSL 2?
Kernel Version
Kernel version: 6.6.36.3-1
Distro Version
Debian
Other Software
No response
Repro Steps
wsl --install Debian
Expected Behavior
I was expecting on Debian to be installed in my WSL2 instance.
Actual Behavior
After I press any key, the Distro WSL2 instance of Debian disappears.
Diagnostic Logs
The text was updated successfully, but these errors were encountered: