WslRegisterDistribution failed with error: 0x80070057
Windows Version
Microsoft Windows [Version 10.0.25905.1000]
WSL Version
1.2.5.0
Are you using WSL 1 or WSL 2?
- [X] WSL 2
- [ ] WSL 1
Kernel Version
No response
Distro Version
No response
Other Software
No response
Repro Steps
- Install windows 11 canary build 25905 with iso, removing all programs but keeping files
- Install wsl with
wsl --install
Expected Behavior
WSL installs.
Actual Behavior
Wsl itself and Ubuntu installs. Then ubuntu starts and produce:
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070057
Error: 0x80070057 ?????
Diagnostic Logs
No response
logs: https://aka.ms/AAljmrd
Just hit this same one this morning
After last nights update I encountered an error attempting to launch wsl in any way:
The parameter is incorrect. Error code: Wsl/Service/CreateInstance/CreateVm/E_INVALIDARG
Attempted solutions:
uninstall/reinstall wsl: result: encountered new error WslRegisterDistribution failed with error: 0x80070057 Error: 0x80070057 The parameter is incorrect.
disable/re-enable windows virtualization: result: no impact, error persists
added guiapplications=false to .wslconfig
result: no impact, error persists
logs: https://aka.ms/AAljpom
I also got "Wsl/Service/CreateInstance/CreateVm/E_INVALIDARG" when I try to import my old wsl distribution instead of install.
Same problem here.... WSL2 is unusable now :-(
Judging by the current issues, WSL is completely inoperable in this version of Windows. In the absence of a way to restore the Windows version, I tried to export the image of the WSL distribution and was unsuccessful. If the problem of WSL operation is difficult to solve, it is hoped that the part of the exported image can be fixed as soon as possible. In this way, some users can restore the working environment by reinstalling the system.
@ChuixiongWu This would help... But I already completely removed my distribution and tried a clean new install without success. This needs to be addressed soon. Until that I need to develop on my MacOS machine.
I go back to dev by clean install and installed wsl again by command, and everything works. 😂
@finall1008 I really hope the next update will fix it again :-(
same os version ... same issue ... same waitting ...
"Appreciate your patience - we've investigated your reports, and believe this should be fixed in the next flight. If WSL is something you use regularly, you may wish to roll back to the previous build until this is fixed"——Official response from Feedback Hub return to wsl1 is a workaround if you use nothing depending on wsl2...... PS: This is a Hyper-V error so anything based on Hyper-V like WSA, Windows Sandbox etc. will also be affected, but there are also reports said that only WSA will be affected
The same problem.I can't start any app based wsl,like docker ,linux . win 11 ,Windows Feature Experience Pack 1000.25905.1000.0.
Same problem: The parameter is incorrect. Error code: Wsl/Service/CreateInstance/CreateVm/E_INVALIDARG Encountered after build 25905 pre-release 230707-1739 installed
Guys, I just found a way to restore a WSL distribution that can't be opened without losing data when it is impossible to roll back the win11 version.
1.
First you need to find the location of your distribution, the default location is:
C:\Users\way_w\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc\LocalState
Note that here my way_w is my username, CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc is my Linux distribution, you need to use your own username and distribution instead.
If you change the location of your Linux distribution, you need to find that location.
2. Back up the ext4 file inside the folder.
3. On a computer where WSL is available (you can ask a friend to borrow one or reinstall your current computer to a previous version), install WSL and the distribution you used before. Make sure it is functioning properly.
4. Replace the current file with the previously backed up ext4 file. Open it again and you will find that everything that was lost is inside.
It's a simple and straightforward approach, and I didn't expect it to actually work. Previously, because WSL existed as a Windows application, once the system was reinstalled, all data would be lost. Now this method can keep your data.
Experiencing the same issue solution please?
@Sen-Gupta Wait for a fix update like all of us ?
Just wanted to leave a comment. Got here via web search. I'm on insider Canary and this has happened to me like 3 times so far. The update to 25905.1000 rs_prerelease breaks my wsl2 i.e. "The parameter is incorrect."
In each case to resume my wsl2 function, I "Go back" -- enter my complaint -- and then check to not get updates for a week LOL. Someday I hope it will be fixed.
10.0.25393 Build 25393 works for what it's worth.
Any update yet? I mean this is such a VITAL CENTRAL part of the OS we need this !!! Hope to see an update really soon that fixes this back to good.
@cfaherty you are in a good mood lol, I eagerly wait for the update fix every day. @DarkVamp Not yet.
I'd like to chime in that this is affecting me too. Time to roll back I guess?
I'd like to chime in that this is affecting me too. Time to roll back I guess?
The fact is that I deleted the old.windows immediately after the upgrade and upgraded the license from the home version to the professional version. I'm not sure if it's safe to roll back.
anyway, the issue not effects me a lot.